19 #ifndef rtkProjectionGeometry_h 20 #define rtkProjectionGeometry_h 43 template <
unsigned int TDimension = 3>
70 const std::vector<MatrixType> &
73 return this->m_Matrices;
80 if (i >= this->m_Matrices.size())
82 itkExceptionMacro(<<
"Requested matrix index " << i <<
" is out of bound.");
84 return this->m_Matrices[i];
97 PrintSelf(std::ostream & os,
itk::Indent indent)
const override;
103 this->m_Matrices.push_back(m);
114 #include "rtkProjectionGeometry.hxx" 116 #endif // rtkProjectionGeometry_h
typename itk::Matrix< double, TDimension, TDimension+1 > MatrixType
typename itk::ImageBase< TDimension >::PointType PointType
class ITK_FORWARD_EXPORT DataObject
typename itk::ImageBase< TDimension >::SpacingType SpacingType
const std::vector< MatrixType > & GetMatrices() const
A templated class holding a vector of M x (M+1) matrices.
std::vector< MatrixType > m_Matrices
typename itk::ImageBase< TDimension >::SizeType SizeType
MatrixType GetMatrix(const unsigned int i) const
virtual void AddMatrix(const MatrixType &m)