public abstract class XCatScene extends AnalyticPhantom4D
ADD_HIGHEST_PRIORITY, ADD_LOWEST_PRIORITY
Constructor and Description |
---|
XCatScene() |
Modifier and Type | Method and Description |
---|---|
void |
createPhysicalObjects() |
static boolean |
exclude(java.lang.String match) |
static Material |
generateFromSplineName(java.lang.String name)
Lookup Material via the Spline name
|
abstract float[] |
getBinaryRepresentation()
Returns the scene as an collection of Bsplines:
|
PrioritizableScene |
getScene(double voxelSizeX,
double voxelSizeY,
double voxelSizeZ,
double samplingU,
double samplingV,
double time)
Creates the scene at time t given the sampling factors.
|
static java.util.HashMap<java.lang.String,java.lang.String> |
getSplineNameMaterialNameLUT()
The lookup table for materials according to the spline names.
|
static java.util.HashMap<java.lang.String,java.lang.Integer> |
getSplinePriorityLUT()
Look up table for the priorites of the different shapes.
|
java.util.ArrayList<SurfaceBSpline> |
getSplines()
returns the geometric definition of XCat.
|
TimeWarper |
getTimeWarper() |
java.util.ArrayList<TimeVariantSurfaceBSpline> |
getVariants() |
void |
setTimeWarper(TimeWarper warp) |
abstract PrioritizableScene |
tessellateScene(double voxelSizeX,
double voxelSizeY,
double voxelSizeZ,
double samplingU,
double samplingV,
double time)
This definition of XCat does tessellate the scene, i.e.
|
getMotionField
configure, getAnalyticPhantoms, getName, 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
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
getPosition, getPositions
getBibtexCitation, getMedlineCitation
public java.util.ArrayList<SurfaceBSpline> getSplines()
public java.util.ArrayList<TimeVariantSurfaceBSpline> getVariants()
public void createPhysicalObjects()
public abstract PrioritizableScene tessellateScene(double voxelSizeX, double voxelSizeY, double voxelSizeZ, double samplingU, double samplingV, double time)
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 getScene(double voxelSizeX, double voxelSizeY, double voxelSizeZ, double samplingU, double samplingV, double time)
AnalyticPhantom4D
getScene
in class AnalyticPhantom4D
public abstract float[] getBinaryRepresentation()
type total size in floats # number of splines Bsplines priorities materials
public static java.util.HashMap<java.lang.String,java.lang.Integer> getSplinePriorityLUT()
public static java.util.HashMap<java.lang.String,java.lang.String> getSplineNameMaterialNameLUT()
public static Material generateFromSplineName(java.lang.String name)
name
- public static boolean exclude(java.lang.String match)
public TimeWarper getTimeWarper()
getTimeWarper
in interface MotionField
getTimeWarper
in class AnalyticPhantom4D
public void setTimeWarper(TimeWarper warp)
setTimeWarper
in interface MotionField
setTimeWarper
in class AnalyticPhantom4D