IsoSurface Rendering of an AR Representation

rlaramee
Class SharedEdgeVertex

java.lang.Object
  |
  +--rlaramee.SharedVertex
        |
        +--rlaramee.SharedEdgeVertex

public class SharedEdgeVertex
extends SharedVertex

Description: The purpose of the SharedEdgeVertex object is to avoid paging. When a finer resolution octree node discovers that it has a vertex that is either on the face or the edge of a coarser resolution (adjacent) neighboring node, the finer resolution node instantiates a SharedVertex object and adds it to the coarser resolution neighbor's sharedVertexList. Then when Marching Cubes is done, a second pass is made through all of the coarser resolution nodes with a non-empty sharedVertexList, and then their triangles are updated. The SharedVertex object is used to remember state information such as:

  1. The TriangleVertex that is shared
  2. the edge of the coarser cube the SharedVertex may be on
  3. the octant that the finer resolution node responsible for generating the sharedVertex is in

start date Fri 7 July 00

Version:
1.0
Author:
Robert S Laramee
See Also:

Field Summary
private  byte coarseEdge
          range is from 0 - 11
 
Fields inherited from class rlaramee.SharedVertex
coarseFace, fineOctant, triangleVertex
 
Constructor Summary
SharedEdgeVertex(TriangleVertex triangleVertex)
          constructor
 
Method Summary
 byte getCoarseEdge()
           
 boolean setCoarseEdge(byte edge)
           
 java.lang.String toString()
           
 
Methods inherited from class rlaramee.SharedVertex
getCoarseFace, getFineOctant, getSourceResolution, getTriangleVertex, isEqual, onSameFace, setCoarseFace, setFineOctant, setSourceResolution, setTriangleVertex, toShortString
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, wait, wait, wait
 

Field Detail

coarseEdge

private byte coarseEdge
range is from 0 - 11
Constructor Detail

SharedEdgeVertex

public SharedEdgeVertex(TriangleVertex triangleVertex)
constructor
Method Detail

getCoarseEdge

public byte getCoarseEdge()
Returns:
the coarse edge on which this SharedVertex lies

setCoarseEdge

public boolean setCoarseEdge(byte edge)
Parameters:
the - coarse edge on which this SharedVertex lies
Returns:
TRUE if the set() was successful

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object
Returns:
a SharedVertex object's string representation

IsoSurface Rendering of an AR Representation