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

Public Member Functions

 SimpleVolumeU16 (java.lang.foreign.MemorySegment ptr, boolean owned, java.lang.Object owner)
 SimpleVolumeU16 ()
 SimpleVolumeU16 (meshlib.Vector_unsigned_short_MR_VoxelId data, meshlib.Vector3i dims, meshlib.Vector3f voxelSize)
 SimpleVolumeU16 (meshlib.SimpleVolumeU16 _other)
meshlib.SimpleVolumeU16 assignFromAnother (meshlib.SimpleVolumeU16 _other)
long heapBytes ()
meshlib.Vector_unsigned_short_MR_VoxelId data ()
void setData (meshlib.Vector_unsigned_short_MR_VoxelId 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::SimpleVolumeU16. Derived classes: Direct: (non-virtual) MR::SimpleVolumeMinMaxU16

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

Constructor & Destructor Documentation

◆ SimpleVolumeU16() [1/4]

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

◆ SimpleVolumeU16() [2/4]

meshlib.SimpleVolumeU16.SimpleVolumeU16 ( )

Constructs an empty (default-constructed) instance.

Calls MR_SimpleVolumeU16_DefaultConstruct().

◆ SimpleVolumeU16() [3/4]

meshlib.SimpleVolumeU16.SimpleVolumeU16 ( meshlib.Vector_unsigned_short_MR_VoxelId data,
meshlib.Vector3i dims,
meshlib.Vector3f voxelSize )

Constructs MR::SimpleVolumeU16 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_SimpleVolumeU16_ConstructFrom().

◆ SimpleVolumeU16() [4/4]

meshlib.SimpleVolumeU16.SimpleVolumeU16 ( meshlib.SimpleVolumeU16 _other)

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

Calls MR_SimpleVolumeU16_ConstructFromAnother().

Member Function Documentation

◆ assignFromAnother()

meshlib.SimpleVolumeU16 meshlib.SimpleVolumeU16.assignFromAnother ( meshlib.SimpleVolumeU16 _other)

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

Calls MR_SimpleVolumeU16_AssignFromAnother().

◆ data()

meshlib.Vector_unsigned_short_MR_VoxelId meshlib.SimpleVolumeU16.data ( )

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

Calls MR_SimpleVolumeU16_Get_data().

◆ dims()

meshlib.Vector3i meshlib.SimpleVolumeU16.dims ( )

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

Calls MR_SimpleVolumeU16_Get_dims().

◆ heapBytes()

long meshlib.SimpleVolumeU16.heapBytes ( )

Generated from method MR::SimpleVolumeU16::heapBytes.

Calls MR_SimpleVolumeU16_heapBytes().

◆ setData()

void meshlib.SimpleVolumeU16.setData ( meshlib.Vector_unsigned_short_MR_VoxelId value)

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

Calls MR_SimpleVolumeU16_Set_data().

◆ setDims()

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

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

Calls MR_SimpleVolumeU16_Set_dims().

◆ setVoxelSize()

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

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

Calls MR_SimpleVolumeU16_Set_voxelSize().

◆ voxelSize()

meshlib.Vector3f meshlib.SimpleVolumeU16.voxelSize ( )

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

Calls MR_SimpleVolumeU16_Get_voxelSize().


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