18 #ifndef sitkTransformToDisplacementFieldFilter_h
19 #define sitkTransformToDisplacementFieldFilter_h
82 SITK_RETURN_SELF_TYPE_HEADER
SetSize ( std::vector<unsigned int>
Size ) { this->m_Size = std::move(
Size);
return *
this; }
87 std::vector<unsigned int>
GetSize()
const {
return this->m_Size; }\
92 SITK_RETURN_SELF_TYPE_HEADER
SetOutputOrigin ( std::vector<double> OutputOrigin ) { this->m_OutputOrigin = std::move(OutputOrigin);
return *
this; }
102 SITK_RETURN_SELF_TYPE_HEADER
SetOutputSpacing ( std::vector<double> OutputSpacing ) { this->m_OutputSpacing = std::move(OutputSpacing);
return *
this; }
112 SITK_RETURN_SELF_TYPE_HEADER
SetOutputDirection ( std::vector<double> OutputDirection ) { this->m_OutputDirection = OutputDirection;
return *
this; }
120 std::string
GetName()
const {
return std::string (
"TransformToDisplacementFieldFilter"); }
123 std::string ToString()
const;
132 void SetReferenceImage(
const Image & refImage );
140 template <
class TImageType>
Image ExecuteInternal (
const Transform * transform );
150 std::vector<unsigned int> m_Size{std::vector<unsigned int>(3, 64)};
152 std::vector<double> m_OutputOrigin{std::vector<double>(3, 0.0)};
154 std::vector<double> m_OutputSpacing{std::vector<double>(3, 1.0)};
157 std::vector<double> m_OutputDirection{std::vector<double>()};