18#ifndef sitkPhysicalPointImageSource_h
19#define sitkPhysicalPointImageSource_h
69 SITK_RETURN_SELF_TYPE_HEADER
SetSize ( std::vector<unsigned int>
Size ) { this->
m_Size = std::move(
Size);
return *
this; }
77 SITK_RETURN_SELF_TYPE_HEADER
SetOrigin ( std::vector<double> Origin ) { this->
m_Origin = std::move(Origin);
return *
this; }
85 SITK_RETURN_SELF_TYPE_HEADER
SetSpacing ( std::vector<double> Spacing ) { this->
m_Spacing = std::move(Spacing);
return *
this; }
93 SITK_RETURN_SELF_TYPE_HEADER
SetDirection ( std::vector<double> Direction ) { this->
m_Direction = Direction;
return *
this; }
100 std::string
GetName()
const {
return std::string (
"PhysicalPointImageSource"); }
130 std::vector<unsigned int>
m_Size{std::vector<unsigned int>(3, 64)};
132 std::vector<double>
m_Origin{std::vector<double>(3, 0.0)};
134 std::vector<double>
m_Spacing{std::vector<double>(3, 1.0)};
155SITKBasicFilters_EXPORT Image PhysicalPointSource (
PixelIDValueEnum outputPixelType = itk::simple::sitkVectorFloat32, std::vector<unsigned int> size = std::vector<unsigned int>(3, 64), std::vector<double> origin = std::vector<double>(3, 0.0), std::vector<double> spacing = std::vector<double>(3, 1.0), std::vector<double> direction = std::vector<double>() );
The Image class for SimpleITK.
void SetReferenceImage(const Image &refImage)
VectorPixelIDTypeList PixelIDTypeList
Self & SetDirection(std::vector< double > Direction)
std::vector< double > GetDirection() const
PhysicalPointImageSource()
std::vector< unsigned int > m_Size
std::vector< double > GetOrigin() const
std::vector< double > m_Spacing
Self & SetOutputPixelType(PixelIDValueEnum OutputPixelType)
std::vector< double > m_Origin
Image(Self::*)() MemberFunctionType
virtual ~PhysicalPointImageSource()
PhysicalPointImageSource Self
std::unique_ptr< detail::MemberFunctionFactory< MemberFunctionType > > m_MemberFactory
std::string GetName() const
Self & SetSize(std::vector< unsigned int > Size)
Self & SetOrigin(std::vector< double > Origin)
PixelIDValueEnum GetOutputPixelType() const
Self & SetSpacing(std::vector< double > Spacing)
std::vector< unsigned int > GetSize() const
PixelIDValueEnum m_OutputPixelType
std::vector< double > m_Direction
std::vector< double > GetSpacing() const
std::string ToString() const
Image PhysicalPointSource(PixelIDValueEnum outputPixelType=itk::simple::sitkVectorFloat32, std::vector< unsigned int > size=std::vector< unsigned int >(3, 64), std::vector< double > origin=std::vector< double >(3, 0.0), std::vector< double > spacing=std::vector< double >(3, 1.0), std::vector< double > direction=std::vector< double >())
Generate an image of the physical locations of each pixel.
typelist2::typelist< VectorPixelID< int8_t >, VectorPixelID< uint8_t >, VectorPixelID< int16_t >, VectorPixelID< uint16_t >, VectorPixelID< int32_t >, VectorPixelID< uint32_t >, VectorPixelID< float >, VectorPixelID< double > > VectorPixelIDTypeList
PixelIDValueEnum
Enumerated values of pixelIDs.
#define SITKBasicFilters_EXPORT