|
|||||||||
| 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 SDBIteratorinit in class RayIteratorpublic boolean next()
SDBIterator
next in interface SDBIteratornext in class RayIteratorpublic boolean valid()
SDBIterator
valid in interface SDBIteratorvalid in class RayIteratorpublic void end()
SDBIterator
end in interface SDBIteratorend in class RayIteratorpublic javax.vecmath.Point3d getBeginPoint()
getBeginPoint in class RayIteratorpublic javax.vecmath.Point3d getOriginalBeginPoint()
getOriginalBeginPoint in class RayIteratorpublic javax.vecmath.Point3d getCurrentPoint()
getCurrentPoint in class RayIteratorpublic javax.vecmath.Point3d getEndPoint()
getEndPoint in class RayIteratorpublic javax.vecmath.Point3d getOriginalEndPoint()
getOriginalEndPoint in class RayIteratorpublic javax.vecmath.Vector3d getLineNormal()
getLineNormal in class RayIteratorpublic int getCurrentElementIndex()
RayIterator
getCurrentElementIndex in class RayIteratorpublic byte[] getElementsData()
getElementsData in class RayIteratorpublic java.lang.Object getCurrentElement()
getCurrentElement in class RayIteratorpublic int getElementsDimension()
getElementsDimension in class RayIteratorpublic double getStep()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||