Public Member Functions | |
| AABBTreeNode_MR_ObjTreeTraits (java.lang.foreign.MemorySegment ptr, boolean owned, java.lang.Object owner) | |
| AABBTreeNode_MR_ObjTreeTraits () | |
| AABBTreeNode_MR_ObjTreeTraits (meshlib.AABBTreeNode_MR_ObjTreeTraits _other) | |
| AABBTreeNode_MR_ObjTreeTraits (meshlib.NoInit _1) | |
| meshlib.AABBTreeNode_MR_ObjTreeTraits | assignFromAnother (meshlib.AABBTreeNode_MR_ObjTreeTraits _other) |
| meshlib.Box3f | box () |
| void | setBox (meshlib.Box3f value) |
| meshlib.NodeId | l () |
| void | setL (meshlib.NodeId value) |
| meshlib.NodeId | r () |
| void | setR (meshlib.NodeId value) |
| meshlib.AABBTreeChildEncoding | upcastToAABBTreeChildEncoding () |
| 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 boolean | isLeaf (meshlib.NodeId child) |
| static long | leafIndex (meshlib.NodeId child) |
| static meshlib.NodeId | leafChild (long leafIndex) |
| static meshlib.AABBTreeNode_MR_ObjTreeTraits | staticDowncastFromAABBTreeChildEncoding (meshlib.AABBTreeChildEncoding 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) | |
Generated from class MR::AABBTreeNode<MR::ObjTreeTraits>. Base classes: Direct: (non-virtual) MR::AABBTreeChildEncoding
Instances created here own their C++ objects, see CppObject.
| meshlib.AABBTreeNode_MR_ObjTreeTraits.AABBTreeNode_MR_ObjTreeTraits | ( | 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.AABBTreeNode_MR_ObjTreeTraits.AABBTreeNode_MR_ObjTreeTraits | ( | ) |
Constructs an empty (default-constructed) instance.
Calls MR_AABBTreeNode_MR_ObjTreeTraits_DefaultConstruct().
| meshlib.AABBTreeNode_MR_ObjTreeTraits.AABBTreeNode_MR_ObjTreeTraits | ( | meshlib.AABBTreeNode_MR_ObjTreeTraits | _other | ) |
Generated from constructor MR::AABBTreeNode<MR::ObjTreeTraits>::AABBTreeNode. The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object.
Calls MR_AABBTreeNode_MR_ObjTreeTraits_ConstructFromAnother().
| meshlib.AABBTreeNode_MR_ObjTreeTraits.AABBTreeNode_MR_ObjTreeTraits | ( | meshlib.NoInit | _1 | ) |
Generated from constructor MR::AABBTreeNode<MR::ObjTreeTraits>::AABBTreeNode. The reference to the parameter _1 might be preserved in the constructed object.
Calls MR_AABBTreeNode_MR_ObjTreeTraits_Construct().
| meshlib.AABBTreeNode_MR_ObjTreeTraits meshlib.AABBTreeNode_MR_ObjTreeTraits.assignFromAnother | ( | meshlib.AABBTreeNode_MR_ObjTreeTraits | _other | ) |
Generated from method MR::AABBTreeNode<MR::ObjTreeTraits>::operator=. The reference to things referred to by the parameter _other (if any) might be preserved in this object.
Calls MR_AABBTreeNode_MR_ObjTreeTraits_AssignFromAnother().
| meshlib.Box3f meshlib.AABBTreeNode_MR_ObjTreeTraits.box | ( | ) |
< bounding box of whole subtree Returns a pointer to a member variable of class MR::AABBTreeNode<MR::ObjTreeTraits> named box. The reference to this object might be preserved as the return value.
Calls MR_AABBTreeNode_MR_ObjTreeTraits_Get_box().
|
static |
returns true if given child of a node is a leaf rather than another node Generated from method MR::AABBTreeNode<MR::ObjTreeTraits>::isLeaf.
Calls MR_AABBTreeNode_MR_ObjTreeTraits_isLeaf().
| meshlib.NodeId meshlib.AABBTreeNode_MR_ObjTreeTraits.l | ( | ) |
< two children: each is either another node (non-negative id) or a leaf (encoded as negative number ~leafIndex) Returns a pointer to a member variable of class MR::AABBTreeNode<MR::ObjTreeTraits> named l. The reference to this object might be preserved as the return value.
Calls MR_AABBTreeNode_MR_ObjTreeTraits_Get_l().
|
static |
encodes given index in the vector of leaves as a child of a node Generated from method MR::AABBTreeNode<MR::ObjTreeTraits>::leafChild.
Calls MR_AABBTreeNode_MR_ObjTreeTraits_leafChild().
|
static |
returns the index in the vector of leaves of the leaf encoded in given child of a node Generated from method MR::AABBTreeNode<MR::ObjTreeTraits>::leafIndex.
Calls MR_AABBTreeNode_MR_ObjTreeTraits_leafIndex().
| meshlib.NodeId meshlib.AABBTreeNode_MR_ObjTreeTraits.r | ( | ) |
< two children: each is either another node (non-negative id) or a leaf (encoded as negative number ~leafIndex) Returns a pointer to a member variable of class MR::AABBTreeNode<MR::ObjTreeTraits> named r. The reference to this object might be preserved as the return value.
Calls MR_AABBTreeNode_MR_ObjTreeTraits_Get_r().
| void meshlib.AABBTreeNode_MR_ObjTreeTraits.setBox | ( | meshlib.Box3f | value | ) |
< bounding box of whole subtree Modifies a member variable of class MR::AABBTreeNode<MR::ObjTreeTraits> named box. The reference to the parameter value might be preserved in this object in element box.
Calls MR_AABBTreeNode_MR_ObjTreeTraits_Set_box().
| void meshlib.AABBTreeNode_MR_ObjTreeTraits.setL | ( | meshlib.NodeId | value | ) |
< two children: each is either another node (non-negative id) or a leaf (encoded as negative number ~leafIndex) Modifies a member variable of class MR::AABBTreeNode<MR::ObjTreeTraits> named l. The reference to the parameter value might be preserved in this object in element l.
Calls MR_AABBTreeNode_MR_ObjTreeTraits_Set_l().
| void meshlib.AABBTreeNode_MR_ObjTreeTraits.setR | ( | meshlib.NodeId | value | ) |
< two children: each is either another node (non-negative id) or a leaf (encoded as negative number ~leafIndex) Modifies a member variable of class MR::AABBTreeNode<MR::ObjTreeTraits> named r. The reference to the parameter value might be preserved in this object in element r.
Calls MR_AABBTreeNode_MR_ObjTreeTraits_Set_r().
|
static |
Static downcast from the base class MR::AABBTreeChildEncoding. Undefined behavior if the object isn't actually a AABBTreeNode_MR_ObjTreeTraits. The result refers to object.
Calls MR_AABBTreeNode_MR_ObjTreeTraits_MutableStaticDowncastFrom_MR_AABBTreeChildEncoding().
| meshlib.AABBTreeChildEncoding meshlib.AABBTreeNode_MR_ObjTreeTraits.upcastToAABBTreeChildEncoding | ( | ) |
Upcasts to the base class MR::AABBTreeChildEncoding. The result refers to this object.
Calls MR_AABBTreeNode_MR_ObjTreeTraits_MutableUpcastTo_MR_AABBTreeChildEncoding().