|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.util.AbstractCollection<E>
java.util.AbstractList<E>
java.util.Vector
net.sourceforge.arbaro.mesh.Mesh
public class Mesh
A class for creation, handling and output of a mesh object. A Mesh consists of MeshParts which are tube like objects, made from MeshSections. See the this diagram:
Field Summary | |
---|---|
int[] |
firstMeshPart
|
Fields inherited from class java.util.Vector |
---|
capacityIncrement, elementCount, elementData |
Fields inherited from class java.util.AbstractList |
---|
modCount |
Constructor Summary | |
---|---|
Mesh(int levels)
|
Method Summary | |
---|---|
void |
addMeshpart(MeshPart meshpart)
Adds a mesh part (i.e. a stem) to the mesh. |
java.util.Enumeration |
allFaces(int startIndex,
boolean UVFaces,
int stemLevel)
|
java.util.Enumeration |
allParts(int stemLevel)
|
java.util.Enumeration |
allVertices(boolean UVVertices)
|
int |
faceCount()
Returns the total number of faces, that has to be created for the mesh. |
int |
firstUVIndex(int level)
Returns the index of the first uv-vector, of the given level |
int |
uvCount()
Returns the total number of uv-vectors, that has to be created for the mesh. |
int |
vertexCount()
Returns the total number of vertices in the mesh. |
Methods inherited from class java.util.Vector |
---|
add, add, addAll, addAll, addElement, capacity, clear, clone, contains, containsAll, copyInto, elementAt, elements, ensureCapacity, equals, firstElement, get, hashCode, indexOf, indexOf, insertElementAt, isEmpty, lastElement, lastIndexOf, lastIndexOf, remove, remove, removeAll, removeAllElements, removeElement, removeElementAt, removeRange, retainAll, set, setElementAt, setSize, size, subList, toArray, toArray, toString, trimToSize |
Methods inherited from class java.util.AbstractList |
---|
iterator, listIterator, listIterator |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface java.util.List |
---|
iterator, listIterator, listIterator |
Field Detail |
---|
public int[] firstMeshPart
Constructor Detail |
---|
public Mesh(int levels)
Method Detail |
---|
public void addMeshpart(MeshPart meshpart)
meshpart
- public java.util.Enumeration allVertices(boolean UVVertices)
public java.util.Enumeration allFaces(int startIndex, boolean UVFaces, int stemLevel)
public java.util.Enumeration allParts(int stemLevel)
public int vertexCount()
public int faceCount()
public int uvCount()
public int firstUVIndex(int level)
level
- level
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |