//----------------------------------------
// Set & Get
- //----------------------------------------
+ //----------------------------------------
void SetArgsInfo(const args_info_type & a)
{
m_ArgsInfo=a;
}
- //----------------------------------------
+ //----------------------------------------
// Update
- //----------------------------------------
+ //----------------------------------------
void Update();
+
+ //----------------------------------------
+ // Compute bounding box
+ //----------------------------------------
+ vnl_vector<double> ComputeSize(vnl_vector<double> inputSize, vnl_matrix<double> transformationMatrix, bool returnMin);
+
protected:
- //----------------------------------------
+ //----------------------------------------
// Constructor & Destructor
- //----------------------------------------
+ //----------------------------------------
AffineTransformGenericFilter();
~AffineTransformGenericFilter() {};
- //----------------------------------------
+ //----------------------------------------
// Templated members
- //----------------------------------------
+ //----------------------------------------
template <unsigned int Dimension> void UpdateWithDim(std::string PixelType, int Components);
template <unsigned int Dimension, class PixelType> void UpdateWithDimAndPixelType();
template <unsigned int Dimension, class PixelType> void UpdateWithDimAndVectorType();
- template<unsigned int Dimension, class PixelType>
- typename itk::Matrix<double, Dimension+1, Dimension+1>
- createMatrixFromElastixFile(std::string filename);
-
- bool GetElastixValueFromTag(std::ifstream & is, std::string tag, std::string & value);
- void GetValuesFromValue(const std::string & s,
- std::vector<std::string> & values);
-
- //----------------------------------------
+ //----------------------------------------
// Data members
//----------------------------------------
args_info_type m_ArgsInfo;