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

Public Member Functions

 ObjectMeshData (java.lang.foreign.MemorySegment ptr, boolean owned, java.lang.Object owner)
 ObjectMeshData ()
 ObjectMeshData (meshlib.std_shared_ptr_MR_Mesh mesh, meshlib.FaceBitSet selectedFaces, meshlib.UndirectedEdgeBitSet selectedEdges, meshlib.UndirectedEdgeBitSet creases, meshlib.VertColors vertColors, meshlib.FaceColors faceColors, meshlib.VertCoords2 uvCoordinates, meshlib.TexturePerFace texturePerFace)
 ObjectMeshData (meshlib.ObjectMeshData _other)
meshlib.ObjectMeshData assignFromAnother (meshlib.ObjectMeshData _other)
meshlib.ObjectMeshData clone_2 ()
long heapBytes ()
meshlib.std_shared_ptr_MR_Mesh mesh ()
void setMesh (meshlib.std_shared_ptr_MR_Mesh value)
meshlib.FaceBitSet selectedFaces ()
void setSelectedFaces (meshlib.FaceBitSet value)
meshlib.UndirectedEdgeBitSet selectedEdges ()
void setSelectedEdges (meshlib.UndirectedEdgeBitSet value)
meshlib.UndirectedEdgeBitSet creases ()
void setCreases (meshlib.UndirectedEdgeBitSet value)
meshlib.VertColors vertColors ()
void setVertColors (meshlib.VertColors value)
meshlib.FaceColors faceColors ()
void setFaceColors (meshlib.FaceColors value)
meshlib.VertCoords2 uvCoordinates ()
void setUvCoordinates (meshlib.VertCoords2 value)
meshlib.TexturePerFace texturePerFace ()
void setTexturePerFace (meshlib.TexturePerFace 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

mesh and its per-element attributes for ObjectMeshHolder Generated from class MR::ObjectMeshData. Derived classes: Direct: (non-virtual) MR::LoadedMeshData

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

Constructor & Destructor Documentation

◆ ObjectMeshData() [1/4]

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

◆ ObjectMeshData() [2/4]

meshlib.ObjectMeshData.ObjectMeshData ( )

Constructs an empty (default-constructed) instance.

Calls MR_ObjectMeshData_DefaultConstruct().

◆ ObjectMeshData() [3/4]

meshlib.ObjectMeshData.ObjectMeshData ( meshlib.std_shared_ptr_MR_Mesh mesh,
meshlib.FaceBitSet selectedFaces,
meshlib.UndirectedEdgeBitSet selectedEdges,
meshlib.UndirectedEdgeBitSet creases,
meshlib.VertColors vertColors,
meshlib.FaceColors faceColors,
meshlib.VertCoords2 uvCoordinates,
meshlib.TexturePerFace texturePerFace )

Constructs MR::ObjectMeshData elementwise. The reference to the parameter mesh might be preserved in the constructed object. The reference to the parameter selectedFaces might be preserved in the constructed object. The reference to the parameter selectedEdges might be preserved in the constructed object. The reference to the parameter creases might be preserved in the constructed object. The reference to the parameter vertColors might be preserved in the constructed object. The reference to the parameter faceColors might be preserved in the constructed object. The reference to the parameter uvCoordinates might be preserved in the constructed object. The reference to the parameter texturePerFace might be preserved in the constructed object.

Calls MR_ObjectMeshData_ConstructFrom().

◆ ObjectMeshData() [4/4]

meshlib.ObjectMeshData.ObjectMeshData ( meshlib.ObjectMeshData _other)

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

Calls MR_ObjectMeshData_ConstructFromAnother().

Member Function Documentation

◆ assignFromAnother()

meshlib.ObjectMeshData meshlib.ObjectMeshData.assignFromAnother ( meshlib.ObjectMeshData _other)

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

Calls MR_ObjectMeshData_AssignFromAnother().

◆ clone_2()

meshlib.ObjectMeshData meshlib.ObjectMeshData.clone_2 ( )

returns copy of this object with mesh cloned Generated from method MR::ObjectMeshData::clone.

Calls MR_ObjectMeshData_clone().

◆ creases()

meshlib.UndirectedEdgeBitSet meshlib.ObjectMeshData.creases ( )

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

Calls MR_ObjectMeshData_Get_creases().

◆ faceColors()

meshlib.FaceColors meshlib.ObjectMeshData.faceColors ( )

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

Calls MR_ObjectMeshData_Get_faceColors().

◆ heapBytes()

long meshlib.ObjectMeshData.heapBytes ( )

returns the amount of memory this object occupies on heap Generated from method MR::ObjectMeshData::heapBytes.

Calls MR_ObjectMeshData_heapBytes().

◆ mesh()

meshlib.std_shared_ptr_MR_Mesh meshlib.ObjectMeshData.mesh ( )

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

Calls MR_ObjectMeshData_Get_mesh().

◆ selectedEdges()

meshlib.UndirectedEdgeBitSet meshlib.ObjectMeshData.selectedEdges ( )

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

Calls MR_ObjectMeshData_Get_selectedEdges().

◆ selectedFaces()

meshlib.FaceBitSet meshlib.ObjectMeshData.selectedFaces ( )

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

Calls MR_ObjectMeshData_Get_selectedFaces().

◆ setCreases()

void meshlib.ObjectMeshData.setCreases ( meshlib.UndirectedEdgeBitSet value)

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

Calls MR_ObjectMeshData_Set_creases().

◆ setFaceColors()

void meshlib.ObjectMeshData.setFaceColors ( meshlib.FaceColors value)

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

Calls MR_ObjectMeshData_Set_faceColors().

◆ setMesh()

void meshlib.ObjectMeshData.setMesh ( meshlib.std_shared_ptr_MR_Mesh value)

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

Calls MR_ObjectMeshData_Set_mesh().

◆ setSelectedEdges()

void meshlib.ObjectMeshData.setSelectedEdges ( meshlib.UndirectedEdgeBitSet value)

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

Calls MR_ObjectMeshData_Set_selectedEdges().

◆ setSelectedFaces()

void meshlib.ObjectMeshData.setSelectedFaces ( meshlib.FaceBitSet value)

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

Calls MR_ObjectMeshData_Set_selectedFaces().

◆ setTexturePerFace()

void meshlib.ObjectMeshData.setTexturePerFace ( meshlib.TexturePerFace value)

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

Calls MR_ObjectMeshData_Set_texturePerFace().

◆ setUvCoordinates()

void meshlib.ObjectMeshData.setUvCoordinates ( meshlib.VertCoords2 value)

< vertices coordinates in texture Modifies a member variable of class MR::ObjectMeshData named uvCoordinates. The reference to the parameter value might be preserved in this object in element uvCoordinates.

Calls MR_ObjectMeshData_Set_uvCoordinates().

◆ setVertColors()

void meshlib.ObjectMeshData.setVertColors ( meshlib.VertColors value)

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

Calls MR_ObjectMeshData_Set_vertColors().

◆ texturePerFace()

meshlib.TexturePerFace meshlib.ObjectMeshData.texturePerFace ( )

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

Calls MR_ObjectMeshData_Get_texturePerFace().

◆ uvCoordinates()

meshlib.VertCoords2 meshlib.ObjectMeshData.uvCoordinates ( )

< vertices coordinates in texture Returns a pointer to a member variable of class MR::ObjectMeshData named uvCoordinates. The reference to this object might be preserved as the return value.

Calls MR_ObjectMeshData_Get_uvCoordinates().

◆ vertColors()

meshlib.VertColors meshlib.ObjectMeshData.vertColors ( )

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

Calls MR_ObjectMeshData_Get_vertColors().


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