public class Trajectory extends java.lang.Object implements SafeSerializable
Constructor and Description |
---|
Trajectory() |
Trajectory(Trajectory source)
Copy Constructor that reads the values of another Trajectory object.
|
Modifier and Type | Method and Description |
---|---|
PointND |
computeIsoCenter()
Computes the iso center of the current trajectory.
|
PointND |
computeIsoCenterOld()
computes the iso center of the current trajectory.
|
double |
getAverageAngularIncrement() |
int |
getDetectorHeight() |
int |
getDetectorOffsetU() |
int |
getDetectorOffsetV() |
Projection.CameraAxisDirection |
getDetectorUDirection() |
Projection.CameraAxisDirection |
getDetectorVDirection() |
int |
getDetectorWidth() |
int |
getNumProjectionMatrices() |
double |
getOriginInPixelsX() |
double |
getOriginInPixelsY() |
double |
getOriginInPixelsZ() |
double |
getOriginX() |
double |
getOriginY() |
double |
getOriginZ() |
double |
getPixelDimensionX() |
double |
getPixelDimensionY() |
double[] |
getPrimaryAngles() |
java.lang.String |
getPrimaryAnglesString() |
Projection[] |
getProjectionMatrices() |
Projection |
getProjectionMatrix(int i) |
int |
getProjectionStackSize() |
double[] |
getReconDimensions() |
int |
getReconDimensionX() |
int |
getReconDimensionY() |
int |
getReconDimensionZ() |
double[] |
getReconVoxelSizes() |
SimpleVector |
getRotationAxis() |
double[] |
getSecondaryAngles() |
java.lang.String |
getSecondaryAnglesString() |
double |
getSourceToAxisDistance() |
double |
getSourceToDetectorDistance() |
double |
getVoxelSpacingX() |
double |
getVoxelSpacingY() |
double |
getVoxelSpacingZ() |
void |
prepareForSerialization()
Sets all data objects in the serialized object to null which do not implement the Serializable interface.
|
void |
setAverageAngularIncrement(double averageAngularIncrement) |
void |
setDetectorHeight(int detectorHeight) |
void |
setDetectorOffsetU(int detectorOffsetU) |
void |
setDetectorOffsetV(int detectorOffsetV) |
void |
setDetectorUDirection(Projection.CameraAxisDirection detectorUDirection) |
void |
setDetectorVDirection(Projection.CameraAxisDirection detectorVDirection) |
void |
setDetectorWidth(int detectorWidth) |
void |
setNumProjectionMatrices(int numProjectionMatrices) |
void |
setOriginInPixelsX(double originInPixelsX) |
void |
setOriginInPixelsY(double originInPixelsY) |
void |
setOriginInPixelsZ(double originInPixelsZ) |
void |
setOriginInWorld(PointND originInWorld) |
void |
setPixelDimensionX(double pixelDimensionX) |
void |
setPixelDimensionY(double pixelDimensionY) |
void |
setPrimaryAngleArray(double[] primaryAngles) |
void |
setPrimaryAnglesString(java.lang.String primaryAnglesString) |
void |
setProjectionMatrices(Projection[] projectionMatrices) |
void |
setProjectionStackSize(int projectionStackSize) |
void |
setReconDimensions(double... reconDimensions) |
void |
setReconDimensionX(int value) |
void |
setReconDimensionY(int value) |
void |
setReconDimensionZ(int value) |
void |
setReconVoxelSizes(double[] reconVoxelSizes) |
void |
setRotationAxis(SimpleVector rotationAxis) |
void |
setSecondaryAngleArray(double[] secondaryAngles) |
void |
setSecondaryAnglesString(java.lang.String secondaryAnglesString) |
void |
setSourceToAxisDistance(double sourceToAxisDistance) |
void |
setSourceToDetectorDistance(double sourceToDetectorDistance) |
void |
setVoxelSpacingX(double value) |
void |
setVoxelSpacingY(double value) |
void |
setVoxelSpacingZ(double value) |
void |
updatePrimaryAngles()
Call of this Method will replace the entries in the internal primaryAngle Array with values that are computed
from the projection matrices.
|
public Trajectory(Trajectory source)
source
- public Trajectory()
public Projection[] getProjectionMatrices()
public void setProjectionMatrices(Projection[] projectionMatrices)
public int getDetectorWidth()
public void setDetectorWidth(int detectorWidth)
public int getDetectorHeight()
public void setDetectorHeight(int detectorHeight)
public double getPixelDimensionX()
public void setPixelDimensionX(double pixelDimensionX)
public double getPixelDimensionY()
public void setPixelDimensionY(double pixelDimensionY)
public double getSourceToDetectorDistance()
public void setSourceToDetectorDistance(double sourceToDetectorDistance)
public double getSourceToAxisDistance()
public void setSourceToAxisDistance(double sourceToAxisDistance)
public double getAverageAngularIncrement()
public void setAverageAngularIncrement(double averageAngularIncrement)
public double[] getReconDimensions()
public void setReconDimensions(double... reconDimensions)
public void setNumProjectionMatrices(int numProjectionMatrices)
public double[] getReconVoxelSizes()
public void setReconVoxelSizes(double[] reconVoxelSizes)
public Projection getProjectionMatrix(int i)
public int getNumProjectionMatrices()
public double[] getPrimaryAngles()
public void setPrimaryAngleArray(double[] primaryAngles)
public double[] getSecondaryAngles()
public void setSecondaryAngleArray(double[] secondaryAngles)
public int getProjectionStackSize()
public void setProjectionStackSize(int projectionStackSize)
public int getReconDimensionX()
public int getReconDimensionY()
public int getReconDimensionZ()
public double getVoxelSpacingX()
public double getVoxelSpacingY()
public double getVoxelSpacingZ()
public void setReconDimensionX(int value)
public void setReconDimensionY(int value)
public void setReconDimensionZ(int value)
public void setVoxelSpacingX(double value)
public void setVoxelSpacingY(double value)
public void setVoxelSpacingZ(double value)
public void prepareForSerialization()
SafeSerializable
prepareForSerialization
in interface SafeSerializable
public java.lang.String getPrimaryAnglesString()
public void setPrimaryAnglesString(java.lang.String primaryAnglesString)
primaryAnglesString
- the primaryAnglesString to setpublic java.lang.String getSecondaryAnglesString()
public void setSecondaryAnglesString(java.lang.String secondaryAnglesString)
secondaryAnglesString
- the secondaryAnglesString to setpublic double getOriginInPixelsX()
public double getOriginX()
public double getOriginY()
public double getOriginZ()
public void setOriginInWorld(PointND originInWorld)
public void setOriginInPixelsX(double originInPixelsX)
originInPixelsX
- the originInPixelsX to setpublic double getOriginInPixelsY()
public void setOriginInPixelsY(double originInPixelsY)
originInPixelsY
- the originInPixelsY to setpublic double getOriginInPixelsZ()
public void setOriginInPixelsZ(double originInPixelsZ)
originInPixelsZ
- the originInPixelsZ to setpublic void setDetectorUDirection(Projection.CameraAxisDirection detectorUDirection)
detectorUDirection
- the detectorUDirection to setpublic Projection.CameraAxisDirection getDetectorUDirection()
public Projection.CameraAxisDirection getDetectorVDirection()
public void setDetectorVDirection(Projection.CameraAxisDirection detectorVDirection)
detectorVDirection
- the detectorVDirection to setpublic int getDetectorOffsetU()
public void setDetectorOffsetU(int detectorOffsetU)
detectorOffsetU
- the detectorOffsetU to setpublic int getDetectorOffsetV()
public void setDetectorOffsetV(int detectorOffsetV)
detectorOffsetV
- the detectorOffsetV to setpublic void setRotationAxis(SimpleVector rotationAxis)
rotationAxis
- the rotationAxis to setpublic SimpleVector getRotationAxis()
public PointND computeIsoCenterOld()
computeIsoCenter()
public void updatePrimaryAngles()
public PointND computeIsoCenter()