Class ModelSurfaceTopology.VertexAttribute

java.lang.Object
gov.nih.mipav.view.renderer.J3D.model.structures.ModelSurfaceTopology.VertexAttribute
Enclosing class:
ModelSurfaceTopology

protected class ModelSurfaceTopology.VertexAttribute extends Object
The attributes associated with a vertex. These include the set of edges sharing the vertex and the set of triangles sharing the vertex. The data member m_kData allows an application to attach whatever data it wants associated with the vertex. The attachment/detachment is performed by the application in the OnVertexInsert/OnVertexRemove callbacks.
  • Field Details

    • m_kData

      public Object m_kData
      support for application-specific data.
    • m_kESet

      public ModelSet m_kESet
      set of .
    • m_kTSet

      public ModelSet m_kTSet
      set of .
  • Constructor Details

    • VertexAttribute

      public VertexAttribute()
      Construct an attribute for a vertex. The sets of edges and triangles are initially empty.
  • Method Details

    • isEmpty

      public boolean isEmpty()
      Test if the sets of adjacent edges and triangles are empty. The function is used to determine the bCreate/bDestroy parameters in the OnVertexInsert/OnVertexRemove callbacks.
      Returns:
      true iff the vertex has no adjacent edges and triangles