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

Public Member Functions

 ParametersMetric (java.lang.foreign.MemorySegment ptr, boolean owned, java.lang.Object owner)
 ParametersMetric ()
 ParametersMetric (meshlib.weightedshell.ParametersMetric _other)
meshlib.weightedshell.ParametersMetric assignFromAnother (meshlib.weightedshell.ParametersMetric _other)
meshlib.DistanceFromWeightedPointsParams dist ()
void setDist (meshlib.DistanceFromWeightedPointsParams 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.ParametersMetric 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::ParametersMetric. Base classes: Direct: (non-virtual) MR::WeightedShell::ParametersBase

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

Constructor & Destructor Documentation

◆ ParametersMetric() [1/3]

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

◆ ParametersMetric() [2/3]

meshlib.weightedshell.ParametersMetric.ParametersMetric ( )

Constructs an empty (default-constructed) instance.

Calls MR_WeightedShell_ParametersMetric_DefaultConstruct().

◆ ParametersMetric() [3/3]

meshlib.weightedshell.ParametersMetric.ParametersMetric ( meshlib.weightedshell.ParametersMetric _other)

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

Calls MR_WeightedShell_ParametersMetric_ConstructFromAnother().

Member Function Documentation

◆ assignFromAnother()

meshlib.weightedshell.ParametersMetric meshlib.weightedshell.ParametersMetric.assignFromAnother ( meshlib.weightedshell.ParametersMetric _other)

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

Calls MR_WeightedShell_ParametersMetric_AssignFromAnother().

◆ dist()

meshlib.DistanceFromWeightedPointsParams meshlib.weightedshell.ParametersMetric.dist ( )

parameters of distance finding Returns a pointer to a member variable of class MR::WeightedShell::ParametersMetric named dist. The reference to this object might be preserved as the return value.

Calls MR_WeightedShell_ParametersMetric_Get_dist().

◆ numLayers()

float meshlib.weightedshell.ParametersMetric.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::ParametersMetric named numLayers. The reference to this object might be preserved as the return value.

Calls MR_WeightedShell_ParametersMetric_Get_numLayers().

◆ offset()

float meshlib.weightedshell.ParametersMetric.offset ( )

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

Calls MR_WeightedShell_ParametersMetric_Get_offset().

◆ progress()

meshlib.std_function_bool_from_float meshlib.weightedshell.ParametersMetric.progress ( )

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

Calls MR_WeightedShell_ParametersMetric_Get_progress().

◆ setDist()

void meshlib.weightedshell.ParametersMetric.setDist ( meshlib.DistanceFromWeightedPointsParams value)

parameters of distance finding Modifies a member variable of class MR::WeightedShell::ParametersMetric named dist. The reference to the parameter value might be preserved in this object in element dist.

Calls MR_WeightedShell_ParametersMetric_Set_dist().

◆ setNumLayers()

void meshlib.weightedshell.ParametersMetric.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::ParametersMetric named numLayers.

Calls MR_WeightedShell_ParametersMetric_Set_numLayers().

◆ setOffset()

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

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

Calls MR_WeightedShell_ParametersMetric_Set_offset().

◆ setProgress()

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

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

Calls MR_WeightedShell_ParametersMetric_Set_progress().

◆ setVoxelSize()

void meshlib.weightedshell.ParametersMetric.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::ParametersMetric named voxelSize.

Calls MR_WeightedShell_ParametersMetric_Set_voxelSize().

◆ staticDowncastFromParametersBase()

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

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

Calls MR_WeightedShell_ParametersMetric_MutableStaticDowncastFrom_MR_WeightedShell_ParametersBase().

◆ upcastToParametersBase()

meshlib.weightedshell.ParametersBase meshlib.weightedshell.ParametersMetric.upcastToParametersBase ( )

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

Calls MR_WeightedShell_ParametersMetric_MutableUpcastTo_MR_WeightedShell_ParametersBase().

◆ voxelSize()

float meshlib.weightedshell.ParametersMetric.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::ParametersMetric named voxelSize. The reference to this object might be preserved as the return value.

Calls MR_WeightedShell_ParametersMetric_Get_voxelSize().


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