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

Public Member Functions

 MeshOrPointsObject (java.lang.foreign.MemorySegment ptr, boolean owned, java.lang.Object owner)
 MeshOrPointsObject ()
 MeshOrPointsObject (meshlib.MeshOrPointsObject _other)
 MeshOrPointsObject (meshlib.std_shared_ptr_MR_VisualObject vo)
 MeshOrPointsObject (meshlib.std_shared_ptr_MR_ObjectMesh om)
 MeshOrPointsObject (meshlib.std_shared_ptr_MR_ObjectPoints op)
meshlib.MeshOrPointsObject assignFromAnother (meshlib.MeshOrPointsObject _other)
void set (meshlib.std_shared_ptr_MR_ObjectMesh om)
meshlib.ObjectMesh asObjectMesh ()
void set (meshlib.std_shared_ptr_MR_ObjectPoints op)
meshlib.ObjectPoints asObjectPoints ()
void reset ()
meshlib.std_shared_ptr_MR_VisualObject arrow ()
meshlib.std_shared_ptr_MR_VisualObject get ()
boolean opEqual (meshlib.std_shared_ptr_MR_VisualObject other)
boolean opNotEqual (meshlib.std_shared_ptr_MR_VisualObject other)
meshlib.MeshOrPoints meshOrPoints ()
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

This class can hold either ObjectMesh or ObjectPoint It is used for convenient storage and operation with any of them Generated from class MR::MeshOrPointsObject.

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

Constructor & Destructor Documentation

◆ MeshOrPointsObject() [1/6]

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

◆ MeshOrPointsObject() [2/6]

meshlib.MeshOrPointsObject.MeshOrPointsObject ( )

Constructs an empty (default-constructed) instance.

Calls MR_MeshOrPointsObject_DefaultConstruct().

◆ MeshOrPointsObject() [3/6]

meshlib.MeshOrPointsObject.MeshOrPointsObject ( meshlib.MeshOrPointsObject _other)

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

Calls MR_MeshOrPointsObject_ConstructFromAnother().

◆ MeshOrPointsObject() [4/6]

meshlib.MeshOrPointsObject.MeshOrPointsObject ( meshlib.std_shared_ptr_MR_VisualObject vo)

construct, automatically detecting the object type (ObjectMesh or ObjectPoint) if set an another type, will be reset Generated from constructor MR::MeshOrPointsObject::MeshOrPointsObject. The reference to the parameter vo might be preserved in the constructed object.

Calls MR_MeshOrPointsObject_Construct_std_shared_ptr_MR_VisualObject().

◆ MeshOrPointsObject() [5/6]

meshlib.MeshOrPointsObject.MeshOrPointsObject ( meshlib.std_shared_ptr_MR_ObjectMesh om)

Generated from constructor MR::MeshOrPointsObject::MeshOrPointsObject. The reference to the parameter om might be preserved in the constructed object.

Calls MR_MeshOrPointsObject_Construct_std_shared_ptr_MR_ObjectMesh().

◆ MeshOrPointsObject() [6/6]

meshlib.MeshOrPointsObject.MeshOrPointsObject ( meshlib.std_shared_ptr_MR_ObjectPoints op)

Generated from constructor MR::MeshOrPointsObject::MeshOrPointsObject. The reference to the parameter op might be preserved in the constructed object.

Calls MR_MeshOrPointsObject_Construct_std_shared_ptr_MR_ObjectPoints().

Member Function Documentation

◆ arrow()

meshlib.std_shared_ptr_MR_VisualObject meshlib.MeshOrPointsObject.arrow ( )

Generated from method MR::MeshOrPointsObject::operator->.

Calls MR_MeshOrPointsObject_arrow().

◆ asObjectMesh()

meshlib.ObjectMesh meshlib.MeshOrPointsObject.asObjectMesh ( )

if holding ObjectMesh, return pointer to it, otherwise return nullptr Generated from method MR::MeshOrPointsObject::asObjectMesh.

Calls MR_MeshOrPointsObject_asObjectMesh().

◆ asObjectPoints()

meshlib.ObjectPoints meshlib.MeshOrPointsObject.asObjectPoints ( )

if holding ObjectPoints, return pointer to it, otherwise return nullptr Generated from method MR::MeshOrPointsObject::asObjectPoints.

Calls MR_MeshOrPointsObject_asObjectPoints().

◆ assignFromAnother()

meshlib.MeshOrPointsObject meshlib.MeshOrPointsObject.assignFromAnother ( meshlib.MeshOrPointsObject _other)

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

Calls MR_MeshOrPointsObject_AssignFromAnother().

◆ get()

meshlib.std_shared_ptr_MR_VisualObject meshlib.MeshOrPointsObject.get ( )

Generated from method MR::MeshOrPointsObject::get.

Calls MR_MeshOrPointsObject_get().

◆ meshOrPoints()

meshlib.MeshOrPoints meshlib.MeshOrPointsObject.meshOrPoints ( )

get class that hold either mesh part or point cloud Generated from method MR::MeshOrPointsObject::meshOrPoints.

Calls MR_MeshOrPointsObject_meshOrPoints().

◆ opEqual()

boolean meshlib.MeshOrPointsObject.opEqual ( meshlib.std_shared_ptr_MR_VisualObject other)

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

Calls MR_equal_MR_MeshOrPointsObject_std_shared_ptr_MR_VisualObject().

◆ opNotEqual()

boolean meshlib.MeshOrPointsObject.opNotEqual ( meshlib.std_shared_ptr_MR_VisualObject other)

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

Calls MR_not_equal_MR_MeshOrPointsObject_std_shared_ptr_MR_VisualObject().

◆ reset()

void meshlib.MeshOrPointsObject.reset ( )

Generated from method MR::MeshOrPointsObject::reset.

Calls MR_MeshOrPointsObject_reset().

◆ set() [1/2]

void meshlib.MeshOrPointsObject.set ( meshlib.std_shared_ptr_MR_ObjectMesh om)

set to hold ObjectMesh Generated from method MR::MeshOrPointsObject::set.

Calls MR_MeshOrPointsObject_set_std_shared_ptr_MR_ObjectMesh().

◆ set() [2/2]

void meshlib.MeshOrPointsObject.set ( meshlib.std_shared_ptr_MR_ObjectPoints op)

set to hold ObjectPoints Generated from method MR::MeshOrPointsObject::set.

Calls MR_MeshOrPointsObject_set_std_shared_ptr_MR_ObjectPoints().


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