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

Public Member Functions

 McOffsetMeshOutputs (java.lang.foreign.MemorySegment ptr, boolean owned, java.lang.Object owner)
 McOffsetMeshOutputs ()
 McOffsetMeshOutputs (meshlib.Vector_MR_VoxelId_MR_FaceId voxelPerFaceMap, meshlib.Vector3i dims, meshlib.AffineXf3f gridToMeshXf)
 McOffsetMeshOutputs (meshlib.McOffsetMeshOutputs _other)
meshlib.McOffsetMeshOutputs assignFromAnother (meshlib.McOffsetMeshOutputs _other)
java.lang.foreign.MemorySegment voxelPerFaceMap ()
void setVoxelPerFaceMap (meshlib.Vector_MR_VoxelId_MR_FaceId value)
java.lang.foreign.MemorySegment dims ()
void setDims (meshlib.Vector3i value)
java.lang.foreign.MemorySegment gridToMeshXf ()
void setGridToMeshXf (meshlib.AffineXf3f 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

optional outputs of mcOffsetMesh(...) describing the volume, from which the mesh was extracted Generated from class MR::McOffsetMeshOutputs.

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

Constructor & Destructor Documentation

◆ McOffsetMeshOutputs() [1/4]

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

◆ McOffsetMeshOutputs() [2/4]

meshlib.McOffsetMeshOutputs.McOffsetMeshOutputs ( )

Constructs an empty (default-constructed) instance.

Calls MR_McOffsetMeshOutputs_DefaultConstruct().

◆ McOffsetMeshOutputs() [3/4]

meshlib.McOffsetMeshOutputs.McOffsetMeshOutputs ( meshlib.Vector_MR_VoxelId_MR_FaceId voxelPerFaceMap,
meshlib.Vector3i dims,
meshlib.AffineXf3f gridToMeshXf )

Constructs MR::McOffsetMeshOutputs elementwise. The reference to the parameter voxelPerFaceMap might be preserved in the constructed object. The reference to the parameter dims might be preserved in the constructed object. The reference to the parameter gridToMeshXf might be preserved in the constructed object.

Calls MR_McOffsetMeshOutputs_ConstructFrom().

◆ McOffsetMeshOutputs() [4/4]

meshlib.McOffsetMeshOutputs.McOffsetMeshOutputs ( meshlib.McOffsetMeshOutputs _other)

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

Calls MR_McOffsetMeshOutputs_ConstructFromAnother().

Member Function Documentation

◆ assignFromAnother()

meshlib.McOffsetMeshOutputs meshlib.McOffsetMeshOutputs.assignFromAnother ( meshlib.McOffsetMeshOutputs _other)

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

Calls MR_McOffsetMeshOutputs_AssignFromAnother().

◆ dims()

java.lang.foreign.MemorySegment meshlib.McOffsetMeshOutputs.dims ( )

optional output dimensions of the volume Returns a pointer to a member variable of class MR::McOffsetMeshOutputs named dims. The reference to this object might be preserved as the return value.

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

◆ gridToMeshXf()

java.lang.foreign.MemorySegment meshlib.McOffsetMeshOutputs.gridToMeshXf ( )

optional output transform from integer grid locations to mesh reference frame: the node with integer coordinates (i,j,k) is located in (*gridToMeshXf)( Vector3f( i, j, k ) ); every vertex of output mesh is located on a grid edge Returns a pointer to a member variable of class MR::McOffsetMeshOutputs named gridToMeshXf. The reference to this object might be preserved as the return value.

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

◆ setDims()

void meshlib.McOffsetMeshOutputs.setDims ( meshlib.Vector3i value)

optional output dimensions of the volume Modifies a member variable of class MR::McOffsetMeshOutputs named dims. The reference to the parameter value might be preserved in this object in element dims.

Calls MR_McOffsetMeshOutputs_Set_dims().

◆ setGridToMeshXf()

void meshlib.McOffsetMeshOutputs.setGridToMeshXf ( meshlib.AffineXf3f value)

optional output transform from integer grid locations to mesh reference frame: the node with integer coordinates (i,j,k) is located in (*gridToMeshXf)( Vector3f( i, j, k ) ); every vertex of output mesh is located on a grid edge Modifies a member variable of class MR::McOffsetMeshOutputs named gridToMeshXf. The reference to the parameter value might be preserved in this object in element gridToMeshXf.

Calls MR_McOffsetMeshOutputs_Set_gridToMeshXf().

◆ setVoxelPerFaceMap()

void meshlib.McOffsetMeshOutputs.setVoxelPerFaceMap ( meshlib.Vector_MR_VoxelId_MR_FaceId value)

optional output map FaceId->VoxelId Modifies a member variable of class MR::McOffsetMeshOutputs named voxelPerFaceMap. The reference to the parameter value might be preserved in this object in element voxelPerFaceMap.

Calls MR_McOffsetMeshOutputs_Set_voxelPerFaceMap().

◆ voxelPerFaceMap()

java.lang.foreign.MemorySegment meshlib.McOffsetMeshOutputs.voxelPerFaceMap ( )

optional output map FaceId->VoxelId Returns a pointer to a member variable of class MR::McOffsetMeshOutputs named voxelPerFaceMap. The reference to this object might be preserved as the return value.

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


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