public class WholeBodyScene extends XCatScene
ADD_HIGHEST_PRIORITY, ADD_LOWEST_PRIORITY
Constructor and Description |
---|
WholeBodyScene() |
Modifier and Type | Method and Description |
---|---|
void |
configure()
Configures the object before execution
|
java.lang.String |
getBibtexCitation()
Returns the citation in bibTex format
|
float[] |
getBinaryRepresentation()
Returns the scene as an collection of Bsplines:
|
MotionField |
getCompoundMotion(int numberOfBSplineTimePoints,
java.util.ArrayList<java.util.ArrayList<PointND>> additionalMotion,
int context)
Creates a motion field from a sequence of points in time.
|
java.lang.String |
getMedlineCitation()
Returns the citation in Medline format
|
java.lang.String |
getName() |
PointND |
getPosition(PointND initialPosition,
double initialTime,
double time)
Determines the position at a given initialPosition and a given time where time = 0 is the initial position and time = 1 is the end position.
|
java.util.ArrayList<PointND> |
getPositions(PointND initialPosition,
double initialTime,
double... times) |
MotionField |
getSceneMotion(int numberOfBSplineTimePoints,
java.util.ArrayList<java.util.ArrayList<PointND>> additionalMotion,
int context)
Creates a motion field from the scene motion plus a sequence of points in time.
|
java.util.ArrayList<SurfaceBSpline> |
readSplines()
Reads XCat from file.
|
PrioritizableScene |
tessellateScene(double voxelSizeX,
double voxelSizeY,
double voxelSizeZ,
double samplingU,
double samplingV,
double time)
This definition of XCat does tessellate the scene, i.e.
|
createPhysicalObjects, exclude, generateFromSplineName, getScene, getSplineNameMaterialNameLUT, getSplinePriorityLUT, getSplines, getTimeWarper, getVariants, setTimeWarper
getMotionField
getAnalyticPhantoms, isConfigured, setConfigured, tessellatePhantom, toString
add, add, add, addAll, addAll, clear, clearObjectsOnly, contains, containsAll, getHighestPriority, getLowestPriority, getObject, getPriority, isEmpty, iterator, remove, removeAll, retainAll, size, toArray, toArray
getBackgroundMaterial, getMax, getMin, setBackground, setMax, setMin, setName
public void configure() throws java.lang.Exception
GUIConfigurable
configure
in interface GUIConfigurable
configure
in class AnalyticPhantom
java.lang.Exception
- may happenpublic PrioritizableScene tessellateScene(double voxelSizeX, double voxelSizeY, double voxelSizeZ, double samplingU, double samplingV, double time)
XCatScene
tessellateScene
in class XCatScene
voxelSizeX
- the resolution of the object in X directionvoxelSizeY
- the resolution of the object in Y directionvoxelSizeZ
- the resolution of the object in Z directionsamplingU
- sampling factor in the spline internal u directionsamplingV
- sampling factor in the spline internal v directiontime
- the time between 0 and 1 to draw the scene. Note that the time is being warped according to the time warper.public java.util.ArrayList<SurfaceBSpline> readSplines()
public MotionField getSceneMotion(int numberOfBSplineTimePoints, java.util.ArrayList<java.util.ArrayList<PointND>> additionalMotion, int context)
numberOfBSplineTimePoints
- additionalMotion
- context
- public MotionField getCompoundMotion(int numberOfBSplineTimePoints, java.util.ArrayList<java.util.ArrayList<PointND>> additionalMotion, int context)
numberOfBSplineTimePoints
- additionalMotion
- context
- public PointND getPosition(PointND initialPosition, double initialTime, double time)
MotionField
public java.util.ArrayList<PointND> getPositions(PointND initialPosition, double initialTime, double... times)
public java.lang.String getName()
getName
in class AnalyticPhantom
public java.lang.String getBibtexCitation()
Citeable
public java.lang.String getMedlineCitation()
Citeable
public float[] getBinaryRepresentation()
XCatScene
type total size in floats # number of splines Bsplines priorities materials
getBinaryRepresentation
in class XCatScene