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

Public Member Functions

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

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

Constructor & Destructor Documentation

◆ FunctionVolume() [1/4]

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

◆ FunctionVolume() [2/4]

meshlib.FunctionVolume.FunctionVolume ( )

Constructs an empty (default-constructed) instance.

Calls MR_FunctionVolume_DefaultConstruct().

◆ FunctionVolume() [3/4]

meshlib.FunctionVolume.FunctionVolume ( meshlib.std_function_float_from_const_MR_Vector3i_ref data,
meshlib.Vector3i dims,
meshlib.Vector3f voxelSize )

Constructs MR::FunctionVolume 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_FunctionVolume_ConstructFrom().

◆ FunctionVolume() [4/4]

meshlib.FunctionVolume.FunctionVolume ( meshlib.FunctionVolume _other)

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

Calls MR_FunctionVolume_ConstructFromAnother().

Member Function Documentation

◆ assignFromAnother()

meshlib.FunctionVolume meshlib.FunctionVolume.assignFromAnother ( meshlib.FunctionVolume _other)

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

Calls MR_FunctionVolume_AssignFromAnother().

◆ data()

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

Calls MR_FunctionVolume_Get_data().

◆ dims()

meshlib.Vector3i meshlib.FunctionVolume.dims ( )

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

Calls MR_FunctionVolume_Get_dims().

◆ heapBytes()

long meshlib.FunctionVolume.heapBytes ( )

Generated from method MR::FunctionVolume::heapBytes.

Calls MR_FunctionVolume_heapBytes().

◆ setData()

void meshlib.FunctionVolume.setData ( meshlib.std_function_float_from_const_MR_Vector3i_ref value)

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

Calls MR_FunctionVolume_Set_data().

◆ setDims()

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

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

Calls MR_FunctionVolume_Set_dims().

◆ setVoxelSize()

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

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

Calls MR_FunctionVolume_Set_voxelSize().

◆ voxelSize()

meshlib.Vector3f meshlib.FunctionVolume.voxelSize ( )

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

Calls MR_FunctionVolume_Get_voxelSize().


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