java.lang.Object
gov.nih.mipav.view.renderer.WildMagic.BallPivoting.TriMesh

public class TriMesh extends Object
  • Field Details

    • vert

      public Vector<Vertex> vert
    • vn

      public int vn
    • face

      public Vector<Face> face
    • fn

      public int fn
    • bbox

      public Box3 bbox
    • imark

      public int imark
  • Constructor Details

    • TriMesh

      public TriMesh()
  • Method Details

    • setVertex

      public void setVertex(Vector<Point3> _vert)
    • simplexNumber

      public int simplexNumber()
    • vertexNumber

      public int vertexNumber()
    • initFaceIMark

      public final void initFaceIMark()
    • initVertexIMark

      public final void initVertexIMark()
    • iMark

      public final int iMark()
      Access function to the incremental mark.
    • isMarked

      public final boolean isMarked(Vertex v)
      Check if the vertex incremental mark matches the one of the mesh.
      Parameters:
      v - Vertex pointer
    • isMarked

      public final boolean isMarked(Face f)
      Check if the face incremental mark matches the one of the mesh.
      Parameters:
      v - Face pointer
    • mark

      public final void mark(Vertex v)
      Set the vertex incremental mark of the vertex to the one of the mesh.
      Parameters:
      v - Vertex pointer
    • mark

      public final void mark(Face f)
      Set the face incremental mark of the vertex to the one of the mesh.
      Parameters:
      v - Vertex pointer
    • unMarkAll

      public final void unMarkAll()
    • hasPerVertexNormal

      public final boolean hasPerVertexNormal()