edu.stanford.rsl.konrad.geometry.trajectories
Class Trajectory

java.lang.Object
  extended by 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

Constructor Summary
Trajectory()
           
Trajectory(Trajectory source)
           
 
Method Summary
 double getAverageAngularIncrement()
           
 int getDetectorHeight()
           
 int getDetectorWidth()
           
 int getNumProjectionMatrices()
           
 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()
           
 double[] getSecondaryAngles()
           
 java.lang.String getSecondaryAnglesString()
           
 double getSourceToCenterOfRotationDistance()
           
 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 setDetectorWidth(int detectorWidth)
           
 void setNumProjectionMatrices(int numProjectionMatrices)
           
 void setPixelDimensionX(double pixelDimensionX)
           
 void setPixelDimensionY(double pixelDimensionY)
           
 void setPrimaryAngles(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 setSecondaryAngles(double[] secondaryAngles)
           
 void setSecondaryAnglesString(java.lang.String secondaryAnglesString)
           
 void setSourceToCenterOfRotationDistance(double sourceToCenterOfRotationDistance)
           
 void setSourceToDetectorDistance(double sourceToDetectorDistance)
           
 void setVoxelSpacingX(double value)
           
 void setVoxelSpacingY(double value)
           
 void setVoxelSpacingZ(double value)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Trajectory

public Trajectory(Trajectory source)

Trajectory

public Trajectory()
Method Detail

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