org.openscience.jvxl.simplewriter
Class SimpleMarchingCubes
java.lang.Object
org.jmol.util.TriangleData
org.jmol.jvxl.calc.MarchingCubes
org.openscience.jvxl.simplewriter.SimpleMarchingCubes
public class SimpleMarchingCubes
- extends MarchingCubes
Fields inherited from class org.jmol.jvxl.calc.MarchingCubes |
bsExcludedPlanes, bsExcludedTriangles, bsExcludedVertices, bsValues, bsVoxels, colorDensity, contourType, cubeCountX, cubeCountY, cubeCountZ, cubeVertexVectors, cutoff, edgeCount, edgeData, edgePointIndexes, edgeTypeTable, edgeVectors, edgeVertexPlanes, edgeVertexPlanesHighToLow, edgeVertexPlanesLowToHigh, edgeVertexPointers, edgeVertexPointersHighToLow, edgeVertexPointersLowToHigh, fReturn, insideMaskTable, integrateSquared, isContoured, isCutoffAbsolute, isoPointIndexPlanes, isSquared, isXLowToHigh, linearOffsets, mode, MODE_CUBE, MODE_JVXL, MODE_PLANES, nTriangles, nY, nZ, pointA, pt0, surfaceReader, vertexValues, volumeData, voxelVertexVectors, yzCount, yzPlanePts, yzPlanes |
Method Summary |
protected void |
addTriangle(int ia,
int ib,
int ic,
int edgeType)
|
protected float |
getValue(int i,
int x,
int y,
int z,
int pt,
float[] tempValues)
|
protected int |
newVertex(javax.vecmath.Point3f pointA,
javax.vecmath.Vector3f edgeVector,
float f)
|
protected void |
processTriangles(int insideMask)
|
Methods inherited from class org.jmol.jvxl.calc.MarchingCubes |
addEdgeData, addVertex, calcVertexPoint, calcVoxelVertexVectors, getBsVoxels, getEdgeData, getLinearOffset, getValue, isInside, processOneCubical, resetIndexPlane, setLinearOffsets, setParameters |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
doCalcArea
private boolean doCalcArea
doSaveSurfacePoints
private boolean doSaveSurfacePoints
calculatedArea
private float calculatedArea
calculatedVolume
private float calculatedVolume
surfacePoints
private java.util.List<javax.vecmath.Point3f> surfacePoints
vdc
private VoxelDataCreator vdc
vTemp
private javax.vecmath.Vector3f vTemp
vAC
private javax.vecmath.Vector3f vAC
vAB
private javax.vecmath.Vector3f vAB
SimpleMarchingCubes
public SimpleMarchingCubes(VoxelDataCreator vdc,
VolumeData volumeData,
Parameters params,
JvxlData jvxlData,
java.util.List<javax.vecmath.Point3f> surfacePointsReturn,
float[] areaVolumeReturn)
getValue
protected float getValue(int i,
int x,
int y,
int z,
int pt,
float[] tempValues)
newVertex
protected int newVertex(javax.vecmath.Point3f pointA,
javax.vecmath.Vector3f edgeVector,
float f)
processTriangles
protected void processTriangles(int insideMask)
- Overrides:
processTriangles
in class MarchingCubes
addTriangle
protected void addTriangle(int ia,
int ib,
int ic,
int edgeType)
- Overrides:
addTriangle
in class MarchingCubes