Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
mitk::ImageToPlanarFigureFilter Class Reference

Superclass of all classes having one or more Images as input and generating PlanarFigures as output. More...

#include <mitkImageToPlanarFigureFilter.h>

Inheritance diagram for mitk::ImageToPlanarFigureFilter:
Collaboration diagram for mitk::ImageToPlanarFigureFilter:

Public Types

typedef mitk::Image InputImageType
 
typedef InputImageType::Pointer InputImagePointer
 
typedef InputImageType::ConstPointer InputImageConstPointer
 
typedef SlicedData::RegionType InputImageRegionType
 
- Public Types inherited from mitk::PlanarFigureSource
typedef mitk::PlanarFigure OutputType
 
typedef OutputType::Pointer OutputTypePointer
 
typedef itk::DataObject::Pointer DataObjectPointer
 
- Public Types inherited from mitk::BaseDataSource
typedef BaseDataSource Self
 
typedef itk::ProcessObject Superclass
 
typedef itk::SmartPointer< SelfPointer
 
typedef itk::SmartPointer< const SelfConstPointer
 
typedef BaseData OutputType
 
typedef itk::DataObject::DataObjectIdentifierType DataObjectIdentifierType
 

Public Member Functions

 mitkClassMacro (ImageToPlanarFigureFilter, PlanarFigureSource)
 
virtual void SetInput (const InputImageType *image)
 
virtual void SetInput (unsigned int, const InputImageType *image)
 
const InputImageTypeGetInput (void)
 
const InputImageTypeGetInput (unsigned int idx)
 
- Public Member Functions inherited from mitk::PlanarFigureSource
 mitkClassMacro (PlanarFigureSource, BaseDataSource) static Pointer New()
 
Pointer Clone () const
 
virtual mitkBaseDataSourceGetOutputDeclarations itk::DataObject::Pointer MakeOutput (DataObjectPointerArraySizeType idx) override
 
virtual itk::DataObject::Pointer MakeOutput (const DataObjectIdentifierType &name) override
 
void GenerateInputRequestedRegion () override
 
- Public Member Functions inherited from mitk::BaseDataSource
virtual std::vector< std::string > GetClassHierarchy () const
 
virtual const char * GetClassName () const
 
OutputTypeGetOutput ()
 
const OutputTypeGetOutput () const
 
OutputTypeGetOutput (DataObjectPointerArraySizeType idx)
 
const OutputTypeGetOutput (DataObjectPointerArraySizeType idx) const
 
virtual void GraftOutput (OutputType *output)
 Graft the specified BaseData onto this BaseDataSource's output. More...
 
virtual void GraftOutput (const DataObjectIdentifierType &key, OutputType *output)
 
virtual void GraftNthOutput (unsigned int idx, OutputType *output)
 Graft the specified base data object onto this BaseDataSource's idx'th output. More...
 
bool Updating () const
 Access itk::ProcessObject::m_Updating. More...
 

Protected Member Functions

 ImageToPlanarFigureFilter ()
 
 ~ImageToPlanarFigureFilter ()
 
virtual void PrintSelf (std::ostream &os, itk::Indent indent) const override
 
virtual void GenerateInputRequestedRegion () override
 
- Protected Member Functions inherited from mitk::PlanarFigureSource
 PlanarFigureSource ()
 
virtual ~PlanarFigureSource ()
 
- Protected Member Functions inherited from mitk::BaseDataSource
 BaseDataSource ()
 
virtual ~BaseDataSource ()
 

Additional Inherited Members

- Static Public Member Functions inherited from mitk::BaseDataSource
static const char * GetStaticNameOfClass ()
 
- Static Protected Member Functions inherited from mitk::BaseDataSource
static Pointer New ()
 

Detailed Description

Superclass of all classes having one or more Images as input and generating PlanarFigures as output.

Definition at line 30 of file mitkImageToPlanarFigureFilter.h.

Member Typedef Documentation

Some convenient typedefs.

Definition at line 38 of file mitkImageToPlanarFigureFilter.h.

Constructor & Destructor Documentation

mitk::ImageToPlanarFigureFilter::ImageToPlanarFigureFilter ( )
protected

Definition at line 19 of file mitkImageToPlanarFigureFilter.cpp.

mitk::ImageToPlanarFigureFilter::~ImageToPlanarFigureFilter ( )
protected

Definition at line 25 of file mitkImageToPlanarFigureFilter.cpp.

Member Function Documentation

void mitk::ImageToPlanarFigureFilter::GenerateInputRequestedRegion ( )
overrideprotectedvirtual

What is the input requested region that is required to produce the output requested region? The base assumption for image processing filters is that the input requested region can be set to match the output requested region. If a filter requires more input (for instance a filter that uses neighborhoods needs more input than output to avoid introducing artificial boundary conditions) or less input (for instance a magnify filter) will have to override this method. In doing so, it should call its superclass' implementation as its first step. Note that this imaging filters operate differently than the classes to this point in the class hierachy. Up till now, the base assumption has been that the largest possible region will be requested of the input.

See also
ProcessObject::GenerateInputRequestedRegion(), ImageSource::GenerateInputRequestedRegion()

Definition at line 75 of file mitkImageToPlanarFigureFilter.cpp.

const mitk::ImageToPlanarFigureFilter::InputImageType * mitk::ImageToPlanarFigureFilter::GetInput ( void  )

Definition at line 55 of file mitkImageToPlanarFigureFilter.cpp.

const mitk::ImageToPlanarFigureFilter::InputImageType * mitk::ImageToPlanarFigureFilter::GetInput ( unsigned int  idx)

Definition at line 68 of file mitkImageToPlanarFigureFilter.cpp.

mitk::ImageToPlanarFigureFilter::mitkClassMacro ( ImageToPlanarFigureFilter  ,
PlanarFigureSource   
)
void mitk::ImageToPlanarFigureFilter::PrintSelf ( std::ostream &  os,
itk::Indent  indent 
) const
overrideprotectedvirtual

Definition at line 80 of file mitkImageToPlanarFigureFilter.cpp.

void mitk::ImageToPlanarFigureFilter::SetInput ( const InputImageType image)
virtual

Definition at line 32 of file mitkImageToPlanarFigureFilter.cpp.

void mitk::ImageToPlanarFigureFilter::SetInput ( unsigned int  index,
const InputImageType image 
)
virtual

Connect one of the operands for pixel-wise addition

Definition at line 41 of file mitkImageToPlanarFigureFilter.cpp.


The documentation for this class was generated from the following files: