|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.unh.sdb.datasource.RayIterator
edu.unh.sdb.datasource.RayIteratorStep
public class RayIteratorStep
Reads data from a DataSource
along a line segment.
Field Summary |
---|
Fields inherited from class edu.unh.sdb.datasource.RayIterator |
---|
dataSource, transferFunction |
Constructor Summary | |
---|---|
RayIteratorStep(DataSource dataSource,
javax.vecmath.Point3d begin,
javax.vecmath.Point3d end,
IndexSpaceID blockSize,
double step)
Reads data from dataSource along the line seqment between p1 and p2. |
Method Summary | |
---|---|
void |
end()
Advance the iterator to the last valid value in the iteration. |
javax.vecmath.Point3d |
getBeginPoint()
Returns the begin, current and end point or block coordinates. |
java.lang.Object |
getCurrentElement()
|
int |
getCurrentElementIndex()
Data is stored in a vector. |
javax.vecmath.Point3d |
getCurrentPoint()
|
byte[] |
getElementsData()
|
int |
getElementsDimension()
|
javax.vecmath.Point3d |
getEndPoint()
|
javax.vecmath.Vector3d |
getLineNormal()
|
javax.vecmath.Point3d |
getOriginalBeginPoint()
|
javax.vecmath.Point3d |
getOriginalEndPoint()
|
double |
getStep()
|
void |
init()
Perform any necessary initialization, and set the iterator value to the first value in the iteration. |
boolean |
next()
Advance the iterator by one step. |
boolean |
valid()
Return true if the iterator currently has a valid value, false otherwise. |
Methods inherited from class edu.unh.sdb.datasource.RayIterator |
---|
calculateNormal, create, create, create, getTransferFunction |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RayIteratorStep(DataSource dataSource, javax.vecmath.Point3d begin, javax.vecmath.Point3d end, IndexSpaceID blockSize, double step)
Method Detail |
---|
public void init()
SDBIterator
init
in interface SDBIterator
init
in class RayIterator
public boolean next()
SDBIterator
next
in interface SDBIterator
next
in class RayIterator
public boolean valid()
SDBIterator
valid
in interface SDBIterator
valid
in class RayIterator
public void end()
SDBIterator
end
in interface SDBIterator
end
in class RayIterator
public javax.vecmath.Point3d getBeginPoint()
getBeginPoint
in class RayIterator
public javax.vecmath.Point3d getOriginalBeginPoint()
getOriginalBeginPoint
in class RayIterator
public javax.vecmath.Point3d getCurrentPoint()
getCurrentPoint
in class RayIterator
public javax.vecmath.Point3d getEndPoint()
getEndPoint
in class RayIterator
public javax.vecmath.Point3d getOriginalEndPoint()
getOriginalEndPoint
in class RayIterator
public javax.vecmath.Vector3d getLineNormal()
getLineNormal
in class RayIterator
public int getCurrentElementIndex()
RayIterator
getCurrentElementIndex
in class RayIterator
public byte[] getElementsData()
getElementsData
in class RayIterator
public java.lang.Object getCurrentElement()
getCurrentElement
in class RayIterator
public int getElementsDimension()
getElementsDimension
in class RayIterator
public double getStep()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |