8#include "itkTranslationTransform.h"
9#include "itkVersorRigid3DTransform.h"
10#include "itkQuaternionRigidTransform.h"
11#include "itkAffineTransform.h"
12#include "itkBSplineDeformableTransform.h"
13#include "itkThinPlateSplineKernelTransform.h"
14#include "itkSimilarity3DTransform.h"
50typedef itk::BSplineDeformableTransform <
54typedef itk::ThinPlateSplineKernelTransform <
56typedef itk::ThinPlateSplineKernelTransform <
79 TranslationTransformType::Pointer
m_trn;
80 VersorTransformType::Pointer
m_vrs;
81 AffineTransformType::Pointer
m_aff;
82 QuaternionTransformType::Pointer
m_quat;
91 void load (
const char* fn);
92 void load (
const std::string& fn);
93 void save (
const char* fn)
const;
94 void save (
const std::string& fn)
const;
96 TranslationTransformType::Pointer get_trn ()
const;
97 VersorTransformType::Pointer get_vrs ()
const;
98 QuaternionTransformType::Pointer get_quat ()
const;
99 AffineTransformType::Pointer get_aff ()
const;
100 SimilarityTransformType::Pointer get_similarity()
const;
101 BsplineTransformType::Pointer get_itk_bsp ()
const;
102 TpsTransformType::Pointer get_itk_tps ()
const;
103 DeformationFieldType::Pointer get_itk_vf ()
const;
105 Volume::Pointer& get_gpuit_vf ()
const;
109 void set_trn (
const itk::Array<double>& trn);
110 void set_trn (TranslationTransformType::Pointer trn);
111 void set_vrs (
const itk::Array<double>& vrs);
112 void set_vrs (VersorTransformType::Pointer vrs);
113 void set_quat (
const itk::Array<double>& quat);
114 void set_quat (QuaternionTransformType::Pointer quat);
115 void set_aff (
const itk::Array<double>& aff);
116 void set_aff (AffineTransformType::Pointer aff);
117 void set_similarity(SimilarityTransformType::Pointer sim);
118 void set_similarity(
const itk::Array<double>& sim);
119 void set_itk_bsp (BsplineTransformType::Pointer bsp);
120 void set_itk_tps (TpsTransformType::Pointer tps);
121 void set_itk_vf (DeformationFieldType::Pointer vf);
123 void set_gpuit_vf (
const Volume::Pointer& vf);
125 void itk_bsp_set_grid (
126 const BsplineTransformType::OriginType bsp_origin,
127 const BsplineTransformType::SpacingType bsp_spacing,
128 const BsplineTransformType::RegionType bsp_region,
129 const BsplineTransformType::DirectionType bsp_direction);
134 void get_grid_spacing (
float grid_spacing[3]);
143 void save_gpuit_vf (
const char* fn)
const;
158 const BsplineTransformType::OriginType bsp_origin,
159 const BsplineTransformType::SpacingType bsp_spacing,
160 const BsplineTransformType::RegionType bsp_region,
161 const BsplineTransformType::DirectionType bsp_direction);
The Volume class represents a three-dimensional volume on a uniform grid. The volume can be located a...
Definition volume.h:38
#define PLMBASE_API
Definition plmbase_config.h:19