Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019 #ifndef _MITK_DATA_TREE_NODE_SOURCE_H
00020 #define _MITK_DATA_TREE_NODE_SOURCE_H
00021
00022 #include "itkProcessObject.h"
00023 #include "mitkDataNode.h"
00024
00025 namespace mitk
00026 {
00038 class MITK_CORE_EXPORT DataNodeSource : public itk::ProcessObject
00039 {
00040 public:
00041 mitkClassMacro( DataNodeSource, itk::ProcessObject );
00042
00043 itkNewMacro( Self );
00044
00045 typedef mitk::DataNode OutputType;
00046
00047 typedef OutputType::Pointer OutputTypePointer;
00048
00055 virtual itk::DataObject::Pointer MakeOutput ( unsigned int idx );
00056
00061 virtual void SetOutput( OutputType* output );
00062
00067 virtual void SetOutput( unsigned int idx, OutputType* output );
00068
00073 virtual OutputType* GetOutput();
00074
00080 virtual OutputType* GetOutput ( unsigned int idx );
00081
00082 protected:
00083
00084 DataNodeSource();
00085
00086 virtual ~DataNodeSource();
00087
00088 };
00089
00090 }
00091 #endif // #define _MITK_BASE_DATA_SOURCE_H