Package com.agisoft.metashape
Class Model.Mesh
java.lang.Object
com.agisoft.metashape.Model.Mesh
- Enclosing class:
- Model
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddelete()protected voidfinalize()static longgetCPtr(Model.Mesh obj) getFace(int index) Mesh face.intMesh face count.getVertex(int index) Mesh vertex.getVertexColor(int index) Mesh vertex color.intMesh vertex count.booleanhasUV()Returns true if model has UV coordinates.booleanReturns true if model has vertex colors.booleanReturns true if model has confidence values.voidsetFace(int index, Model.Face f) Mesh face.voidsetFaceCount(int count) Mesh face count.voidsetVertex(int index, Model.Vertex v) Mesh vertex.voidsetVertexColor(int index, Vector3uc color) Mesh vertex color.voidsetVertexCount(int count) Mesh vertex count.
-
Field Details
-
swigCMemOwn
protected transient boolean swigCMemOwn
-
-
Constructor Details
-
Mesh
public Mesh(long cPtr, boolean cMemoryOwn) -
Mesh
public Mesh() -
Mesh
-
-
Method Details
-
getCPtr
-
finalize
protected void finalize() -
delete
public void delete() -
setFaceCount
public void setFaceCount(int count) Mesh face count. -
getFaceCount
public int getFaceCount()Mesh face count. -
setVertexCount
public void setVertexCount(int count) Mesh vertex count. -
getVertexCount
public int getVertexCount()Mesh vertex count. -
setFace
Mesh face. -
getFace
Mesh face. -
setVertex
Mesh vertex. -
getVertex
Mesh vertex. -
setVertexColor
Mesh vertex color. -
getVertexColor
Mesh vertex color. -
hasUV
public boolean hasUV()Returns true if model has UV coordinates. -
hasVertexColors
public boolean hasVertexColors()Returns true if model has vertex colors. -
hasVertexConfidence
public boolean hasVertexConfidence()Returns true if model has confidence values.
-