ITK
5.2.0
Insight Toolkit
|
#include <itkSpatialObjectToImageFilter.h>
Public Types | |
using | ChildrenListType = typename TInputSpatialObject::ChildrenListType |
using | ConstPointer = SmartPointer< const Self > |
using | DirectionType = typename OutputImageType::DirectionType |
using | InputSpatialObjectConstPointer = typename InputSpatialObjectType::ConstPointer |
using | InputSpatialObjectPointer = typename InputSpatialObjectType::Pointer |
using | InputSpatialObjectType = TInputSpatialObject |
using | OutputImagePointer = typename OutputImageType::Pointer |
using | OutputImageRegionType = typename Superclass::OutputImageRegionType |
using | OutputImageType = TOutputImage |
using | Pointer = SmartPointer< Self > |
using | PointType = typename OutputImageType::PointType |
using | Self = SpatialObjectToImageFilter |
using | SizeType = typename OutputImageType::SizeType |
using | SpacingType = typename OutputImageType::SpacingType |
using | Superclass = ImageSource< TOutputImage > |
using | ValueType = typename OutputImageType::ValueType |
Public Types inherited from itk::ImageSource< TOutputImage > | |
using | ConstPointer = SmartPointer< const Self > |
using | DataObjectIdentifierType = Superclass::DataObjectIdentifierType |
using | DataObjectPointer = DataObject::Pointer |
using | DataObjectPointerArraySizeType = Superclass::DataObjectPointerArraySizeType |
using | OutputImagePixelType = typename OutputImageType::PixelType |
using | OutputImagePointer = typename OutputImageType::Pointer |
using | OutputImageRegionType = typename OutputImageType::RegionType |
using | OutputImageType = TOutputImage |
using | Pointer = SmartPointer< Self > |
using | Self = ImageSource |
using | Superclass = ProcessObject |
Public Types inherited from itk::ProcessObject | |
using | ConstPointer = SmartPointer< const Self > |
using | DataObjectIdentifierType = DataObject::DataObjectIdentifierType |
using | DataObjectPointer = DataObject::Pointer |
using | DataObjectPointerArray = std::vector< DataObjectPointer > |
using | DataObjectPointerArraySizeType = DataObjectPointerArray::size_type |
using | MultiThreaderType = MultiThreaderBase |
using | NameArray = std::vector< DataObjectIdentifierType > |
using | Pointer = SmartPointer< Self > |
using | Self = ProcessObject |
using | Superclass = Object |
Public Types inherited from itk::Object | |
using | ConstPointer = SmartPointer< const Self > |
using | Pointer = SmartPointer< Self > |
using | Self = Object |
using | Superclass = LightObject |
Public Types inherited from itk::LightObject | |
using | ConstPointer = SmartPointer< const Self > |
using | Pointer = SmartPointer< Self > |
using | Self = LightObject |
Static Public Member Functions | |
static Pointer | New () |
Static Public Member Functions inherited from itk::Object | |
static bool | GetGlobalWarningDisplay () |
static void | GlobalWarningDisplayOff () |
static void | GlobalWarningDisplayOn () |
static Pointer | New () |
static void | SetGlobalWarningDisplay (bool val) |
Static Public Member Functions inherited from itk::LightObject | |
static void | BreakOnError () |
static Pointer | New () |
Static Public Attributes | |
static constexpr unsigned int | ObjectDimension = InputSpatialObjectType::ObjectDimension |
static constexpr unsigned int | OutputImageDimension = TOutputImage::ImageDimension |
Static Public Attributes inherited from itk::ImageSource< TOutputImage > | |
static constexpr unsigned int | OutputImageDimension = TOutputImage::ImageDimension |
SizeType | m_Size |
double | m_Spacing [OutputImageDimension] |
double | m_Origin [OutputImageDimension] |
DirectionType | m_Direction |
unsigned int | m_ChildrenDepth |
ValueType | m_InsideValue |
ValueType | m_OutsideValue |
bool | m_UseObjectValue |
template<class TReferenceImage > | |
void | SetReferenceImage (TReferenceImage *refImage) |
virtual void | SetSpacing (const SpacingType &spacing) |
virtual void | SetSpacing (const double *spacing) |
virtual void | SetSpacing (const float *spacing) |
virtual const double * | GetSpacing () const |
virtual void | SetDirection (const DirectionType &dir) |
virtual const DirectionType & | GetDirection () const |
virtual void | SetInsideValue (ValueType _arg) |
virtual ValueType | GetInsideValue () const |
virtual void | SetOutsideValue (ValueType _arg) |
virtual ValueType | GetOutsideValue () const |
virtual void | SetOrigin (const PointType &origin) |
virtual void | SetOrigin (const double *origin) |
virtual void | SetOrigin (const float *origin) |
virtual const double * | GetOrigin () const |
virtual void | SetChildrenDepth (unsigned int _arg) |
virtual unsigned int | GetChildrenDepth () const |
virtual void | SetSize (SizeType _arg) |
virtual SizeType | GetSize () const |
virtual void | SetUseObjectValue (bool _arg) |
virtual bool | GetUseObjectValue () const |
virtual void | UseObjectValueOn () |
virtual void | UseObjectValueOff () |
SpatialObjectToImageFilter () | |
~SpatialObjectToImageFilter () override=default | |
void | GenerateOutputInformation () override |
void | GenerateData () override |
void | PrintSelf (std::ostream &os, Indent indent) const override |
Base class for filters that take a SpatialObject as input and produce an image as output. By default, if the user does not specify the size of the output image, the maximum size of the object's bounding box is used. The spacing of the image is given by the spacing of the input Spatial object.
Definition at line 41 of file itkSpatialObjectToImageFilter.h.
using itk::SpatialObjectToImageFilter< TInputSpatialObject, TOutputImage >::ChildrenListType = typename TInputSpatialObject::ChildrenListType |
Definition at line 73 of file itkSpatialObjectToImageFilter.h.
using itk::SpatialObjectToImageFilter< TInputSpatialObject, TOutputImage >::ConstPointer = SmartPointer<const Self> |
Definition at line 50 of file itkSpatialObjectToImageFilter.h.
using itk::SpatialObjectToImageFilter< TInputSpatialObject, TOutputImage >::DirectionType = typename OutputImageType::DirectionType |
Definition at line 58 of file itkSpatialObjectToImageFilter.h.
using itk::SpatialObjectToImageFilter< TInputSpatialObject, TOutputImage >::InputSpatialObjectConstPointer = typename InputSpatialObjectType::ConstPointer |
Definition at line 72 of file itkSpatialObjectToImageFilter.h.
using itk::SpatialObjectToImageFilter< TInputSpatialObject, TOutputImage >::InputSpatialObjectPointer = typename InputSpatialObjectType::Pointer |
Definition at line 71 of file itkSpatialObjectToImageFilter.h.
using itk::SpatialObjectToImageFilter< TInputSpatialObject, TOutputImage >::InputSpatialObjectType = TInputSpatialObject |
Some convenient type alias.
Definition at line 70 of file itkSpatialObjectToImageFilter.h.
using itk::SpatialObjectToImageFilter< TInputSpatialObject, TOutputImage >::OutputImagePointer = typename OutputImageType::Pointer |
Definition at line 55 of file itkSpatialObjectToImageFilter.h.
using itk::SpatialObjectToImageFilter< TInputSpatialObject, TOutputImage >::OutputImageRegionType = typename Superclass::OutputImageRegionType |
Superclass type alias.
Definition at line 67 of file itkSpatialObjectToImageFilter.h.
using itk::SpatialObjectToImageFilter< TInputSpatialObject, TOutputImage >::OutputImageType = TOutputImage |
Definition at line 52 of file itkSpatialObjectToImageFilter.h.
using itk::SpatialObjectToImageFilter< TInputSpatialObject, TOutputImage >::Pointer = SmartPointer<Self> |
Definition at line 49 of file itkSpatialObjectToImageFilter.h.
using itk::SpatialObjectToImageFilter< TInputSpatialObject, TOutputImage >::PointType = typename OutputImageType::PointType |
Definition at line 54 of file itkSpatialObjectToImageFilter.h.
using itk::SpatialObjectToImageFilter< TInputSpatialObject, TOutputImage >::Self = SpatialObjectToImageFilter |
Standard class type aliases.
Definition at line 47 of file itkSpatialObjectToImageFilter.h.
using itk::SpatialObjectToImageFilter< TInputSpatialObject, TOutputImage >::SizeType = typename OutputImageType::SizeType |
Definition at line 53 of file itkSpatialObjectToImageFilter.h.
using itk::SpatialObjectToImageFilter< TInputSpatialObject, TOutputImage >::SpacingType = typename OutputImageType::SpacingType |
Definition at line 57 of file itkSpatialObjectToImageFilter.h.
using itk::SpatialObjectToImageFilter< TInputSpatialObject, TOutputImage >::Superclass = ImageSource<TOutputImage> |
Definition at line 48 of file itkSpatialObjectToImageFilter.h.
using itk::SpatialObjectToImageFilter< TInputSpatialObject, TOutputImage >::ValueType = typename OutputImageType::ValueType |
Definition at line 56 of file itkSpatialObjectToImageFilter.h.
|
protected |
Generate an output image that matches the origin, size, direction, and spacing of this image.
|
overrideprotecteddefault |
Generate an output image that matches the origin, size, direction, and spacing of this image.
|
virtual |
Create an object from an instance, potentially deferring to a factory. This method allows you to create an instance of an object that is exactly the same type as the referring object. This is useful in cases where an object has been cast back to a base class.
Reimplemented from itk::Object.
|
overrideprotectedvirtual |
Generate an output image that matches the origin, size, direction, and spacing of this image.
Reimplemented from itk::ImageSource< TOutputImage >.
|
inlineoverrideprotectedvirtual |
Generate an output image that matches the origin, size, direction, and spacing of this image.
Reimplemented from itk::ProcessObject.
Definition at line 192 of file itkSpatialObjectToImageFilter.h.
|
virtual |
Generate an output image that matches the origin, size, direction, and spacing of this image.
|
virtual |
Generate an output image that matches the origin, size, direction, and spacing of this image.
const InputSpatialObjectType* itk::SpatialObjectToImageFilter< TInputSpatialObject, TOutputImage >::GetInput | ( | ) |
const InputSpatialObjectType* itk::SpatialObjectToImageFilter< TInputSpatialObject, TOutputImage >::GetInput | ( | unsigned int | idx | ) |
|
virtual |
Generate an output image that matches the origin, size, direction, and spacing of this image.
|
virtual |
Run-time type information (and related methods).
Reimplemented from itk::ImageSource< TOutputImage >.
|
virtual |
Generate an output image that matches the origin, size, direction, and spacing of this image.
|
virtual |
Generate an output image that matches the origin, size, direction, and spacing of this image.
|
virtual |
Generate an output image that matches the origin, size, direction, and spacing of this image.
|
virtual |
Generate an output image that matches the origin, size, direction, and spacing of this image.
|
virtual |
Generate an output image that matches the origin, size, direction, and spacing of this image.
|
static |
Method for creation through the object factory.
|
overrideprotectedvirtual |
Generate an output image that matches the origin, size, direction, and spacing of this image.
Reimplemented from itk::ImageSource< TOutputImage >.
|
virtual |
The spatial object being transformed can be part of a hierarchy. How deep in the hierarchy should we descend in generating the image? A ChildrenDepth of 0 means to only include the object itself.
|
virtual |
Directions of the output image. The direction is for oriented images.
virtual void itk::ProcessObject::SetInput |
Set/Get the image input of this process object.
|
virtual |
|
virtual |
|
virtual |
Set/Get the value for pixels inside the spatial object. By default, this filter will return an image that contains values from the spatial object specified as input. If this "inside" value is changed to a non-null value, the output produced by this filter will be a mask with inside/outside values specified by the user.
|
virtual |
Generate an output image that matches the origin, size, direction, and spacing of this image.
|
virtual |
Generate an output image that matches the origin, size, direction, and spacing of this image.
|
virtual |
The origin of the output image. The origin is the geometric coordinates of the index (0,0,...,0). It is stored internally as double but may be set from float.
|
virtual |
Set/Get the value for pixels outside the spatial object. By default, this filter will return an image that contains values from the spatial object specified as input. If this "outside" value is changed to a non-null value, the output produced by this filter will be a mask with inside/outside values specified by the user.
|
inline |
Generate an output image that matches the origin, size, direction, and spacing of this image.
Definition at line 98 of file itkSpatialObjectToImageFilter.h.
|
virtual |
Set/Get Size
|
virtual |
Generate an output image that matches the origin, size, direction, and spacing of this image.
|
virtual |
Generate an output image that matches the origin, size, direction, and spacing of this image.
|
virtual |
Spacing (size of a pixel) of the output image. The spacing is the geometric distance between image samples. It is stored internally as double, but may be set from float.
|
virtual |
If UseObjectValue is set to true, then the filter uses the ValueAtInWorldSpace() function instead of IsInsideInWorldSpace()
|
virtual |
Generate an output image that matches the origin, size, direction, and spacing of this image.
|
virtual |
Generate an output image that matches the origin, size, direction, and spacing of this image.
|
protected |
Generate an output image that matches the origin, size, direction, and spacing of this image.
Definition at line 202 of file itkSpatialObjectToImageFilter.h.
|
protected |
Generate an output image that matches the origin, size, direction, and spacing of this image.
Definition at line 200 of file itkSpatialObjectToImageFilter.h.
|
protected |
Generate an output image that matches the origin, size, direction, and spacing of this image.
Definition at line 204 of file itkSpatialObjectToImageFilter.h.
|
protected |
Generate an output image that matches the origin, size, direction, and spacing of this image.
Definition at line 199 of file itkSpatialObjectToImageFilter.h.
|
protected |
Generate an output image that matches the origin, size, direction, and spacing of this image.
Definition at line 205 of file itkSpatialObjectToImageFilter.h.
|
protected |
Generate an output image that matches the origin, size, direction, and spacing of this image.
Definition at line 197 of file itkSpatialObjectToImageFilter.h.
|
protected |
Generate an output image that matches the origin, size, direction, and spacing of this image.
Definition at line 198 of file itkSpatialObjectToImageFilter.h.
|
protected |
Generate an output image that matches the origin, size, direction, and spacing of this image.
Definition at line 207 of file itkSpatialObjectToImageFilter.h.
|
staticconstexpr |
ImageDimension constants
Definition at line 76 of file itkSpatialObjectToImageFilter.h.
|
staticconstexpr |
Definition at line 78 of file itkSpatialObjectToImageFilter.h.