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

Public Member Functions

 SimpleVolumeMinMaxU16 (java.lang.foreign.MemorySegment ptr, boolean owned, java.lang.Object owner)
 SimpleVolumeMinMaxU16 ()
 SimpleVolumeMinMaxU16 (meshlib.SimpleVolumeMinMaxU16 _other)
meshlib.SimpleVolumeMinMaxU16 assignFromAnother (meshlib.SimpleVolumeMinMaxU16 _other)
long heapBytes ()
boolean valid ()
short center ()
short corner (boolean c)
short size ()
short diagonal ()
short volume ()
short getBoxClosestPointTo (short pt)
boolean intersects (meshlib.Box_unsigned_short b)
meshlib.Box_unsigned_short intersection (meshlib.Box_unsigned_short b)
meshlib.Box_unsigned_short intersect (meshlib.Box_unsigned_short b)
short getProjection (short pt)
meshlib.Box_unsigned_short expanded (short expansion)
meshlib.Box_unsigned_short insignificantlyExpanded ()
boolean opEqual (meshlib.Box_unsigned_short a)
boolean opNotEqual (meshlib.Box_unsigned_short a)
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)
short min ()
void setMin (short value)
short max ()
void setMax (short value)
meshlib.SimpleVolumeU16 upcastToSimpleVolumeU16 ()
meshlib.Box_unsigned_short upcastToBox_unsigned_short ()
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 ()

Static Public Member Functions

static meshlib.Box_unsigned_short fromMinAndSize (short min, short size)
static boolean getMinBoxCorner (short n)
static boolean getMaxBoxCorner (short n)
static int elements ()
static meshlib.SimpleVolumeMinMaxU16 staticDowncastFromSimpleVolumeU16 (meshlib.SimpleVolumeU16 object)
static meshlib.SimpleVolumeMinMaxU16 staticDowncastFromBox_unsigned_short (meshlib.Box_unsigned_short object)

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; and stores minimum and maximum values among all valid voxels Generated from class MR::SimpleVolumeMinMaxU16. Base classes: Direct: (non-virtual) MR::SimpleVolumeU16 MR::Box<unsigned short>

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

Constructor & Destructor Documentation

◆ SimpleVolumeMinMaxU16() [1/3]

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

◆ SimpleVolumeMinMaxU16() [2/3]

meshlib.SimpleVolumeMinMaxU16.SimpleVolumeMinMaxU16 ( )

Constructs an empty (default-constructed) instance.

Calls MR_SimpleVolumeMinMaxU16_DefaultConstruct().

◆ SimpleVolumeMinMaxU16() [3/3]

meshlib.SimpleVolumeMinMaxU16.SimpleVolumeMinMaxU16 ( meshlib.SimpleVolumeMinMaxU16 _other)

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

Calls MR_SimpleVolumeMinMaxU16_ConstructFromAnother().

Member Function Documentation

◆ assignFromAnother()

meshlib.SimpleVolumeMinMaxU16 meshlib.SimpleVolumeMinMaxU16.assignFromAnother ( meshlib.SimpleVolumeMinMaxU16 _other)

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

Calls MR_SimpleVolumeMinMaxU16_AssignFromAnother().

◆ center()

short meshlib.SimpleVolumeMinMaxU16.center ( )

computes center of the box Generated from method MR::SimpleVolumeMinMaxU16::center.

Calls MR_SimpleVolumeMinMaxU16_center().

◆ corner()

short meshlib.SimpleVolumeMinMaxU16.corner ( boolean c)

returns the corner of this box as specified by given bool-vector: 0 element in (c) means take min's coordinate, 1 element in (c) means take max's coordinate Generated from method MR::SimpleVolumeMinMaxU16::corner.

Calls MR_SimpleVolumeMinMaxU16_corner().

◆ data()

meshlib.Vector_unsigned_short_MR_VoxelId meshlib.SimpleVolumeMinMaxU16.data ( )

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

Calls MR_SimpleVolumeMinMaxU16_Get_data().

◆ diagonal()

short meshlib.SimpleVolumeMinMaxU16.diagonal ( )

computes length from min to max Generated from method MR::SimpleVolumeMinMaxU16::diagonal.

Calls MR_SimpleVolumeMinMaxU16_diagonal().

◆ dims()

meshlib.Vector3i meshlib.SimpleVolumeMinMaxU16.dims ( )

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

Calls MR_SimpleVolumeMinMaxU16_Get_dims().

◆ elements()

int meshlib.SimpleVolumeMinMaxU16.elements ( )
static

Returns a pointer to a member variable of class MR::SimpleVolumeMinMaxU16 named elements.

Calls MR_SimpleVolumeMinMaxU16_Get_elements().

◆ expanded()

meshlib.Box_unsigned_short meshlib.SimpleVolumeMinMaxU16.expanded ( short expansion)

decreases min and increased max on given value Generated from method MR::SimpleVolumeMinMaxU16::expanded.

Calls MR_SimpleVolumeMinMaxU16_expanded().

◆ fromMinAndSize()

meshlib.Box_unsigned_short meshlib.SimpleVolumeMinMaxU16.fromMinAndSize ( short min,
short size )
static

Generated from method MR::SimpleVolumeMinMaxU16::fromMinAndSize.

Calls MR_SimpleVolumeMinMaxU16_fromMinAndSize().

◆ getBoxClosestPointTo()

short meshlib.SimpleVolumeMinMaxU16.getBoxClosestPointTo ( short pt)

returns closest point in the box to given point Generated from method MR::SimpleVolumeMinMaxU16::getBoxClosestPointTo.

Calls MR_SimpleVolumeMinMaxU16_getBoxClosestPointTo().

◆ getMaxBoxCorner()

boolean meshlib.SimpleVolumeMinMaxU16.getMaxBoxCorner ( short n)
static

considering all planes with given normal and arbitrary shift: dot(n,x) = d finds the box's corner for which d is maximal Generated from method MR::SimpleVolumeMinMaxU16::getMaxBoxCorner.

Calls MR_SimpleVolumeMinMaxU16_getMaxBoxCorner().

◆ getMinBoxCorner()

boolean meshlib.SimpleVolumeMinMaxU16.getMinBoxCorner ( short n)
static

considering all planes with given normal and arbitrary shift: dot(n,x) = d finds the box's corner for which d is minimal Generated from method MR::SimpleVolumeMinMaxU16::getMinBoxCorner.

Calls MR_SimpleVolumeMinMaxU16_getMinBoxCorner().

◆ getProjection()

short meshlib.SimpleVolumeMinMaxU16.getProjection ( short pt)

returns the closest point on the box to the given point for points outside the box this is equivalent to getBoxClosestPointTo Generated from method MR::SimpleVolumeMinMaxU16::getProjection.

Calls MR_SimpleVolumeMinMaxU16_getProjection().

◆ heapBytes()

long meshlib.SimpleVolumeMinMaxU16.heapBytes ( )

Generated from method MR::SimpleVolumeMinMaxU16::heapBytes.

Calls MR_SimpleVolumeMinMaxU16_heapBytes().

◆ insignificantlyExpanded()

meshlib.Box_unsigned_short meshlib.SimpleVolumeMinMaxU16.insignificantlyExpanded ( )

decreases min and increases max to their closest representable value Generated from method MR::SimpleVolumeMinMaxU16::insignificantlyExpanded.

Calls MR_SimpleVolumeMinMaxU16_insignificantlyExpanded().

◆ intersect()

meshlib.Box_unsigned_short meshlib.SimpleVolumeMinMaxU16.intersect ( meshlib.Box_unsigned_short b)

Generated from method MR::SimpleVolumeMinMaxU16::intersect.

Calls MR_SimpleVolumeMinMaxU16_intersect().

◆ intersection()

meshlib.Box_unsigned_short meshlib.SimpleVolumeMinMaxU16.intersection ( meshlib.Box_unsigned_short b)

computes intersection between this and other box Generated from method MR::SimpleVolumeMinMaxU16::intersection.

Calls MR_SimpleVolumeMinMaxU16_intersection().

◆ intersects()

boolean meshlib.SimpleVolumeMinMaxU16.intersects ( meshlib.Box_unsigned_short b)

checks whether this box intersects or touches given box Generated from method MR::SimpleVolumeMinMaxU16::intersects.

Calls MR_SimpleVolumeMinMaxU16_intersects().

◆ max()

short meshlib.SimpleVolumeMinMaxU16.max ( )

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

Calls MR_SimpleVolumeMinMaxU16_Get_max().

◆ min()

short meshlib.SimpleVolumeMinMaxU16.min ( )

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

Calls MR_SimpleVolumeMinMaxU16_Get_min().

◆ opEqual()

boolean meshlib.SimpleVolumeMinMaxU16.opEqual ( meshlib.Box_unsigned_short a)

Generated from method MR::SimpleVolumeMinMaxU16::operator==.

Calls MR_equal_MR_SimpleVolumeMinMaxU16_MR_Box_unsigned_short().

◆ opNotEqual()

boolean meshlib.SimpleVolumeMinMaxU16.opNotEqual ( meshlib.Box_unsigned_short a)

Generated from method MR::SimpleVolumeMinMaxU16::operator!=.

Calls MR_not_equal_MR_SimpleVolumeMinMaxU16_MR_Box_unsigned_short().

◆ setData()

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

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

Calls MR_SimpleVolumeMinMaxU16_Set_data().

◆ setDims()

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

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

Calls MR_SimpleVolumeMinMaxU16_Set_dims().

◆ setMax()

void meshlib.SimpleVolumeMinMaxU16.setMax ( short value)

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

Calls MR_SimpleVolumeMinMaxU16_Set_max().

◆ setMin()

void meshlib.SimpleVolumeMinMaxU16.setMin ( short value)

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

Calls MR_SimpleVolumeMinMaxU16_Set_min().

◆ setVoxelSize()

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

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

Calls MR_SimpleVolumeMinMaxU16_Set_voxelSize().

◆ size()

short meshlib.SimpleVolumeMinMaxU16.size ( )

computes size of the box in all dimensions Generated from method MR::SimpleVolumeMinMaxU16::size.

Calls MR_SimpleVolumeMinMaxU16_size().

◆ staticDowncastFromBox_unsigned_short()

meshlib.SimpleVolumeMinMaxU16 meshlib.SimpleVolumeMinMaxU16.staticDowncastFromBox_unsigned_short ( meshlib.Box_unsigned_short object)
static

Static downcast from the base class MR::Box<unsigned short>. Undefined behavior if the object isn't actually a SimpleVolumeMinMaxU16. The result refers to object.

Calls MR_SimpleVolumeMinMaxU16_MutableStaticDowncastFrom_MR_Box_unsigned_short().

◆ staticDowncastFromSimpleVolumeU16()

meshlib.SimpleVolumeMinMaxU16 meshlib.SimpleVolumeMinMaxU16.staticDowncastFromSimpleVolumeU16 ( meshlib.SimpleVolumeU16 object)
static

Static downcast from the base class MR::SimpleVolumeU16. Undefined behavior if the object isn't actually a SimpleVolumeMinMaxU16. The result refers to object.

Calls MR_SimpleVolumeMinMaxU16_MutableStaticDowncastFrom_MR_SimpleVolumeU16().

◆ upcastToBox_unsigned_short()

meshlib.Box_unsigned_short meshlib.SimpleVolumeMinMaxU16.upcastToBox_unsigned_short ( )

Upcasts to the base class MR::Box<unsigned short>. The result refers to this object.

Calls MR_SimpleVolumeMinMaxU16_MutableUpcastTo_MR_Box_unsigned_short().

◆ upcastToSimpleVolumeU16()

meshlib.SimpleVolumeU16 meshlib.SimpleVolumeMinMaxU16.upcastToSimpleVolumeU16 ( )

Upcasts to the base class MR::SimpleVolumeU16. The result refers to this object.

Calls MR_SimpleVolumeMinMaxU16_MutableUpcastTo_MR_SimpleVolumeU16().

◆ valid()

boolean meshlib.SimpleVolumeMinMaxU16.valid ( )

true if the box contains at least one point Generated from method MR::SimpleVolumeMinMaxU16::valid.

Calls MR_SimpleVolumeMinMaxU16_valid().

◆ volume()

short meshlib.SimpleVolumeMinMaxU16.volume ( )

computes the volume of this box Generated from method MR::SimpleVolumeMinMaxU16::volume.

Calls MR_SimpleVolumeMinMaxU16_volume().

◆ voxelSize()

meshlib.Vector3f meshlib.SimpleVolumeMinMaxU16.voxelSize ( )

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

Calls MR_SimpleVolumeMinMaxU16_Get_voxelSize().


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