|
IsoSurface Rendering of an AR Representation | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.util.AbstractCollection | +--java.util.AbstractList | +--java.util.Vector | +--rlaramee.TriangleVertexList
Description: This is a list of all the triangle vertices. A triangle is 3 integers, each integer indentifying an index into the VertexList. This is to avoid duplication of data since 1 vertex may belong to more than 1 triangle.
start date Mon 21 Feb 2000
Field Summary | |
private boolean |
debug
|
private int |
totalVertexCounter
|
Fields inherited from class java.util.Vector |
capacityIncrement, elementCount, elementData, serialVersionUID |
Fields inherited from class java.util.AbstractList |
modCount |
Constructor Summary | |
TriangleVertexList()
constructor |
Method Summary | |
int |
addVertex(TriangleVertex newVertex,
int polygonNumber)
|
TriangleVertex |
getVertex(int index)
|
void |
print()
prints out the corresponding vertex for each index in the list |
void |
setTotal()
|
java.lang.String |
toString()
The string representation of this TriangleVertexList |
Methods inherited from class java.util.Vector |
add, add, addAll, addAll, addElement, capacity, clear, clone, contains, containsAll, copyInto, elementAt, elements, ensureCapacity, ensureCapacityHelper, equals, firstElement, get, hashCode, indexOf, indexOf, insertElementAt, isEmpty, lastElement, lastIndexOf, lastIndexOf, readObject, remove, remove, removeAll, removeAllElements, removeElement, removeElementAt, removeRange, retainAll, set, setElementAt, setSize, size, subList, toArray, toArray, trimToSize, writeObject |
Methods inherited from class java.util.AbstractList |
iterator, listIterator, listIterator |
Methods inherited from class java.lang.Object |
|
Methods inherited from interface java.util.List |
iterator, listIterator, listIterator |
Field Detail |
private int totalVertexCounter
private boolean debug
Constructor Detail |
public TriangleVertexList()
Method Detail |
public void setTotal()
public int addVertex(TriangleVertex newVertex, int polygonNumber)
vertex
- the vertex to add to the listpolygonNumber
- the index of the polygon in the list of
polygons e.g. the isosurface that is using this
vertexand Gridded3DSet.java
public TriangleVertex getVertex(int index)
index
- an index entry into the VertexListpublic void print()
public java.lang.String toString()
toString
in class java.util.Vector
|
IsoSurface Rendering of an AR Representation | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |