|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface VertexDataServer
Method Summary | |
---|---|
void |
addTriangleCheck(int iA,
int iB,
int iC,
int check,
boolean isAbsolute)
addTriangleCheck adds a triangle along with a 3-bit check indicating which edges to draw in mesh mode: 1 (iA-iB) + 2 (iB-iC) + 4 (iC-iA) |
int |
addVertexCopy(javax.vecmath.Point3f vertexXYZ,
float value,
int assocVertex)
addVertexCopy is used by the Marching Squares algorithm to uniquely identify a new vertex when an edge is crossed in the 2D plane. |
int |
getSurfacePointIndex(float cutoff,
boolean isCutoffAbsolute,
int x,
int y,
int z,
javax.vecmath.Point3i offset,
int vertexA,
int vertexB,
float valueA,
float valueB,
javax.vecmath.Point3f pointA,
javax.vecmath.Vector3f edgeVector,
boolean isContourType)
getSurfacePointIndex is used by the Marching Cubes algorithm and must return a unique integer identifier for a vertex created by the Marching Cube algorithm when it finds an edge. |
Method Detail |
---|
int getSurfacePointIndex(float cutoff, boolean isCutoffAbsolute, int x, int y, int z, javax.vecmath.Point3i offset, int vertexA, int vertexB, float valueA, float valueB, javax.vecmath.Point3f pointA, javax.vecmath.Vector3f edgeVector, boolean isContourType)
cutoff
- isCutoffAbsolute
- x
- y
- z
- offset
- vertexA
- [0:7]vertexB
- [0:7]valueA
- valueB
- pointA
- edgeVector
- vector from A to BisContourType
-
int addVertexCopy(javax.vecmath.Point3f vertexXYZ, float value, int assocVertex)
vertexXYZ
- value
- assocVertex
- unique association vertex or -1
void addTriangleCheck(int iA, int iB, int iC, int check, boolean isAbsolute)
iA
- iB
- iC
- check
- isAbsolute
-
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |