18#ifndef sitkPhysicalPointImageSource_h
19#define sitkPhysicalPointImageSource_h
82 std::vector<unsigned int>
90 { this->
m_Origin = std::move(Origin); }
101 { this->
m_Spacing = std::move(Spacing); }
120 std::string
GetName()
const {
return std::string(
"PhysicalPointImageSource"); }
130 const Image & refImage
148 std::vector<unsigned int>
m_Size{ std::vector<unsigned int>(3, 64) };
150 std::vector<double>
m_Origin{ std::vector<double>(3, 0.0) };
152 std::vector<double>
m_Spacing{ std::vector<double>(3, 1.0) };
180 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
std::vector< double > GetDirection() const
PhysicalPointImageSource()
std::vector< unsigned int > m_Size
std::vector< double > GetOrigin() const
std::vector< double > m_Spacing
void SetSize(std::vector< unsigned int > Size)
std::vector< double > m_Origin
void SetDirection(std::vector< double > Direction)
virtual ~PhysicalPointImageSource()
Image(Self::*)() MemberFunctionType
PhysicalPointImageSource Self
std::string GetName() const
void SetSpacing(std::vector< double > Spacing)
static const detail::MemberFunctionFactory< MemberFunctionType > & GetMemberFunctionFactory()
PixelIDValueEnum GetOutputPixelType() const
std::vector< unsigned int > GetSize() const
PixelIDValueEnum m_OutputPixelType
void SetOutputPixelType(PixelIDValueEnum OutputPixelType)
std::vector< double > m_Direction
void SetOrigin(std::vector< double > Origin)
std::vector< double > GetSpacing() const
std::string ToString() const
A class used to instantiate and generate function object to templated member functions.
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