18 #ifndef __itkSpatialObjectToImageFilter_h
19 #define __itkSpatialObjectToImageFilter_h
39 template<
typename TInputSpatialObject,
typename TOutputImage >
50 typedef typename OutputImageType::SizeType
SizeType;
51 typedef typename OutputImageType::PointType
PointType;
53 typedef typename OutputImageType::ValueType
ValueType;
74 InputSpatialObjectType::ObjectDimension);
77 TOutputImage::ImageDimension);
95 virtual void SetSpacing(
const double *spacing);
114 itkGetConstMacro(InsideValue,
ValueType);
124 itkGetConstMacro(OutsideValue,
ValueType);
133 virtual void SetOrigin(
const double *origin);
135 virtual void SetOrigin(
const float *origin);
137 virtual const double *
GetOrigin(
void)
const;
143 itkSetMacro(ChildrenDepth,
unsigned int);
144 itkGetConstMacro(ChildrenDepth,
unsigned int);
154 itkSetMacro(UseObjectValue,
bool);
155 itkGetConstMacro(UseObjectValue,
bool);
186 #ifndef ITK_MANUAL_INSTANTIATION
187 #include "itkSpatialObjectToImageFilter.hxx"
static const unsigned int OutputImageDimension
ImageSource< TOutputImage > Superclass
virtual void SetOrigin(const PointType &origin)
virtual void GenerateOutputInformation()
~SpatialObjectToImageFilter()
virtual const double * GetOrigin(void) const
Represent the size (bounds) of a n-dimensional image.
OutputImageType::ValueType ValueType
OutputImageType::SpacingType SpacingType
double m_Origin[OutputImageDimension]
InputSpatialObjectType::Pointer InputSpatialObjectPointer
TInputSpatialObject InputSpatialObjectType
const InputSpatialObjectType * GetInput(void)
virtual const DirectionType & GetDirection(void) const
Base class for all process objects that output image data.
DirectionType m_Direction
SmartPointer< const Self > ConstPointer
SmartPointer< Self > Pointer
virtual void PrintSelf(std::ostream &os, Indent indent) const
Superclass::OutputImageRegionType OutputImageRegionType
virtual void GenerateData()
OutputImageType::DirectionType DirectionType
OutputImageType::PointType PointType
virtual void SetInput(const DataObjectIdentifierType &key, DataObject *input)
TOutputImage OutputImageType
unsigned int m_ChildrenDepth
InputSpatialObjectType::ConstPointer InputSpatialObjectConstPointer
virtual void SetSpacing(const SpacingType &spacing)
void operator=(const Self &)
virtual const double * GetSpacing(void) const
static const unsigned int ObjectDimension
OutputImageType::RegionType OutputImageRegionType
TInputSpatialObject::ChildrenListType ChildrenListType
Control indentation during Print() invocation.
virtual void SetDirection(const DirectionType &direction)
OutputImageType::Pointer OutputImagePointer
SpatialObjectToImageFilter()
SpatialObjectToImageFilter Self
OutputImageType::SizeType SizeType
Base class for filters that take a SpatialObject as input and produce an image as output...
double m_Spacing[OutputImageDimension]
virtual void SetInput(const InputSpatialObjectType *object)