edu.stanford.rsl.konrad.phantom.xcat
Class WholeBodyScene

java.lang.Object
  extended by edu.stanford.rsl.konrad.rendering.AbstractScene
      extended by edu.stanford.rsl.konrad.rendering.PrioritizableScene
          extended by edu.stanford.rsl.konrad.phantom.AnalyticPhantom
              extended by edu.stanford.rsl.konrad.phantom.xcat.XCatScene
                  extended by edu.stanford.rsl.konrad.phantom.xcat.WholeBodyScene
All Implemented Interfaces:
Citeable, GUIConfigurable, MotionField, java.lang.Iterable<PhysicalObject>, java.util.Collection<PhysicalObject>
Direct Known Subclasses:
BreathingScene, CombinedBreathingHeartScene, SquatScene

public class WholeBodyScene
extends XCatScene


Field Summary
 
Fields inherited from class edu.stanford.rsl.konrad.rendering.PrioritizableScene
ADD_HIGHEST_PRIORITY, ADD_LOWEST_PRIORITY
 
Constructor Summary
WholeBodyScene()
           
 
Method Summary
 void configure()
          Configures the object before execution
 java.lang.String getBibtexCitation()
          Returns the citation in bibTex format
 MotionField getCompoundMotion(int numberOfBSplineTimePoints, java.util.ArrayList<java.util.ArrayList<PointND>> additionalMotion, int context)
           
 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)
           
 java.util.ArrayList<SurfaceBSpline> getSplines()
           
 java.util.ArrayList<SurfaceBSpline> readSplines()
           
 PrioritizableScene tessellateScene(double voxelSizeX, double voxelSizeY, double voxelSizeZ, double samplingU, double samplingV, double time)
           
 
Methods inherited from class edu.stanford.rsl.konrad.phantom.xcat.XCatScene
add, generateFromSplineName, getSplineNameMaterialNameLUT, getSplinePriorityLUT, getTimeWarper, main, setTimeWarper
 
Methods inherited from class edu.stanford.rsl.konrad.phantom.AnalyticPhantom
getAnalyticPhantoms, isConfigured, setConfigured, toString
 
Methods inherited from class edu.stanford.rsl.konrad.rendering.PrioritizableScene
add, add, add, addAll, addAll, clear, contains, containsAll, getHighestPriority, getLowestPriority, getPriority, isEmpty, iterator, remove, removeAll, retainAll, size, toArray, toArray
 
Methods inherited from class edu.stanford.rsl.konrad.rendering.AbstractScene
getBackgroundMaterial, getMax, getMin, setBackground, setMax, setMin, setName
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.Collection
equals, hashCode
 

Constructor Detail

WholeBodyScene

public WholeBodyScene()
Method Detail

configure

public void configure()
               throws java.lang.Exception
Description copied from interface: GUIConfigurable
Configures the object before execution

Specified by:
configure in interface GUIConfigurable
Overrides:
configure in class AnalyticPhantom
Throws:
java.lang.Exception - may happen

tessellateScene

public PrioritizableScene tessellateScene(double voxelSizeX,
                                          double voxelSizeY,
                                          double voxelSizeZ,
                                          double samplingU,
                                          double samplingV,
                                          double time)
Specified by:
tessellateScene in class XCatScene

readSplines

public java.util.ArrayList<SurfaceBSpline> readSplines()

getSceneMotion

public MotionField getSceneMotion(int numberOfBSplineTimePoints,
                                  java.util.ArrayList<java.util.ArrayList<PointND>> additionalMotion,
                                  int context)

getCompoundMotion

public MotionField getCompoundMotion(int numberOfBSplineTimePoints,
                                     java.util.ArrayList<java.util.ArrayList<PointND>> additionalMotion,
                                     int context)

getSplines

public java.util.ArrayList<SurfaceBSpline> getSplines()
Specified by:
getSplines in class XCatScene

getPosition

public PointND getPosition(PointND initialPosition,
                           double initialTime,
                           double time)
Description copied from interface: MotionField
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.

Returns:
the position at the time

getPositions

public java.util.ArrayList<PointND> getPositions(PointND initialPosition,
                                                 double initialTime,
                                                 double... times)

getName

public java.lang.String getName()
Specified by:
getName in class AnalyticPhantom

getBibtexCitation

public java.lang.String getBibtexCitation()
Description copied from interface: Citeable
Returns the citation in bibTex format

Returns:
citation as String

getMedlineCitation

public java.lang.String getMedlineCitation()
Description copied from interface: Citeable
Returns the citation in Medline format

Returns:
citation as String