Medical Imaging Interaction Toolkit
2016.11.0
Medical Imaging Interaction Toolkit
|
Superclass of all classes generating some kind of mitk::BaseData. More...
#include <mitkBaseDataSource.h>
Public Types | |
typedef BaseDataSource | Self |
typedef itk::ProcessObject | Superclass |
typedef itk::SmartPointer< Self > | Pointer |
typedef itk::SmartPointer< const Self > | ConstPointer |
typedef BaseData | OutputType |
typedef itk::DataObject::DataObjectIdentifierType | DataObjectIdentifierType |
Public Member Functions | |
virtual std::vector< std::string > | GetClassHierarchy () const |
virtual const char * | GetClassName () const |
OutputType * | GetOutput () |
const OutputType * | GetOutput () const |
OutputType * | GetOutput (DataObjectPointerArraySizeType idx) |
const OutputType * | GetOutput (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... | |
virtual DataObjectPointer | MakeOutput (DataObjectPointerArraySizeType idx) override=0 |
virtual DataObjectPointer | MakeOutput (const DataObjectIdentifierType &name) override=0 |
bool | Updating () const |
Access itk::ProcessObject::m_Updating. More... | |
Static Public Member Functions | |
static const char * | GetStaticNameOfClass () |
Protected Member Functions | |
BaseDataSource () | |
virtual | ~BaseDataSource () |
Static Protected Member Functions | |
static Pointer | New () |
Superclass of all classes generating some kind of mitk::BaseData.
Superclass of all classes generating some kind of mitk::BaseData. In itk and vtk the generated result of a ProcessObject is only guaranteed to be up-to-date, when Update() of the ProcessObject or the generated DataObject is called immediately before access of the data stored in the DataObject. This is also true for subclasses of mitk::BaseProcess. But many of the subclasses of mitk::BaseProcess define additional access functions to the generated output that guarantee an up-to-date result, see for example mitk::ImageSource.
Definition at line 75 of file mitkBaseDataSource.h.
typedef itk::SmartPointer<const Self> mitk::BaseDataSource::ConstPointer |
Definition at line 78 of file mitkBaseDataSource.h.
typedef itk::DataObject::DataObjectIdentifierType mitk::BaseDataSource::DataObjectIdentifierType |
Definition at line 81 of file mitkBaseDataSource.h.
Definition at line 80 of file mitkBaseDataSource.h.
Definition at line 78 of file mitkBaseDataSource.h.
Definition at line 78 of file mitkBaseDataSource.h.
typedef itk::ProcessObject mitk::BaseDataSource::Superclass |
Definition at line 78 of file mitkBaseDataSource.h.
|
protected |
Definition at line 20 of file mitkBaseDataSource.cpp.
|
protectedvirtual |
Definition at line 24 of file mitkBaseDataSource.cpp.
|
inlinevirtual |
Reimplemented in mitk::CompareImageDataFilter, mitk::ExtractSliceFilter, mitk::ImageToSurfaceFilter, mitk::PlaneGeometryDataToSurfaceFilter, mitk::SurfaceToImageFilter, mitk::ImageSource, mitk::ITKImageImport< TInputImage >, mitk::Convert2Dto3DImageFilter, mitk::RGBToRGBACastImageFilter, mitk::SurfaceSource, mitk::SubImageSelector, mitk::PointSetSource, mitk::SurfaceToSurfaceFilter, mitk::MultiComponentImageDataComparisonFilter, mitk::ImageChannelSelector, mitk::ImageSliceSelector, mitk::ImageTimeSelector, mitk::PointSetToPointSetFilter, and mitk::ImageToImageFilter.
Definition at line 78 of file mitkBaseDataSource.h.
|
virtual |
Reimplemented in mitk::CompareImageDataFilter, mitk::ExtractSliceFilter, mitk::ImageToSurfaceFilter, mitk::PlaneGeometryDataToSurfaceFilter, mitk::SurfaceToImageFilter, mitk::ImageSource, mitk::ITKImageImport< TInputImage >, mitk::Convert2Dto3DImageFilter, mitk::RGBToRGBACastImageFilter, mitk::SurfaceSource, mitk::SubImageSelector, mitk::PointSetSource, mitk::SurfaceToSurfaceFilter, mitk::MultiComponentImageDataComparisonFilter, mitk::ImageChannelSelector, mitk::ImageSliceSelector, mitk::ImageTimeSelector, mitk::PointSetToPointSetFilter, and mitk::ImageToImageFilter.
OutputType* mitk::BaseDataSource::GetOutput | ( | ) |
const OutputType* mitk::BaseDataSource::GetOutput | ( | ) | const |
OutputType* mitk::BaseDataSource::GetOutput | ( | DataObjectPointerArraySizeType | idx | ) |
const OutputType* mitk::BaseDataSource::GetOutput | ( | DataObjectPointerArraySizeType | idx | ) | const |
|
inlinestatic |
Definition at line 78 of file mitkBaseDataSource.h.
|
virtual |
Graft the specified base data object onto this BaseDataSource's idx'th output.
This is the similar to GraftOutput method except is allows you specify which output is affected. The specified index must be a valid output number (less than ProcessObject::GetNumberOfOutputs()). See the GraftOutput for general usage information.
Definition at line 48 of file mitkBaseDataSource.cpp.
|
virtual |
Graft the specified BaseData onto this BaseDataSource's output.
This method is used when a process object is implemented using a mini-pipeline which is defined in its GenerateData() method. The usage is:
Definition at line 28 of file mitkBaseDataSource.cpp.
|
virtual |
Graft the specified base data object onto this BaseDataSource's named output. This is similar to the GraftOutput method except it allows you to specify which output is affected. See the GraftOutput for general usage information.
Definition at line 33 of file mitkBaseDataSource.cpp.
|
overridepure virtual |
Implemented in mitk::ImageSource, mitk::GroupDiffusionHeadersFilter, mitk::TbssImageSource, mitk::TbssRoiImageSource, mitk::PointSetSource, mitk::PlanarFigureSource, mitk::GeometryDataSource, mitk::SurfaceSource, mitk::UnstructuredGridSource, mitk::LabelSetImageSource, mitk::ContourModelSetSource, mitk::ContourModelSource, mitk::ContourModelSetToImageFilter, mitk::QBallImageSource, mitk::TensorImageSource, and mitk::QBallImageSource.
|
overridepure virtual |
Implemented in mitk::ImageSource, mitk::GroupDiffusionHeadersFilter, mitk::TbssImageSource, mitk::TbssRoiImageSource, mitk::PointSetSource, mitk::PlanarFigureSource, mitk::GeometryDataSource, mitk::SurfaceSource, mitk::UnstructuredGridSource, mitk::ContourModelSetSource, mitk::ContourModelSource, mitk::ContourModelSetToImageFilter, mitk::QBallImageSource, mitk::TensorImageSource, and mitk::LabelSetImageSource.
|
staticprotected |
bool mitk::BaseDataSource::Updating | ( | ) | const |
Access itk::ProcessObject::m_Updating.
m_Updating indicates when the pipeline is executing. It prevents infinite recursion when pipelines have loops.
Definition at line 59 of file mitkBaseDataSource.cpp.