public class HeartScene extends XCatScene
Modifier and Type | Field and Description |
---|---|
double |
heartCycles |
ADD_HIGHEST_PRIORITY, ADD_LOWEST_PRIORITY
Constructor and Description |
---|
HeartScene() |
Modifier and Type | Method and Description |
---|---|
void |
configure()
Configures the object before execution
|
void |
createArteryTree(MotionField referenceMotion) |
void |
createLesions(MotionField referenceMotion)
Renders lesions into the atrium and the ventricle according to the specified motion field.
|
java.lang.String |
getBibtexCitation()
Returns the citation in bibTex format
|
float[] |
getBinaryRepresentation()
Returns the scene as an collection of Bsplines:
|
java.lang.String |
getMedlineCitation()
Returns the citation in Medline format
|
MotionField |
getMotionField() |
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) |
java.util.ArrayList<SurfaceBSpline> |
getSplines()
returns the geometric definition of XCat.
|
void |
init() |
java.util.ArrayList<SurfaceBSpline> |
readHeartState(int state) |
void |
setTimeWarper(TimeWarper warper) |
PrioritizableScene |
tessellateScene(double voxelSizeX,
double voxelSizeY,
double voxelSizeZ,
double samplingU,
double samplingV,
double time)
This definition of XCat does tessellate the scene, i.e.
|
PrioritizableScene |
tessellateSceneFixedUVSampling(int samplingU,
int samplingV,
double time) |
createPhysicalObjects, exclude, generateFromSplineName, getScene, getSplineNameMaterialNameLUT, getSplinePriorityLUT, getTimeWarper, getVariants
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 MotionField getMotionField()
getMotionField
in class AnalyticPhantom4D
public void configure() throws java.lang.Exception
GUIConfigurable
configure
in interface GUIConfigurable
configure
in class AnalyticPhantom
java.lang.Exception
- may happenpublic java.util.ArrayList<SurfaceBSpline> readHeartState(int state)
public void createArteryTree(MotionField referenceMotion)
referenceMotion
- public void createLesions(MotionField referenceMotion)
referenceMotion
- the motion field to animate the lesions.public void init()
public float[] getBinaryRepresentation()
XCatScene
type total size in floats # number of splines Bsplines priorities materials
getBinaryRepresentation
in class XCatScene
public 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 PrioritizableScene tessellateSceneFixedUVSampling(int samplingU, int samplingV, double time)
public java.util.ArrayList<SurfaceBSpline> getSplines()
XCatScene
getSplines
in class XCatScene
public PointND getPosition(PointND initialPosition, double initialTime, double time)
MotionField
public java.util.ArrayList<PointND> getPositions(PointND initialPosition, double initialTime, double... times)
public void setTimeWarper(TimeWarper warper)
setTimeWarper
in interface MotionField
setTimeWarper
in class XCatScene
public java.lang.String getName()
getName
in class AnalyticPhantom
public java.lang.String getBibtexCitation()
Citeable
public java.lang.String getMedlineCitation()
Citeable