Public Member Functions | |
| SimpleVolume (java.lang.foreign.MemorySegment ptr, boolean owned, java.lang.Object owner) | |
| SimpleVolume () | |
| SimpleVolume (meshlib.VoxelScalars data, meshlib.Vector3i dims, meshlib.Vector3f voxelSize) | |
| SimpleVolume (meshlib.SimpleVolume _other) | |
| meshlib.SimpleVolume | assignFromAnother (meshlib.SimpleVolume _other) |
| long | heapBytes () |
| meshlib.VoxelScalars | data () |
| void | setData (meshlib.VoxelScalars 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) | |
represents a box in 3D space subdivided on voxels stored in T Generated from class MR::SimpleVolume. Derived classes: Direct: (non-virtual) MR::SimpleVolumeMinMax
Instances created here own their C++ objects, see CppObject.
| meshlib.SimpleVolume.SimpleVolume | ( | 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.
| meshlib.SimpleVolume.SimpleVolume | ( | ) |
Constructs an empty (default-constructed) instance.
Calls MR_SimpleVolume_DefaultConstruct().
| meshlib.SimpleVolume.SimpleVolume | ( | meshlib.VoxelScalars | data, |
| meshlib.Vector3i | dims, | ||
| meshlib.Vector3f | voxelSize ) |
Constructs MR::SimpleVolume 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_SimpleVolume_ConstructFrom().
| meshlib.SimpleVolume.SimpleVolume | ( | meshlib.SimpleVolume | _other | ) |
Generated from constructor MR::SimpleVolume::SimpleVolume. The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object.
Calls MR_SimpleVolume_ConstructFromAnother().
| meshlib.SimpleVolume meshlib.SimpleVolume.assignFromAnother | ( | meshlib.SimpleVolume | _other | ) |
Generated from method MR::SimpleVolume::operator=. The reference to things referred to by the parameter _other (if any) might be preserved in this object.
Calls MR_SimpleVolume_AssignFromAnother().
| meshlib.VoxelScalars meshlib.SimpleVolume.data | ( | ) |
Returns a pointer to a member variable of class MR::SimpleVolume named data. The reference to this object might be preserved as the return value.
Calls MR_SimpleVolume_Get_data().
| meshlib.Vector3i meshlib.SimpleVolume.dims | ( | ) |
Returns a pointer to a member variable of class MR::SimpleVolume named dims. The reference to this object might be preserved as the return value.
Calls MR_SimpleVolume_Get_dims().
| long meshlib.SimpleVolume.heapBytes | ( | ) |
Generated from method MR::SimpleVolume::heapBytes.
Calls MR_SimpleVolume_heapBytes().
| void meshlib.SimpleVolume.setData | ( | meshlib.VoxelScalars | value | ) |
Modifies a member variable of class MR::SimpleVolume named data. The reference to the parameter value might be preserved in this object in element data.
Calls MR_SimpleVolume_Set_data().
| void meshlib.SimpleVolume.setDims | ( | meshlib.Vector3i | value | ) |
Modifies a member variable of class MR::SimpleVolume named dims. The reference to the parameter value might be preserved in this object in element dims.
Calls MR_SimpleVolume_Set_dims().
| void meshlib.SimpleVolume.setVoxelSize | ( | meshlib.Vector3f | value | ) |
Modifies a member variable of class MR::SimpleVolume named voxelSize. The reference to the parameter value might be preserved in this object in element voxelSize.
Calls MR_SimpleVolume_Set_voxelSize().
| meshlib.Vector3f meshlib.SimpleVolume.voxelSize | ( | ) |
Returns a pointer to a member variable of class MR::SimpleVolume named voxelSize. The reference to this object might be preserved as the return value.
Calls MR_SimpleVolume_Get_voxelSize().