18 #ifndef sitkPhysicalPointImageSource_h
19 #define sitkPhysicalPointImageSource_h
70 SITK_RETURN_SELF_TYPE_HEADER
SetSize ( std::vector<unsigned int>
Size ) { this->m_Size = std::move(
Size);
return *
this; }
74 std::vector<unsigned int>
GetSize()
const {
return this->m_Size; }\
78 SITK_RETURN_SELF_TYPE_HEADER
SetOrigin ( std::vector<double> Origin ) { this->m_Origin = std::move(Origin);
return *
this; }
82 std::vector<double>
GetOrigin()
const {
return this->m_Origin; }\
86 SITK_RETURN_SELF_TYPE_HEADER
SetSpacing ( std::vector<double> Spacing ) { this->m_Spacing = std::move(Spacing);
return *
this; }
90 std::vector<double>
GetSpacing()
const {
return this->m_Spacing; }\
94 SITK_RETURN_SELF_TYPE_HEADER
SetDirection ( std::vector<double> Direction ) { this->m_Direction = Direction;
return *
this; }
98 std::vector<double>
GetDirection()
const {
return this->m_Direction; }
101 std::string
GetName()
const {
return std::string (
"PhysicalPointImageSource"); }
104 std::string ToString()
const;
113 void SetReferenceImage(
const Image & refImage );
121 template <
class TImageType>
Image ExecuteInternal ( );
131 std::vector<unsigned int> m_Size{std::vector<unsigned int>(3, 64)};
133 std::vector<double> m_Origin{std::vector<double>(3, 0.0)};
135 std::vector<double> m_Spacing{std::vector<double>(3, 1.0)};
138 std::vector<double> m_Direction{std::vector<double>()};