edu.stanford.rsl.konrad.geometry.trajectories
Class Trajectory
java.lang.Object
edu.stanford.rsl.konrad.geometry.trajectories.Trajectory
- All Implemented Interfaces:
- SafeSerializable, java.io.Serializable
- Direct Known Subclasses:
- CircularTrajectory, ConfigFileBasedTrajectory, ExtrapolatedTrajectory, MultiSweepTrajectory
public class Trajectory
- extends java.lang.Object
- implements SafeSerializable
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Trajectory
public Trajectory(Trajectory source)
Trajectory
public Trajectory()
getProjectionMatrices
public Projection[] getProjectionMatrices()
setProjectionMatrices
public void setProjectionMatrices(Projection[] projectionMatrices)
getDetectorWidth
public int getDetectorWidth()
setDetectorWidth
public void setDetectorWidth(int detectorWidth)
getDetectorHeight
public int getDetectorHeight()
setDetectorHeight
public void setDetectorHeight(int detectorHeight)
getPixelDimensionX
public double getPixelDimensionX()
setPixelDimensionX
public void setPixelDimensionX(double pixelDimensionX)
getPixelDimensionY
public double getPixelDimensionY()
setPixelDimensionY
public void setPixelDimensionY(double pixelDimensionY)
getSourceToDetectorDistance
public double getSourceToDetectorDistance()
setSourceToDetectorDistance
public void setSourceToDetectorDistance(double sourceToDetectorDistance)
getSourceToCenterOfRotationDistance
public double getSourceToCenterOfRotationDistance()
setSourceToCenterOfRotationDistance
public void setSourceToCenterOfRotationDistance(double sourceToCenterOfRotationDistance)
getAverageAngularIncrement
public double getAverageAngularIncrement()
setAverageAngularIncrement
public void setAverageAngularIncrement(double averageAngularIncrement)
getReconDimensions
public double[] getReconDimensions()
setReconDimensions
public void setReconDimensions(double... reconDimensions)
setNumProjectionMatrices
public void setNumProjectionMatrices(int numProjectionMatrices)
getReconVoxelSizes
public double[] getReconVoxelSizes()
setReconVoxelSizes
public void setReconVoxelSizes(double[] reconVoxelSizes)
getProjectionMatrix
public Projection getProjectionMatrix(int i)
getNumProjectionMatrices
public int getNumProjectionMatrices()
getPrimaryAngles
public double[] getPrimaryAngles()
setPrimaryAngles
public void setPrimaryAngles(double[] primaryAngles)
getProjectionStackSize
public int getProjectionStackSize()
setProjectionStackSize
public void setProjectionStackSize(int projectionStackSize)
getReconDimensionX
public int getReconDimensionX()
getReconDimensionY
public int getReconDimensionY()
getReconDimensionZ
public int getReconDimensionZ()
getVoxelSpacingX
public double getVoxelSpacingX()
getVoxelSpacingY
public double getVoxelSpacingY()
getVoxelSpacingZ
public double getVoxelSpacingZ()
setReconDimensionX
public void setReconDimensionX(int value)
setReconDimensionY
public void setReconDimensionY(int value)
setReconDimensionZ
public void setReconDimensionZ(int value)
setVoxelSpacingX
public void setVoxelSpacingX(double value)
setVoxelSpacingY
public void setVoxelSpacingY(double value)
setVoxelSpacingZ
public void setVoxelSpacingZ(double value)
setSecondaryAngles
public void setSecondaryAngles(double[] secondaryAngles)
getSecondaryAngles
public double[] getSecondaryAngles()
prepareForSerialization
public void prepareForSerialization()
- Description copied from interface:
SafeSerializable
- Sets all data objects in the serialized object to null which do not implement the Serializable interface. It can also be used to save space in the serialized form.
Configuration parameters are preserved. Processing data is discarded.
- Specified by:
prepareForSerialization
in interface SafeSerializable
getPrimaryAnglesString
public java.lang.String getPrimaryAnglesString()
- Returns:
- the primaryAnglesString
setPrimaryAnglesString
public void setPrimaryAnglesString(java.lang.String primaryAnglesString)
- Parameters:
primaryAnglesString
- the primaryAnglesString to set
getSecondaryAnglesString
public java.lang.String getSecondaryAnglesString()
- Returns:
- the secondaryAnglesString
setSecondaryAnglesString
public void setSecondaryAnglesString(java.lang.String secondaryAnglesString)
- Parameters:
secondaryAnglesString
- the secondaryAnglesString to set