19#ifndef rtkImagXGeometryReader_h
20#define rtkImagXGeometryReader_h
40template <
typename TInputImage>
72 itkGetMacro(CalibrationXMLFileName, std::string);
76 itkGetMacro(RoomXMLFileName, std::string);
90 const FileNamesContainer &
122 float sid{}, sdd{}, sourceToNozzleOffsetAngle{};
141 interpolate(
const std::vector<float> & flexAngles,
bool bIsCW,
float angleDegree);
147 float sid{}, sdd{}, sourceToNozzleOffsetAngle;
155 Px = std::vector<float>(5, 0.F);
156 Py = std::vector<float>(5, 0.F);
157 Pz = std::vector<float>(5, 0.F);
158 Rx = std::vector<float>(5, 0.F);
159 Ry = std::vector<float>(5, 0.F);
160 Rz = std::vector<float>(5, 0.F);
161 Tx = std::vector<float>(5, 0.F);
162 Ty = std::vector<float>(5, 0.F);
163 Tz = std::vector<float>(5, 0.F);
174 isCW(
const std::vector<float> & angles);
178 const std::vector<float> & Dx,
179 const std::vector<float> & Dy,
180 const std::vector<float> & Dz);
185 const std::vector<float> & Dx,
186 const std::vector<float> & Dy,
187 const std::vector<float> & Dz);
191 float nozzleToRadAngleOffset,
194 std::vector<float> & detTrans,
195 std::vector<float> & detRot,
196 std::vector<float> & srcTrans);
211#ifndef ITK_MANUAL_INSTANTIATION
212# include "rtkImagXGeometryReader.hxx"
LightProcessObject is the base class for all process objects (source, filters, mappers) in the Insigh...
virtual void Modified() const
Implements transparent reference counting.
ThreeDCircularProjectionGeometry GeometryType
std::vector< std::string > FileNamesContainer
~ImagXGeometryReader() override=default
void addEntryToGeometry(const FlexmapType &f, float gantryAngle)
typename InputImageType::RegionType InputImageRegionType
const FileNamesContainer & GetProjectionsFileNames() const
std::string m_CalibrationXMLFileName
bool isCW(const std::vector< float > &angles)
CalibrationModelType GetGeometryForAI1p5FromXMLFiles()
FlexmapType GetGeometryForAI2p1()
typename InputImageType::Pointer InputImagePointer
static const std::string m_AI_VERSION_2pX
TInputImage InputImageType
itk::SmartPointer< Self > Pointer
CalibrationModelType GetGeometryForAI1p5()
InterpResultType interpolate(const std::vector< float > &flexAngles, bool bIsCW, float angleDegree)
void addEntryToGeometry(float gantryAngleDegree, float nozzleToRadAngleOffset, float sid, float sdd, std::vector< float > &detTrans, std::vector< float > &detRot, std::vector< float > &srcTrans)
std::string m_RoomXMLFileName
std::vector< float > getInterpolatedValue(const InterpResultType &ires, const std::vector< float > &Dx, const std::vector< float > &Dy, const std::vector< float > &Dz)
void addEntryToGeometry(const CalibrationModelType &c, float gantryAngle)
FileNamesContainer m_ProjectionsFileNames
static const std::string m_AI_VERSION_1p5
std::vector< float > getDeformations(float gantryAngle, const std::vector< float > &Dx, const std::vector< float > &Dy, const std::vector< float > &Dz)
typename InputImageType::PixelType InputImagePixelType
GeometryType::Pointer m_Geometry
static const std::string m_AI_VERSION_1p2
itk::LightProcessObject Superclass
void SetProjectionsFileNames(const FileNamesContainer &name)
void GenerateData() override
std::string getAIversion()
Projection geometry for a source and a 2-D flat panel.
itk::SmartPointer< Self > Pointer
#define itkSetMacro(name, type)
float sourceToNozzleOffsetAngle
std::vector< float > anglesDeg
std::string activeArcName
std::string activeGeocalUID
float constantDetectorOffset