|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface VertexDataServer
Method Summary | |
---|---|
int |
addTriangleCheck(int iA,
int iB,
int iC,
int check,
int check2,
boolean isAbsolute,
int color)
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. |
void |
getPlane(int x)
|
int |
getSurfacePointIndexAndFraction(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,
float[] fReturn)
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. |
float |
getValue(int x,
int y,
int z,
int ptyz)
for readers only |
Method Detail |
---|
int getSurfacePointIndexAndFraction(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, float[] fReturn)
cutoff
- isCutoffAbsolute
- x
- y
- z
- offset
- vertexA
- [0:7]vertexB
- [0:7]valueA
- valueB
- pointA
- edgeVector
- vector from A to BisContourType
- fReturn
-
int addVertexCopy(javax.vecmath.Point3f vertexXYZ, float value, int assocVertex)
vertexXYZ
- value
- assocVertex
- unique association vertex or -1
int addTriangleCheck(int iA, int iB, int iC, int check, int check2, boolean isAbsolute, int color)
iA
- iB
- iC
- check
- check2
- TODOisAbsolute
- color
-
float getValue(int x, int y, int z, int ptyz)
x
- y
- z
- ptyz
-
java.lang.Exception
void getPlane(int x)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |