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 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 Details

    • 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 Details

    • 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
  • Method Details

    • print

      public void print()
      Print the statistics information to System.out.