MeshLib Java Docs
Loading...
Searching...
No Matches
meshlib.triangulationhelpers.Settings Class Reference
Inheritance diagram for meshlib.triangulationhelpers.Settings:

Public Member Functions

 Settings (java.lang.foreign.MemorySegment ptr, boolean owned, java.lang.Object owner)
 Settings ()
 Settings (float radius, int numNeis, float critAngle, float boundaryAngle, meshlib.VertCoords orientedNormals, meshlib.VertBitSet untrustedNormals, boolean automaticRadiusIncrease, int maxRemoves, meshlib.std_vector_MR_VertId allNeighbors, meshlib.float_output actualRadius, meshlib.PointCloud searchNeighbors)
 Settings (meshlib.triangulationhelpers.Settings _other)
meshlib.triangulationhelpers.Settings assignFromAnother (meshlib.triangulationhelpers.Settings _other)
float radius ()
void setRadius (float value)
int numNeis ()
void setNumNeis (int value)
float critAngle ()
void setCritAngle (float value)
float boundaryAngle ()
void setBoundaryAngle (float value)
java.lang.foreign.MemorySegment orientedNormals ()
void setOrientedNormals (meshlib.VertCoords value)
java.lang.foreign.MemorySegment untrustedNormals ()
void setUntrustedNormals (meshlib.VertBitSet value)
boolean automaticRadiusIncrease ()
void setAutomaticRadiusIncrease (boolean value)
int maxRemoves ()
void setMaxRemoves (int value)
java.lang.foreign.MemorySegment allNeighbors ()
void setAllNeighbors (meshlib.std_vector_MR_VertId value)
java.lang.foreign.MemorySegment actualRadius ()
void setActualRadius (meshlib.float_output value)
java.lang.foreign.MemorySegment searchNeighbors ()
void setSearchNeighbors (meshlib.PointCloud value)
Public Member Functions inherited from meshlib.CppObject
final java.lang.foreign.MemorySegment rawPointer ()
final boolean isOwned ()
final void close ()
final java.lang.foreign.MemorySegment release ()

Additional Inherited Members

Protected Member Functions inherited from meshlib.CppObject
 CppObject (java.lang.foreign.MemorySegment ptr, java.util.function.Consumer< java.lang.foreign.MemorySegment > destroy, java.lang.Object owner)

Detailed Description

Generated from class MR::TriangulationHelpers::Settings.

Instances created here own their C++ objects, see CppObject.

Constructor & Destructor Documentation

◆ Settings() [1/4]

meshlib.triangulationhelpers.Settings.Settings ( java.lang.foreign.MemorySegment ptr,
boolean owned,
java.lang.Object owner )

Wraps a pointer from the C bindings. If owned, the object is destroyed when the wrapper dies. owner is kept alive as long as this wrapper is. Not for normal use.

◆ Settings() [2/4]

meshlib.triangulationhelpers.Settings.Settings ( )

Constructs an empty (default-constructed) instance.

Calls MR_TriangulationHelpers_Settings_DefaultConstruct().

◆ Settings() [3/4]

meshlib.triangulationhelpers.Settings.Settings ( float radius,
int numNeis,
float critAngle,
float boundaryAngle,
meshlib.VertCoords orientedNormals,
meshlib.VertBitSet untrustedNormals,
boolean automaticRadiusIncrease,
int maxRemoves,
meshlib.std_vector_MR_VertId allNeighbors,
meshlib.float_output actualRadius,
meshlib.PointCloud searchNeighbors )

Constructs MR::TriangulationHelpers::Settings elementwise. The reference to the parameter orientedNormals might be preserved in the constructed object. The reference to the parameter untrustedNormals might be preserved in the constructed object. The reference to the parameter allNeighbors might be preserved in the constructed object. The reference to the parameter actualRadius might be preserved in the constructed object. The reference to the parameter searchNeighbors might be preserved in the constructed object.

Calls MR_TriangulationHelpers_Settings_ConstructFrom().

◆ Settings() [4/4]

meshlib.triangulationhelpers.Settings.Settings ( meshlib.triangulationhelpers.Settings _other)

Generated from constructor MR::TriangulationHelpers::Settings::Settings. The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object.

Calls MR_TriangulationHelpers_Settings_ConstructFromAnother().

Member Function Documentation

◆ actualRadius()

java.lang.foreign.MemorySegment meshlib.triangulationhelpers.Settings.actualRadius ( )

optional output: actual radius of neighbor search (after increase if any) Returns a pointer to a member variable of class MR::TriangulationHelpers::Settings named actualRadius. The reference to this object might be preserved as the return value.

Calls MR_TriangulationHelpers_Settings_Get_actualRadius(). Some types are raw C types, see the C bindings for the details.

◆ allNeighbors()

java.lang.foreign.MemorySegment meshlib.triangulationhelpers.Settings.allNeighbors ( )

optional output of considered neighbor points after filtering but before triangulation/optimization Returns a pointer to a member variable of class MR::TriangulationHelpers::Settings named allNeighbors. The reference to this object might be preserved as the return value.

Calls MR_TriangulationHelpers_Settings_Get_allNeighbors(). Some types are raw C types, see the C bindings for the details.

◆ assignFromAnother()

meshlib.triangulationhelpers.Settings meshlib.triangulationhelpers.Settings.assignFromAnother ( meshlib.triangulationhelpers.Settings _other)

Generated from method MR::TriangulationHelpers::Settings::operator=. The reference to things referred to by the parameter _other (if any) might be preserved in this object.

Calls MR_TriangulationHelpers_Settings_AssignFromAnother().

◆ automaticRadiusIncrease()

boolean meshlib.triangulationhelpers.Settings.automaticRadiusIncrease ( )

automatic increase of the radius if points outside can make triangles from original radius not-Delone Returns a pointer to a member variable of class MR::TriangulationHelpers::Settings named automaticRadiusIncrease. The reference to this object might be preserved as the return value.

Calls MR_TriangulationHelpers_Settings_Get_automaticRadiusIncrease().

◆ boundaryAngle()

float meshlib.triangulationhelpers.Settings.boundaryAngle ( )

the vertex is considered as boundary if its neighbor ring has angle more than this value Returns a pointer to a member variable of class MR::TriangulationHelpers::Settings named boundaryAngle. The reference to this object might be preserved as the return value.

Calls MR_TriangulationHelpers_Settings_Get_boundaryAngle().

◆ critAngle()

float meshlib.triangulationhelpers.Settings.critAngle ( )

max allowed angle for triangles in fan Returns a pointer to a member variable of class MR::TriangulationHelpers::Settings named critAngle. The reference to this object might be preserved as the return value.

Calls MR_TriangulationHelpers_Settings_Get_critAngle().

◆ maxRemoves()

int meshlib.triangulationhelpers.Settings.maxRemoves ( )

the maximum number of optimization steps (removals) in local triangulation Returns a pointer to a member variable of class MR::TriangulationHelpers::Settings named maxRemoves. The reference to this object might be preserved as the return value.

Calls MR_TriangulationHelpers_Settings_Get_maxRemoves().

◆ numNeis()

int meshlib.triangulationhelpers.Settings.numNeis ( )

initially selects given number of nearest neighbours; if numNeis is positive then radius must be zero Returns a pointer to a member variable of class MR::TriangulationHelpers::Settings named numNeis. The reference to this object might be preserved as the return value.

Calls MR_TriangulationHelpers_Settings_Get_numNeis().

◆ orientedNormals()

java.lang.foreign.MemorySegment meshlib.triangulationhelpers.Settings.orientedNormals ( )

if oriented normals are known, they will be used for neighbor points selection except for the ones indicated by untrustedNormals Returns a pointer to a member variable of class MR::TriangulationHelpers::Settings named orientedNormals. The reference to this object might be preserved as the return value.

Calls MR_TriangulationHelpers_Settings_Get_orientedNormals(). Some types are raw C types, see the C bindings for the details.

◆ radius()

float meshlib.triangulationhelpers.Settings.radius ( )

initial radius of search for neighbours, it can be increased automatically; if radius is positive then numNeis must be zero Returns a pointer to a member variable of class MR::TriangulationHelpers::Settings named radius. The reference to this object might be preserved as the return value.

Calls MR_TriangulationHelpers_Settings_Get_radius().

◆ searchNeighbors()

java.lang.foreign.MemorySegment meshlib.triangulationhelpers.Settings.searchNeighbors ( )

optional: if provided this cloud will be used for searching of neighbors (so it must have same validPoints) Returns a pointer to a member variable of class MR::TriangulationHelpers::Settings named searchNeighbors. The reference to this object might be preserved as the return value.

Calls MR_TriangulationHelpers_Settings_Get_searchNeighbors(). Some types are raw C types, see the C bindings for the details.

◆ setActualRadius()

void meshlib.triangulationhelpers.Settings.setActualRadius ( meshlib.float_output value)

optional output: actual radius of neighbor search (after increase if any) Modifies a member variable of class MR::TriangulationHelpers::Settings named actualRadius. The reference to the parameter value might be preserved in this object in element actualRadius.

Calls MR_TriangulationHelpers_Settings_Set_actualRadius().

◆ setAllNeighbors()

void meshlib.triangulationhelpers.Settings.setAllNeighbors ( meshlib.std_vector_MR_VertId value)

optional output of considered neighbor points after filtering but before triangulation/optimization Modifies a member variable of class MR::TriangulationHelpers::Settings named allNeighbors. The reference to the parameter value might be preserved in this object in element allNeighbors.

Calls MR_TriangulationHelpers_Settings_Set_allNeighbors().

◆ setAutomaticRadiusIncrease()

void meshlib.triangulationhelpers.Settings.setAutomaticRadiusIncrease ( boolean value)

automatic increase of the radius if points outside can make triangles from original radius not-Delone Modifies a member variable of class MR::TriangulationHelpers::Settings named automaticRadiusIncrease.

Calls MR_TriangulationHelpers_Settings_Set_automaticRadiusIncrease().

◆ setBoundaryAngle()

void meshlib.triangulationhelpers.Settings.setBoundaryAngle ( float value)

the vertex is considered as boundary if its neighbor ring has angle more than this value Modifies a member variable of class MR::TriangulationHelpers::Settings named boundaryAngle.

Calls MR_TriangulationHelpers_Settings_Set_boundaryAngle().

◆ setCritAngle()

void meshlib.triangulationhelpers.Settings.setCritAngle ( float value)

max allowed angle for triangles in fan Modifies a member variable of class MR::TriangulationHelpers::Settings named critAngle.

Calls MR_TriangulationHelpers_Settings_Set_critAngle().

◆ setMaxRemoves()

void meshlib.triangulationhelpers.Settings.setMaxRemoves ( int value)

the maximum number of optimization steps (removals) in local triangulation Modifies a member variable of class MR::TriangulationHelpers::Settings named maxRemoves.

Calls MR_TriangulationHelpers_Settings_Set_maxRemoves().

◆ setNumNeis()

void meshlib.triangulationhelpers.Settings.setNumNeis ( int value)

initially selects given number of nearest neighbours; if numNeis is positive then radius must be zero Modifies a member variable of class MR::TriangulationHelpers::Settings named numNeis.

Calls MR_TriangulationHelpers_Settings_Set_numNeis().

◆ setOrientedNormals()

void meshlib.triangulationhelpers.Settings.setOrientedNormals ( meshlib.VertCoords value)

if oriented normals are known, they will be used for neighbor points selection except for the ones indicated by untrustedNormals Modifies a member variable of class MR::TriangulationHelpers::Settings named orientedNormals. The reference to the parameter value might be preserved in this object in element orientedNormals.

Calls MR_TriangulationHelpers_Settings_Set_orientedNormals().

◆ setRadius()

void meshlib.triangulationhelpers.Settings.setRadius ( float value)

initial radius of search for neighbours, it can be increased automatically; if radius is positive then numNeis must be zero Modifies a member variable of class MR::TriangulationHelpers::Settings named radius.

Calls MR_TriangulationHelpers_Settings_Set_radius().

◆ setSearchNeighbors()

void meshlib.triangulationhelpers.Settings.setSearchNeighbors ( meshlib.PointCloud value)

optional: if provided this cloud will be used for searching of neighbors (so it must have same validPoints) Modifies a member variable of class MR::TriangulationHelpers::Settings named searchNeighbors. The reference to the parameter value might be preserved in this object in element searchNeighbors.

Calls MR_TriangulationHelpers_Settings_Set_searchNeighbors().

◆ setUntrustedNormals()

void meshlib.triangulationhelpers.Settings.setUntrustedNormals ( meshlib.VertBitSet value)

Modifies a member variable of class MR::TriangulationHelpers::Settings named untrustedNormals. The reference to the parameter value might be preserved in this object in element untrustedNormals.

Calls MR_TriangulationHelpers_Settings_Set_untrustedNormals().

◆ untrustedNormals()

java.lang.foreign.MemorySegment meshlib.triangulationhelpers.Settings.untrustedNormals ( )

Returns a pointer to a member variable of class MR::TriangulationHelpers::Settings named untrustedNormals. The reference to this object might be preserved as the return value.

Calls MR_TriangulationHelpers_Settings_Get_untrustedNormals(). Some types are raw C types, see the C bindings for the details.


The documentation for this class was generated from the following file: