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

Public Member Functions

 DistanceVolumeParams (java.lang.foreign.MemorySegment ptr, boolean owned, java.lang.Object owner)
 DistanceVolumeParams ()
 DistanceVolumeParams (meshlib.Vector3f origin, meshlib.std_function_bool_from_float cb, meshlib.Vector3f voxelSize, meshlib.Vector3i dimensions)
 DistanceVolumeParams (meshlib.DistanceVolumeParams _other)
meshlib.DistanceVolumeParams assignFromAnother (meshlib.DistanceVolumeParams _other)
meshlib.Vector3f origin ()
void setOrigin (meshlib.Vector3f value)
meshlib.std_function_bool_from_float cb ()
void setCb (meshlib.std_function_bool_from_float value)
meshlib.Vector3f voxelSize ()
void setVoxelSize (meshlib.Vector3f value)
meshlib.Vector3i dimensions ()
void setDimensions (meshlib.Vector3i 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::DistanceVolumeParams. Derived classes: Direct: (non-virtual) MR::PointsToDistanceVolumeParams

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

Constructor & Destructor Documentation

◆ DistanceVolumeParams() [1/4]

meshlib.DistanceVolumeParams.DistanceVolumeParams ( 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.

◆ DistanceVolumeParams() [2/4]

meshlib.DistanceVolumeParams.DistanceVolumeParams ( )

Constructs an empty (default-constructed) instance.

Calls MR_DistanceVolumeParams_DefaultConstruct().

◆ DistanceVolumeParams() [3/4]

meshlib.DistanceVolumeParams.DistanceVolumeParams ( meshlib.Vector3f origin,
meshlib.std_function_bool_from_float cb,
meshlib.Vector3f voxelSize,
meshlib.Vector3i dimensions )

Constructs MR::DistanceVolumeParams elementwise. The reference to the parameter origin might be preserved in the constructed object. The reference to the parameter cb might be preserved in the constructed object. The reference to the parameter voxelSize might be preserved in the constructed object. The reference to the parameter dimensions might be preserved in the constructed object.

Calls MR_DistanceVolumeParams_ConstructFrom().

◆ DistanceVolumeParams() [4/4]

meshlib.DistanceVolumeParams.DistanceVolumeParams ( meshlib.DistanceVolumeParams _other)

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

Calls MR_DistanceVolumeParams_ConstructFromAnother().

Member Function Documentation

◆ assignFromAnother()

meshlib.DistanceVolumeParams meshlib.DistanceVolumeParams.assignFromAnother ( meshlib.DistanceVolumeParams _other)

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

Calls MR_DistanceVolumeParams_AssignFromAnother().

◆ cb()

meshlib.std_function_bool_from_float meshlib.DistanceVolumeParams.cb ( )

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

Calls MR_DistanceVolumeParams_Get_cb().

◆ dimensions()

meshlib.Vector3i meshlib.DistanceVolumeParams.dimensions ( )

num voxels along each axis Returns a pointer to a member variable of class MR::DistanceVolumeParams named dimensions. The reference to this object might be preserved as the return value.

Calls MR_DistanceVolumeParams_Get_dimensions().

◆ origin()

meshlib.Vector3f meshlib.DistanceVolumeParams.origin ( )

origin point of voxels box Returns a pointer to a member variable of class MR::DistanceVolumeParams named origin. The reference to this object might be preserved as the return value.

Calls MR_DistanceVolumeParams_Get_origin().

◆ setCb()

void meshlib.DistanceVolumeParams.setCb ( meshlib.std_function_bool_from_float value)

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

Calls MR_DistanceVolumeParams_Set_cb().

◆ setDimensions()

void meshlib.DistanceVolumeParams.setDimensions ( meshlib.Vector3i value)

num voxels along each axis Modifies a member variable of class MR::DistanceVolumeParams named dimensions. The reference to the parameter value might be preserved in this object in element dimensions.

Calls MR_DistanceVolumeParams_Set_dimensions().

◆ setOrigin()

void meshlib.DistanceVolumeParams.setOrigin ( meshlib.Vector3f value)

origin point of voxels box Modifies a member variable of class MR::DistanceVolumeParams named origin. The reference to the parameter value might be preserved in this object in element origin.

Calls MR_DistanceVolumeParams_Set_origin().

◆ setVoxelSize()

void meshlib.DistanceVolumeParams.setVoxelSize ( meshlib.Vector3f value)

size of voxel on each axis Modifies a member variable of class MR::DistanceVolumeParams named voxelSize. The reference to the parameter value might be preserved in this object in element voxelSize.

Calls MR_DistanceVolumeParams_Set_voxelSize().

◆ voxelSize()

meshlib.Vector3f meshlib.DistanceVolumeParams.voxelSize ( )

size of voxel on each axis Returns a pointer to a member variable of class MR::DistanceVolumeParams named voxelSize. The reference to this object might be preserved as the return value.

Calls MR_DistanceVolumeParams_Get_voxelSize().


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