edu.stanford.rsl.konrad.phantom.xcat
Class BreathingScene
java.lang.Object
edu.stanford.rsl.konrad.rendering.AbstractScene
edu.stanford.rsl.konrad.rendering.PrioritizableScene
edu.stanford.rsl.konrad.phantom.AnalyticPhantom
edu.stanford.rsl.konrad.phantom.xcat.XCatScene
edu.stanford.rsl.konrad.phantom.xcat.WholeBodyScene
edu.stanford.rsl.konrad.phantom.xcat.BreathingScene
- All Implemented Interfaces:
- Citeable, GUIConfigurable, MotionField, java.lang.Iterable<PhysicalObject>, java.util.Collection<PhysicalObject>
public class BreathingScene
- extends WholeBodyScene
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 java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface java.util.Collection |
equals, hashCode |
BreathingScene
public BreathingScene()
configure
public void configure()
- Description copied from interface:
GUIConfigurable
- Configures the object before execution
- Specified by:
configure
in interface GUIConfigurable
- Overrides:
configure
in class WholeBodyScene
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.
- Specified by:
getPosition
in interface MotionField
- Overrides:
getPosition
in class WholeBodyScene
- Returns:
- the position at the time
getPositions
public java.util.ArrayList<PointND> getPositions(PointND initialPosition,
double initialTime,
double... times)
- Specified by:
getPositions
in interface MotionField
- Overrides:
getPositions
in class WholeBodyScene
setTimeWarper
public void setTimeWarper(TimeWarper warper)
- Specified by:
setTimeWarper
in interface MotionField
- Overrides:
setTimeWarper
in class XCatScene
getDiaphragmMotionVector
public SimpleVector getDiaphragmMotionVector(double initialTime,
double time)
- Returns the Motion Vector of the top of the diaphragm from initialTime to time
- Parameters:
initialTime
- the initial timetime
- the time
- Returns:
- the motion vector
getDiaphragmMovement
public double getDiaphragmMovement()
- Returns:
- the diaphragmMovement
setDiaphragmMovement
public void setDiaphragmMovement(double diaphragmMovement)
- Parameters:
diaphragmMovement
- the diaphragmMovement to set
getNumberOfBSplineTimePoints
public int getNumberOfBSplineTimePoints()
- Returns:
- the numberOfBSplineTimePoints
setNumberOfBSplineTimePoints
public void setNumberOfBSplineTimePoints(int numberOfBSplineTimePoints)
- Parameters:
numberOfBSplineTimePoints
- the numberOfBSplineTimePoints to set
getDiaphragmMin
public PointND getDiaphragmMin()
- Returns:
- the diaphragmMin
setDiaphragmMin
public void setDiaphragmMin(PointND diaphragmMin)
- Parameters:
diaphragmMin
- the diaphragmMin to set
getDiaphragmMax
public PointND getDiaphragmMax()
- Returns:
- the diaphragmMax
setDiaphragmMax
public void setDiaphragmMax(PointND diaphragmMax)
- Parameters:
diaphragmMax
- the diaphragmMax to set
getName
public java.lang.String getName()
- Overrides:
getName
in class WholeBodyScene