Superclass of all classes generating diffusion volumes (instances of class DiffusionImage) as output. More...
#include <mitkDiffusionImageSource.h>


Public Types | |
| typedef DiffusionImageSource | Self |
| typedef BaseProcess | Superclass |
| typedef itk::SmartPointer< Self > | Pointer |
| typedef itk::SmartPointer < const Self > | ConstPointer |
| typedef DiffusionImage < TPixelType > | OutputType |
| typedef itk::DataObject::Pointer | DataObjectPointer |
| Smart Pointer type to a DataObject. | |
Public Member Functions | |
| virtual const char * | GetClassName () const |
| virtual DataObjectPointer | MakeOutput (unsigned int idx) |
| Make a DataObject of the correct type to used as the specified output. | |
Static Public Member Functions | |
| static Pointer | New () |
| Method for creation through the object factory. | |
Protected Member Functions | |
| DiffusionImageSource () | |
| virtual | ~DiffusionImageSource () |
Superclass of all classes generating diffusion volumes (instances of class DiffusionImage) as output.
Definition at line 45 of file mitkDiffusionImageSource.h.
| typedef itk::SmartPointer<const Self> mitk::DiffusionImageSource< TPixelType >::ConstPointer |
Reimplemented in mitk::NrrdDiffusionImageReader< TPixelType >.
Definition at line 48 of file mitkDiffusionImageSource.h.
| typedef itk::DataObject::Pointer mitk::DiffusionImageSource< TPixelType >::DataObjectPointer |
Smart Pointer type to a DataObject.
Reimplemented from mitk::ImageSource.
Definition at line 52 of file mitkDiffusionImageSource.h.
| typedef DiffusionImage<TPixelType> mitk::DiffusionImageSource< TPixelType >::OutputType |
Reimplemented in mitk::NrrdDiffusionImageReader< TPixelType >.
Definition at line 49 of file mitkDiffusionImageSource.h.
| typedef itk::SmartPointer<Self> mitk::DiffusionImageSource< TPixelType >::Pointer |
Reimplemented in mitk::NrrdDiffusionImageReader< TPixelType >.
Definition at line 48 of file mitkDiffusionImageSource.h.
| typedef DiffusionImageSource mitk::DiffusionImageSource< TPixelType >::Self |
Reimplemented in mitk::NrrdDiffusionImageReader< TPixelType >.
Definition at line 48 of file mitkDiffusionImageSource.h.
| typedef BaseProcess mitk::DiffusionImageSource< TPixelType >::Superclass |
Reimplemented in mitk::NrrdDiffusionImageReader< TPixelType >.
Definition at line 48 of file mitkDiffusionImageSource.h.
| mitk::DiffusionImageSource< TPixelType >::DiffusionImageSource | ( | ) | [protected] |
Definition at line 25 of file mitkDiffusionImageSource.cpp.
{
// Create the output. We use static_cast<> here because we know the default
// output must be of type DiffusionImage
typename mitk::DiffusionImage<TPixelType>::Pointer output
= static_cast<typename mitk::DiffusionImage<TPixelType>*>(this->MakeOutput(0).GetPointer());
Superclass::SetNumberOfRequiredOutputs(1);
Superclass::SetNthOutput(0, output.GetPointer());
}
| mitk::DiffusionImageSource< TPixelType >::~DiffusionImageSource | ( | ) | [protected, virtual] |
Definition at line 37 of file mitkDiffusionImageSource.cpp.
{
}
| virtual const char* mitk::DiffusionImageSource< TPixelType >::GetClassName | ( | ) | const [virtual] |
Reimplemented in mitk::NrrdDiffusionImageReader< TPixelType >.
| itk::DataObject::Pointer mitk::DiffusionImageSource< TPixelType >::MakeOutput | ( | unsigned int | idx ) | [virtual] |
Make a DataObject of the correct type to used as the specified output.
Every ProcessObject subclass must be able to create a DataObject that can be used as a specified output. This method is automatically called when DataObject::DisconnectPipeline() is called. DataObject::DisconnectPipeline, disconnects a data object from being an output of its current source. When the data object is disconnected, the ProcessObject needs to construct a replacement output data object so that the ProcessObject is in a valid state. So DataObject::DisconnectPipeline eventually calls ProcessObject::MakeOutput. Note that MakeOutput always returns a SmartPointer to a DataObject. If a subclass of ImageSource has multiple outputs of different types, then that class must provide an implementation of MakeOutput().
Reimplemented from mitk::ImageSource.
Definition at line 43 of file mitkDiffusionImageSource.cpp.
References mitk::DiffusionImage< TPixelType >::New().
{
return static_cast<itk::DataObject*>(mitk::DiffusionImage<TPixelType>::New().GetPointer());
}
| static Pointer mitk::DiffusionImageSource< TPixelType >::New | ( | ) | [static] |
Method for creation through the object factory.
Reimplemented from mitk::ImageSource.
Reimplemented in mitk::NrrdDiffusionImageReader< TPixelType >.
1.7.2