|
|||||||||
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.MeshPart
public class MeshPart
A class for creation, handling and output of a piece of a mesh object. A mesh part represents a stem of the tree.
Field Summary |
---|
Fields inherited from class java.util.Vector |
---|
capacityIncrement, elementCount, elementData |
Fields inherited from class java.util.AbstractList |
---|
modCount |
Constructor Summary | |
---|---|
MeshPart(Stem stem,
boolean useNormals,
boolean useQuads)
|
Method Summary | |
---|---|
void |
addSection(MeshSection section)
Adds a mesh section to the mesh part. |
java.util.Enumeration |
allFaces(Mesh mesh,
int startIndex,
boolean UVFaces)
|
java.util.Enumeration |
allVertices(boolean UVVertices)
|
int |
faceCount()
|
java.util.Vector |
faces(long inx,
MeshSection section)
|
int |
getLevel()
|
Stem |
getStem()
|
java.lang.String |
getTreePosition()
|
void |
setNormals(boolean checkNull)
Sets the normals in all mesh sections |
int |
uvCount()
|
java.util.Vector |
uvFaces(long inx,
MeshSection section,
Mesh mesh)
|
int |
vertexCount()
|
java.util.Vector |
vFaces(MeshSection section)
|
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 |
Constructor Detail |
---|
public MeshPart(Stem stem, boolean useNormals, boolean useQuads)
Method Detail |
---|
public Stem getStem()
public java.lang.String getTreePosition()
public int getLevel()
public void addSection(MeshSection section)
section
- public java.util.Enumeration allVertices(boolean UVVertices)
public java.util.Enumeration allFaces(Mesh mesh, int startIndex, boolean UVFaces)
public void setNormals(boolean checkNull)
public int vertexCount()
public int uvCount()
public int faceCount()
public java.util.Vector faces(long inx, MeshSection section) throws MeshException
inx
- section
-
MeshException
public java.util.Vector vFaces(MeshSection section) throws MeshException
section
-
MeshException
public java.util.Vector uvFaces(long inx, MeshSection section, Mesh mesh) throws MeshException
inx
- section
-
MeshException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |