Class ModelSurfaceTopology.Statistics
- java.lang.Object
-
- gov.nih.mipav.view.renderer.J3D.model.structures.ModelSurfaceTopology.Statistics
-
- Enclosing class:
- ModelSurfaceTopology
public static class ModelSurfaceTopology.Statistics extends java.lang.Object
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
Fields Modifier and Type Field Description float
m_fAverageEdgesPerVertex
self-explanatory statistics.float
m_fAverageTrianglesPerEdge
DOCUMENT ME!float
m_fAverageTrianglesPerVertex
DOCUMENT ME!int
m_iEQuantity
DOCUMENT ME!int
m_iMaximumEdgesPerVertex
DOCUMENT ME!int
m_iMaximumTrianglesPerEdge
DOCUMENT ME!int
m_iMaximumTrianglesPerVertex
DOCUMENT ME!int
m_iTQuantity
DOCUMENT ME!int
m_iVQuantity
number of vertices, edge, and triangles in the mesh.
-
Constructor Summary
Constructors Constructor Description Statistics(ModelSurfaceTopology kTopo)
The constructor and only member function for the class.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
print()
Print the statistics information to System.out.
-
-
-
Field Detail
-
m_fAverageEdgesPerVertex
public float m_fAverageEdgesPerVertex
self-explanatory statistics.
-
m_fAverageTrianglesPerEdge
public float m_fAverageTrianglesPerEdge
DOCUMENT ME!
-
m_fAverageTrianglesPerVertex
public float m_fAverageTrianglesPerVertex
DOCUMENT ME!
-
m_iEQuantity
public int m_iEQuantity
DOCUMENT ME!
-
m_iMaximumEdgesPerVertex
public int m_iMaximumEdgesPerVertex
DOCUMENT ME!
-
m_iMaximumTrianglesPerEdge
public int m_iMaximumTrianglesPerEdge
DOCUMENT ME!
-
m_iMaximumTrianglesPerVertex
public int m_iMaximumTrianglesPerVertex
DOCUMENT ME!
-
m_iTQuantity
public int m_iTQuantity
DOCUMENT ME!
-
m_iVQuantity
public int m_iVQuantity
number of vertices, edge, and triangles in the mesh.
-
-
Constructor Detail
-
Statistics
public Statistics(ModelSurfaceTopology kTopo)
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
-
-