MeshLib Java Docs
Loading...
Searching...
No Matches
meshlib.weightedshell.ParametersRegions Class Reference
Inheritance diagram for meshlib.weightedshell.ParametersRegions:

Public Member Functions

 ParametersRegions (java.lang.foreign.MemorySegment ptr, boolean owned, java.lang.Object owner)
 ParametersRegions ()
 ParametersRegions (meshlib.weightedshell.ParametersRegions _other)
meshlib.weightedshell.ParametersRegions assignFromAnother (meshlib.weightedshell.ParametersRegions _other)
meshlib.std_vector_MR_WeightedShell_ParametersRegions_Region regions ()
void setRegions (meshlib.std_vector_MR_WeightedShell_ParametersRegions_Region value)
float interpolationDist ()
void setInterpolationDist (float value)
boolean bidirectionalMode ()
void setBidirectionalMode (boolean value)
float offset ()
void setOffset (float value)
float voxelSize ()
void setVoxelSize (float value)
float numLayers ()
void setNumLayers (float value)
meshlib.std_function_bool_from_float progress ()
void setProgress (meshlib.std_function_bool_from_float value)
meshlib.weightedshell.ParametersBase upcastToParametersBase ()
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 ()

Static Public Member Functions

static meshlib.weightedshell.ParametersRegions staticDowncastFromParametersBase (meshlib.weightedshell.ParametersBase object)

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::WeightedShell::ParametersRegions. Base classes: Direct: (non-virtual) MR::WeightedShell::ParametersBase

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

Constructor & Destructor Documentation

◆ ParametersRegions() [1/3]

meshlib.weightedshell.ParametersRegions.ParametersRegions ( 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.

◆ ParametersRegions() [2/3]

meshlib.weightedshell.ParametersRegions.ParametersRegions ( )

Constructs an empty (default-constructed) instance.

Calls MR_WeightedShell_ParametersRegions_DefaultConstruct().

◆ ParametersRegions() [3/3]

meshlib.weightedshell.ParametersRegions.ParametersRegions ( meshlib.weightedshell.ParametersRegions _other)

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

Calls MR_WeightedShell_ParametersRegions_ConstructFromAnother().

Member Function Documentation

◆ assignFromAnother()

meshlib.weightedshell.ParametersRegions meshlib.weightedshell.ParametersRegions.assignFromAnother ( meshlib.weightedshell.ParametersRegions _other)

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

Calls MR_WeightedShell_ParametersRegions_AssignFromAnother().

◆ bidirectionalMode()

boolean meshlib.weightedshell.ParametersRegions.bidirectionalMode ( )

if true the distances grow in both directions from each triangle, reaching minimum in the triangle; if false the distances grow to infinity in the direction of triangle's normals, and decrease to minus infinity in the opposite direction Returns a pointer to a member variable of class MR::WeightedShell::ParametersRegions named bidirectionalMode. The reference to this object might be preserved as the return value.

Calls MR_WeightedShell_ParametersRegions_Get_bidirectionalMode().

◆ interpolationDist()

float meshlib.weightedshell.ParametersRegions.interpolationDist ( )

interpolation distance between the weights of the regions determines the sharpness of transitions between different regions Returns a pointer to a member variable of class MR::WeightedShell::ParametersRegions named interpolationDist. The reference to this object might be preserved as the return value.

Calls MR_WeightedShell_ParametersRegions_Get_interpolationDist().

◆ numLayers()

float meshlib.weightedshell.ParametersRegions.numLayers ( )

number of voxels to compute near the offset (should be left default unless used for debugging) Returns a pointer to a member variable of class MR::WeightedShell::ParametersRegions named numLayers. The reference to this object might be preserved as the return value.

Calls MR_WeightedShell_ParametersRegions_Get_numLayers().

◆ offset()

float meshlib.weightedshell.ParametersRegions.offset ( )

build iso-surface of minimal distance to points corresponding to this value Returns a pointer to a member variable of class MR::WeightedShell::ParametersRegions named offset. The reference to this object might be preserved as the return value.

Calls MR_WeightedShell_ParametersRegions_Get_offset().

◆ progress()

meshlib.std_function_bool_from_float meshlib.weightedshell.ParametersRegions.progress ( )

Progress callback Returns a pointer to a member variable of class MR::WeightedShell::ParametersRegions named progress. The reference to this object might be preserved as the return value.

Calls MR_WeightedShell_ParametersRegions_Get_progress().

◆ regions()

meshlib.std_vector_MR_WeightedShell_ParametersRegions_Region meshlib.weightedshell.ParametersRegions.regions ( )

list of regions (overlappings are allowed) with corresponding offsets the additional offset in overlaps is set to the average of the regions Returns a pointer to a member variable of class MR::WeightedShell::ParametersRegions named regions. The reference to this object might be preserved as the return value.

Calls MR_WeightedShell_ParametersRegions_Get_regions().

◆ setBidirectionalMode()

void meshlib.weightedshell.ParametersRegions.setBidirectionalMode ( boolean value)

if true the distances grow in both directions from each triangle, reaching minimum in the triangle; if false the distances grow to infinity in the direction of triangle's normals, and decrease to minus infinity in the opposite direction Modifies a member variable of class MR::WeightedShell::ParametersRegions named bidirectionalMode.

Calls MR_WeightedShell_ParametersRegions_Set_bidirectionalMode().

◆ setInterpolationDist()

void meshlib.weightedshell.ParametersRegions.setInterpolationDist ( float value)

interpolation distance between the weights of the regions determines the sharpness of transitions between different regions Modifies a member variable of class MR::WeightedShell::ParametersRegions named interpolationDist.

Calls MR_WeightedShell_ParametersRegions_Set_interpolationDist().

◆ setNumLayers()

void meshlib.weightedshell.ParametersRegions.setNumLayers ( float value)

number of voxels to compute near the offset (should be left default unless used for debugging) Modifies a member variable of class MR::WeightedShell::ParametersRegions named numLayers.

Calls MR_WeightedShell_ParametersRegions_Set_numLayers().

◆ setOffset()

void meshlib.weightedshell.ParametersRegions.setOffset ( float value)

build iso-surface of minimal distance to points corresponding to this value Modifies a member variable of class MR::WeightedShell::ParametersRegions named offset.

Calls MR_WeightedShell_ParametersRegions_Set_offset().

◆ setProgress()

void meshlib.weightedshell.ParametersRegions.setProgress ( meshlib.std_function_bool_from_float value)

Progress callback Modifies a member variable of class MR::WeightedShell::ParametersRegions named progress. The reference to the parameter value might be preserved in this object in element progress.

Calls MR_WeightedShell_ParametersRegions_Set_progress().

◆ setRegions()

void meshlib.weightedshell.ParametersRegions.setRegions ( meshlib.std_vector_MR_WeightedShell_ParametersRegions_Region value)

list of regions (overlappings are allowed) with corresponding offsets the additional offset in overlaps is set to the average of the regions Modifies a member variable of class MR::WeightedShell::ParametersRegions named regions. The reference to the parameter value might be preserved in this object in element regions.

Calls MR_WeightedShell_ParametersRegions_Set_regions().

◆ setVoxelSize()

void meshlib.weightedshell.ParametersRegions.setVoxelSize ( float value)

Size of voxel in grid conversions; The user is responsible for setting some positive value here Modifies a member variable of class MR::WeightedShell::ParametersRegions named voxelSize.

Calls MR_WeightedShell_ParametersRegions_Set_voxelSize().

◆ staticDowncastFromParametersBase()

meshlib.weightedshell.ParametersRegions meshlib.weightedshell.ParametersRegions.staticDowncastFromParametersBase ( meshlib.weightedshell.ParametersBase object)
static

Static downcast from the base class MR::WeightedShell::ParametersBase. Undefined behavior if the object isn't actually a ParametersRegions. The result refers to object.

Calls MR_WeightedShell_ParametersRegions_MutableStaticDowncastFrom_MR_WeightedShell_ParametersBase().

◆ upcastToParametersBase()

meshlib.weightedshell.ParametersBase meshlib.weightedshell.ParametersRegions.upcastToParametersBase ( )

Upcasts to the base class MR::WeightedShell::ParametersBase. The result refers to this object.

Calls MR_WeightedShell_ParametersRegions_MutableUpcastTo_MR_WeightedShell_ParametersBase().

◆ voxelSize()

float meshlib.weightedshell.ParametersRegions.voxelSize ( )

Size of voxel in grid conversions; The user is responsible for setting some positive value here Returns a pointer to a member variable of class MR::WeightedShell::ParametersRegions named voxelSize. The reference to this object might be preserved as the return value.

Calls MR_WeightedShell_ParametersRegions_Get_voxelSize().


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