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, getVariantsgetAnalyticPhantoms, isConfigured, setConfigured, tessellatePhantom, toStringadd, add, add, addAll, addAll, clear, clearObjectsOnly, contains, containsAll, getHighestPriority, getLowestPriority, getObject, getPriority, isEmpty, iterator, remove, removeAll, retainAll, size, toArray, toArraygetBackgroundMaterial, getMax, getMin, setBackground, setMax, setMin, setNamepublic MotionField getMotionField()
getMotionField in class AnalyticPhantom4Dpublic void configure()
throws java.lang.Exception
GUIConfigurableconfigure in interface GUIConfigurableconfigure in class AnalyticPhantomjava.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()
XCatScenetype total size in floats # number of splines Bsplines priorities materials
getBinaryRepresentation in class XCatScenepublic PrioritizableScene tessellateScene(double voxelSizeX, double voxelSizeY, double voxelSizeZ, double samplingU, double samplingV, double time)
XCatScenetessellateScene in class XCatScenevoxelSizeX - 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()
XCatScenegetSplines in class XCatScenepublic PointND getPosition(PointND initialPosition, double initialTime, double time)
MotionFieldpublic java.util.ArrayList<PointND> getPositions(PointND initialPosition, double initialTime, double... times)
public void setTimeWarper(TimeWarper warper)
setTimeWarper in interface MotionFieldsetTimeWarper in class XCatScenepublic java.lang.String getName()
getName in class AnalyticPhantompublic java.lang.String getBibtexCitation()
Citeablepublic java.lang.String getMedlineCitation()
Citeable