public class SystemGeometryConfigFileTrajectory extends ConfigFileBasedTrajectory implements ConfigurationUpdater, ConfigFileParser
Constructor and Description |
---|
SystemGeometryConfigFileTrajectory(java.lang.String filename,
Trajectory model) |
SystemGeometryConfigFileTrajectory(Trajectory model) |
Modifier and Type | Method and Description |
---|---|
Configuration |
getConfiguration() |
boolean |
getSuccess()
is true if the reading was successful.
|
void |
readConfigFile(java.lang.String filename)
Reads the configuration from the file denoted by filename
|
void |
readConfiguration() |
void |
setConfiguration(Configuration config) |
getGeometrySources, openAsGeometrySource
computeIsoCenter, computeIsoCenterOld, getAverageAngularIncrement, getDetectorHeight, getDetectorOffsetU, getDetectorOffsetV, getDetectorUDirection, getDetectorVDirection, getDetectorWidth, getNumProjectionMatrices, getOriginInPixelsX, getOriginInPixelsY, getOriginInPixelsZ, getOriginX, getOriginY, getOriginZ, getPixelDimensionX, getPixelDimensionY, getPrimaryAngles, getPrimaryAnglesString, getProjectionMatrices, getProjectionMatrix, getProjectionStackSize, getReconDimensions, getReconDimensionX, getReconDimensionY, getReconDimensionZ, getReconVoxelSizes, getRotationAxis, getSecondaryAngles, getSecondaryAnglesString, getSourceToAxisDistance, getSourceToDetectorDistance, getVoxelSpacingX, getVoxelSpacingY, getVoxelSpacingZ, prepareForSerialization, setAverageAngularIncrement, setDetectorHeight, setDetectorOffsetU, setDetectorOffsetV, setDetectorUDirection, setDetectorVDirection, setDetectorWidth, setNumProjectionMatrices, setOriginInPixelsX, setOriginInPixelsY, setOriginInPixelsZ, setOriginInWorld, setPixelDimensionX, setPixelDimensionY, setPrimaryAngleArray, setPrimaryAnglesString, setProjectionMatrices, setProjectionStackSize, setReconDimensions, setReconDimensionX, setReconDimensionY, setReconDimensionZ, setReconVoxelSizes, setRotationAxis, setSecondaryAngleArray, setSecondaryAnglesString, setSourceToAxisDistance, setSourceToDetectorDistance, setVoxelSpacingX, setVoxelSpacingY, setVoxelSpacingZ, updatePrimaryAngles
public SystemGeometryConfigFileTrajectory(java.lang.String filename, Trajectory model) throws java.io.IOException
java.io.IOException
public SystemGeometryConfigFileTrajectory(Trajectory model)
public Configuration getConfiguration()
getConfiguration
in interface ConfigurationUpdater
public void readConfiguration()
readConfiguration
in interface ConfigurationUpdater
public void setConfiguration(Configuration config)
setConfiguration
in interface ConfigurationUpdater
public void readConfigFile(java.lang.String filename) throws java.io.IOException
ConfigFileParser
readConfigFile
in interface ConfigFileParser
filename
- the file namejava.io.IOException
- may happen during readingpublic boolean getSuccess()
ConfigFileParser
getSuccess
in interface ConfigFileParser