Class ModelSurfaceTopology.Statistics
java.lang.Object
gov.nih.mipav.view.renderer.J3D.model.structures.ModelSurfaceTopology.Statistics
- Enclosing class:
ModelSurfaceTopology
For debugging and testing. A simple class for storing information about the mesh including the number of vertices
in the mesh, the number of edges in the mesh, number of triangles in the mesh, the average number of edges per
vertex, the average number of triangles per vertex, the average number of triangles per edge, the maximum number
of edges for a vertex, the maximum number of triangles for a vertex, and the maximum number of triangles for an
edge.
-
Field Summary
FieldsModifier and TypeFieldDescriptionfloatself-explanatory statistics.floatDOCUMENT ME!floatDOCUMENT ME!intDOCUMENT ME!intDOCUMENT ME!intDOCUMENT ME!intDOCUMENT ME!intDOCUMENT ME!intnumber of vertices, edge, and triangles in the mesh. -
Constructor Summary
ConstructorsConstructorDescriptionStatistics(ModelSurfaceTopology kTopo) The constructor and only member function for the class. -
Method Summary
-
Field Details
-
m_fAverageEdgesPerVertex
public float m_fAverageEdgesPerVertexself-explanatory statistics. -
m_fAverageTrianglesPerEdge
public float m_fAverageTrianglesPerEdgeDOCUMENT ME! -
m_fAverageTrianglesPerVertex
public float m_fAverageTrianglesPerVertexDOCUMENT ME! -
m_iEQuantity
public int m_iEQuantityDOCUMENT ME! -
m_iMaximumEdgesPerVertex
public int m_iMaximumEdgesPerVertexDOCUMENT ME! -
m_iMaximumTrianglesPerEdge
public int m_iMaximumTrianglesPerEdgeDOCUMENT ME! -
m_iMaximumTrianglesPerVertex
public int m_iMaximumTrianglesPerVertexDOCUMENT ME! -
m_iTQuantity
public int m_iTQuantityDOCUMENT ME! -
m_iVQuantity
public int m_iVQuantitynumber of vertices, edge, and triangles in the mesh.
-
-
Constructor Details
-
Statistics
The constructor and only member function for the class. The statistics gathering is all done by the constructor.- Parameters:
kTopo- the mesh topology object whose statistics need to be calculated
-
-
Method Details
-
print
public void print()Print the statistics information to System.out.
-