|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.unh.sdb.datasource.RayIterator
public abstract class RayIterator
Field Summary | |
---|---|
protected DataSource |
dataSource
|
protected TransferFunction |
transferFunction
|
Constructor Summary | |
---|---|
RayIterator(DataSource dataSource)
|
Method Summary | |
---|---|
protected static javax.vecmath.Vector3d |
calculateNormal(double beginX,
double beginY,
double beginZ,
double endX,
double endY,
double endZ)
Calculate the normal in the plane XZ on the line that conects the two points line eq: _x = _p0 + t * _d plane perpendic. |
static RayIterator |
create(DataSource dataSource,
javax.vecmath.Point3d p1,
javax.vecmath.Point3d p2)
|
static RayIterator |
create(DataSource dataSource,
javax.vecmath.Point3d begin,
javax.vecmath.Point3d end,
IndexSpaceID blockSize,
double step)
|
static RayIterator |
create(DataSource dataSource,
javax.vecmath.Point3i p1,
javax.vecmath.Point3i p2)
|
abstract void |
end()
Advance the iterator to the last valid value in the iteration. |
abstract javax.vecmath.Point3d |
getBeginPoint()
Returns the begin, current and end point or block coordinates. |
abstract java.lang.Object |
getCurrentElement()
|
abstract int |
getCurrentElementIndex()
Data is stored in a vector. |
abstract javax.vecmath.Point3d |
getCurrentPoint()
|
abstract byte[] |
getElementsData()
|
abstract int |
getElementsDimension()
|
abstract javax.vecmath.Point3d |
getEndPoint()
|
abstract javax.vecmath.Vector3d |
getLineNormal()
|
abstract javax.vecmath.Point3d |
getOriginalBeginPoint()
|
abstract javax.vecmath.Point3d |
getOriginalEndPoint()
|
TransferFunction |
getTransferFunction()
|
abstract void |
init()
Perform any necessary initialization, and set the iterator value to the first value in the iteration. |
abstract boolean |
next()
Advance the iterator by one step. |
abstract boolean |
valid()
Return true if the iterator currently has a valid value, false otherwise. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected DataSource dataSource
protected TransferFunction transferFunction
Constructor Detail |
---|
public RayIterator(DataSource dataSource)
Method Detail |
---|
public static RayIterator create(DataSource dataSource, javax.vecmath.Point3i p1, javax.vecmath.Point3i p2)
public static RayIterator create(DataSource dataSource, javax.vecmath.Point3d p1, javax.vecmath.Point3d p2)
public static RayIterator create(DataSource dataSource, javax.vecmath.Point3d begin, javax.vecmath.Point3d end, IndexSpaceID blockSize, double step)
public abstract void init()
SDBIterator
init
in interface SDBIterator
public abstract boolean next()
SDBIterator
next
in interface SDBIterator
public abstract boolean valid()
SDBIterator
valid
in interface SDBIterator
public abstract void end()
SDBIterator
end
in interface SDBIterator
public abstract javax.vecmath.Point3d getBeginPoint()
public abstract javax.vecmath.Point3d getOriginalBeginPoint()
public abstract javax.vecmath.Point3d getCurrentPoint()
public abstract javax.vecmath.Point3d getEndPoint()
public abstract javax.vecmath.Point3d getOriginalEndPoint()
public abstract javax.vecmath.Vector3d getLineNormal()
public abstract int getCurrentElementIndex()
public abstract java.lang.Object getCurrentElement()
public abstract byte[] getElementsData()
public abstract int getElementsDimension()
public final TransferFunction getTransferFunction()
protected static javax.vecmath.Vector3d calculateNormal(double beginX, double beginY, double beginZ, double endX, double endY, double endZ)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |