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

Public Member Functions

 ParametersBase (java.lang.foreign.MemorySegment ptr, boolean owned, java.lang.Object owner)
 ParametersBase ()
 ParametersBase (float offset, float voxelSize, float numLayers, meshlib.std_function_bool_from_float progress)
 ParametersBase (meshlib.weightedshell.ParametersBase _other)
meshlib.weightedshell.ParametersBase assignFromAnother (meshlib.weightedshell.ParametersBase _other)
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)
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::WeightedShell::ParametersBase. Derived classes: Direct: (non-virtual) MR::WeightedShell::ParametersMetric MR::WeightedShell::ParametersRegions

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

Constructor & Destructor Documentation

◆ ParametersBase() [1/4]

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

◆ ParametersBase() [2/4]

meshlib.weightedshell.ParametersBase.ParametersBase ( )

Constructs an empty (default-constructed) instance.

Calls MR_WeightedShell_ParametersBase_DefaultConstruct().

◆ ParametersBase() [3/4]

meshlib.weightedshell.ParametersBase.ParametersBase ( float offset,
float voxelSize,
float numLayers,
meshlib.std_function_bool_from_float progress )

Constructs MR::WeightedShell::ParametersBase elementwise. The reference to the parameter progress might be preserved in the constructed object.

Calls MR_WeightedShell_ParametersBase_ConstructFrom().

◆ ParametersBase() [4/4]

meshlib.weightedshell.ParametersBase.ParametersBase ( meshlib.weightedshell.ParametersBase _other)

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

Calls MR_WeightedShell_ParametersBase_ConstructFromAnother().

Member Function Documentation

◆ assignFromAnother()

meshlib.weightedshell.ParametersBase meshlib.weightedshell.ParametersBase.assignFromAnother ( meshlib.weightedshell.ParametersBase _other)

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

Calls MR_WeightedShell_ParametersBase_AssignFromAnother().

◆ numLayers()

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

Calls MR_WeightedShell_ParametersBase_Get_numLayers().

◆ offset()

float meshlib.weightedshell.ParametersBase.offset ( )

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

Calls MR_WeightedShell_ParametersBase_Get_offset().

◆ progress()

meshlib.std_function_bool_from_float meshlib.weightedshell.ParametersBase.progress ( )

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

Calls MR_WeightedShell_ParametersBase_Get_progress().

◆ setNumLayers()

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

Calls MR_WeightedShell_ParametersBase_Set_numLayers().

◆ setOffset()

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

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

Calls MR_WeightedShell_ParametersBase_Set_offset().

◆ setProgress()

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

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

Calls MR_WeightedShell_ParametersBase_Set_progress().

◆ setVoxelSize()

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

Calls MR_WeightedShell_ParametersBase_Set_voxelSize().

◆ voxelSize()

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

Calls MR_WeightedShell_ParametersBase_Get_voxelSize().


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