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

Public Member Functions

 SimpleBinaryVolume (java.lang.foreign.MemorySegment ptr, boolean owned, java.lang.Object owner)
 SimpleBinaryVolume ()
 SimpleBinaryVolume (meshlib.VoxelBitSet data, meshlib.Vector3i dims, meshlib.Vector3f voxelSize)
 SimpleBinaryVolume (meshlib.SimpleBinaryVolume _other)
meshlib.SimpleBinaryVolume assignFromAnother (meshlib.SimpleBinaryVolume _other)
long heapBytes ()
meshlib.VoxelBitSet data ()
void setData (meshlib.VoxelBitSet value)
meshlib.Vector3i dims ()
void setDims (meshlib.Vector3i value)
meshlib.Vector3f voxelSize ()
void setVoxelSize (meshlib.Vector3f 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

represents a box in 3D space subdivided on voxels stored in T Generated from class MR::SimpleBinaryVolume.

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

Constructor & Destructor Documentation

◆ SimpleBinaryVolume() [1/4]

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

◆ SimpleBinaryVolume() [2/4]

meshlib.SimpleBinaryVolume.SimpleBinaryVolume ( )

Constructs an empty (default-constructed) instance.

Calls MR_SimpleBinaryVolume_DefaultConstruct().

◆ SimpleBinaryVolume() [3/4]

meshlib.SimpleBinaryVolume.SimpleBinaryVolume ( meshlib.VoxelBitSet data,
meshlib.Vector3i dims,
meshlib.Vector3f voxelSize )

Constructs MR::SimpleBinaryVolume elementwise. The reference to the parameter data 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 voxelSize might be preserved in the constructed object.

Calls MR_SimpleBinaryVolume_ConstructFrom().

◆ SimpleBinaryVolume() [4/4]

meshlib.SimpleBinaryVolume.SimpleBinaryVolume ( meshlib.SimpleBinaryVolume _other)

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

Calls MR_SimpleBinaryVolume_ConstructFromAnother().

Member Function Documentation

◆ assignFromAnother()

meshlib.SimpleBinaryVolume meshlib.SimpleBinaryVolume.assignFromAnother ( meshlib.SimpleBinaryVolume _other)

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

Calls MR_SimpleBinaryVolume_AssignFromAnother().

◆ data()

meshlib.VoxelBitSet meshlib.SimpleBinaryVolume.data ( )

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

Calls MR_SimpleBinaryVolume_Get_data().

◆ dims()

meshlib.Vector3i meshlib.SimpleBinaryVolume.dims ( )

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

Calls MR_SimpleBinaryVolume_Get_dims().

◆ heapBytes()

long meshlib.SimpleBinaryVolume.heapBytes ( )

Generated from method MR::SimpleBinaryVolume::heapBytes.

Calls MR_SimpleBinaryVolume_heapBytes().

◆ setData()

void meshlib.SimpleBinaryVolume.setData ( meshlib.VoxelBitSet value)

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

Calls MR_SimpleBinaryVolume_Set_data().

◆ setDims()

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

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

Calls MR_SimpleBinaryVolume_Set_dims().

◆ setVoxelSize()

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

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

Calls MR_SimpleBinaryVolume_Set_voxelSize().

◆ voxelSize()

meshlib.Vector3f meshlib.SimpleBinaryVolume.voxelSize ( )

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

Calls MR_SimpleBinaryVolume_Get_voxelSize().


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