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

Public Member Functions

 MeshToVolumeParams (java.lang.foreign.MemorySegment ptr, boolean owned, java.lang.Object owner)
 MeshToVolumeParams ()
 MeshToVolumeParams (meshlib.MeshToVolumeParams_Type type, float surfaceOffset, meshlib.Vector3f voxelSize, meshlib.AffineXf3f worldXf, meshlib.AffineXf3f outXf, meshlib.std_function_bool_from_float cb)
 MeshToVolumeParams (meshlib.MeshToVolumeParams _other)
meshlib.MeshToVolumeParams assignFromAnother (meshlib.MeshToVolumeParams _other)
meshlib.MeshToVolumeParams_Type type ()
void setType (meshlib.MeshToVolumeParams_Type value)
float surfaceOffset ()
void setSurfaceOffset (float value)
meshlib.Vector3f voxelSize ()
void setVoxelSize (meshlib.Vector3f value)
meshlib.AffineXf3f worldXf ()
void setWorldXf (meshlib.AffineXf3f value)
java.lang.foreign.MemorySegment outXf ()
void setOutXf (meshlib.AffineXf3f value)
meshlib.std_function_bool_from_float cb ()
void setCb (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

Parameters structure for meshToVolume function Generated from class MR::MeshToVolumeParams.

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

Constructor & Destructor Documentation

◆ MeshToVolumeParams() [1/4]

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

◆ MeshToVolumeParams() [2/4]

meshlib.MeshToVolumeParams.MeshToVolumeParams ( )

Constructs an empty (default-constructed) instance.

Calls MR_MeshToVolumeParams_DefaultConstruct().

◆ MeshToVolumeParams() [3/4]

meshlib.MeshToVolumeParams.MeshToVolumeParams ( meshlib.MeshToVolumeParams_Type type,
float surfaceOffset,
meshlib.Vector3f voxelSize,
meshlib.AffineXf3f worldXf,
meshlib.AffineXf3f outXf,
meshlib.std_function_bool_from_float cb )

Constructs MR::MeshToVolumeParams elementwise. The reference to the parameter type 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 worldXf might be preserved in the constructed object. The reference to the parameter outXf might be preserved in the constructed object. The reference to the parameter cb might be preserved in the constructed object.

Calls MR_MeshToVolumeParams_ConstructFrom().

◆ MeshToVolumeParams() [4/4]

meshlib.MeshToVolumeParams.MeshToVolumeParams ( meshlib.MeshToVolumeParams _other)

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

Calls MR_MeshToVolumeParams_ConstructFromAnother().

Member Function Documentation

◆ assignFromAnother()

meshlib.MeshToVolumeParams meshlib.MeshToVolumeParams.assignFromAnother ( meshlib.MeshToVolumeParams _other)

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

Calls MR_MeshToVolumeParams_AssignFromAnother().

◆ cb()

meshlib.std_function_bool_from_float meshlib.MeshToVolumeParams.cb ( )

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

Calls MR_MeshToVolumeParams_Get_cb().

◆ outXf()

java.lang.foreign.MemorySegment meshlib.MeshToVolumeParams.outXf ( )

optional output: xf to original mesh (respecting worldXf) Returns a pointer to a member variable of class MR::MeshToVolumeParams named outXf. The reference to this object might be preserved as the return value.

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

◆ setCb()

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

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

Calls MR_MeshToVolumeParams_Set_cb().

◆ setOutXf()

void meshlib.MeshToVolumeParams.setOutXf ( meshlib.AffineXf3f value)

optional output: xf to original mesh (respecting worldXf) Modifies a member variable of class MR::MeshToVolumeParams named outXf. The reference to the parameter value might be preserved in this object in element outXf.

Calls MR_MeshToVolumeParams_Set_outXf().

◆ setSurfaceOffset()

void meshlib.MeshToVolumeParams.setSurfaceOffset ( float value)

the number of voxels around surface to calculate distance in (should be positive) Modifies a member variable of class MR::MeshToVolumeParams named surfaceOffset.

Calls MR_MeshToVolumeParams_Set_surfaceOffset().

◆ setType()

void meshlib.MeshToVolumeParams.setType ( meshlib.MeshToVolumeParams_Type value)

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

Calls MR_MeshToVolumeParams_Set_type().

◆ setVoxelSize()

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

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

Calls MR_MeshToVolumeParams_Set_voxelSize().

◆ setWorldXf()

void meshlib.MeshToVolumeParams.setWorldXf ( meshlib.AffineXf3f value)

mesh initial transform Modifies a member variable of class MR::MeshToVolumeParams named worldXf. The reference to the parameter value might be preserved in this object in element worldXf.

Calls MR_MeshToVolumeParams_Set_worldXf().

◆ surfaceOffset()

float meshlib.MeshToVolumeParams.surfaceOffset ( )

the number of voxels around surface to calculate distance in (should be positive) Returns a pointer to a member variable of class MR::MeshToVolumeParams named surfaceOffset. The reference to this object might be preserved as the return value.

Calls MR_MeshToVolumeParams_Get_surfaceOffset().

◆ type()

meshlib.MeshToVolumeParams_Type meshlib.MeshToVolumeParams.type ( )

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

Calls MR_MeshToVolumeParams_Get_type().

◆ voxelSize()

meshlib.Vector3f meshlib.MeshToVolumeParams.voxelSize ( )

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

Calls MR_MeshToVolumeParams_Get_voxelSize().

◆ worldXf()

meshlib.AffineXf3f meshlib.MeshToVolumeParams.worldXf ( )

mesh initial transform Returns a pointer to a member variable of class MR::MeshToVolumeParams named worldXf. The reference to this object might be preserved as the return value.

Calls MR_MeshToVolumeParams_Get_worldXf().


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