Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
mitkTbssImageSource.h
Go to the documentation of this file.
1 /*===================================================================
2 
3 The Medical Imaging Interaction Toolkit (MITK)
4 
5 Copyright (c) German Cancer Research Center,
6 Division of Medical and Biological Informatics.
7 All rights reserved.
8 
9 This software is distributed WITHOUT ANY WARRANTY; without
10 even the implied warranty of MERCHANTABILITY or FITNESS FOR
11 A PARTICULAR PURPOSE.
12 
13 See LICENSE.txt or http://www.mitk.org for details.
14 
15 ===================================================================*/
16 
17 
18 #ifndef _MITK_TBSS_IMAGE_DATA_SOURCE_H_HEADER_
19 #define _MITK_TBSS_IMAGE_DATA_SOURCE_H_HEADER_
20 
21 
22 // Should be changed in a new type for TBSS
23 #include "mitkImageSource.h"
24 #include "MitkQuantificationExports.h"
25 
26 
27 namespace mitk {
28 
29 
30 
31  class TbssImage;
32 
33 
34 //##Documentation
35 //## @brief Superclass of all classes generating diffusion volumes (instances
36 //## of class DiffusionImage) as output.
37 //##
38 //## @ingroup Process
39 
40 class MITKQUANTIFICATION_EXPORT TbssImageSource : public ImageSource
41 {
42 public:
44  itkFactorylessNewMacro(Self)
45  itkCloneMacro(Self)
46 
48  typedef itk::DataObject::Pointer DataObjectPointer;
49 
56  virtual itk::DataObject::Pointer MakeOutput ( DataObjectPointerArraySizeType idx ) override;
57 
64  virtual itk::DataObject::Pointer MakeOutput(const DataObjectIdentifierType &name) override;
65 
66  OutputType* GetOutput()
67  {
68  return itkDynamicCastInDebugMode<OutputType*>( this->GetPrimaryOutput() );
69  }
70 
71  //OutputType * GetOutput(unsigned int idx);
72 
73  //void SetOutput(OutputType* output);
74 
75  //{return Superclass::GetOutput();}
76 
77  OutputType* GetOutput(unsigned int idx);
78 
79  //virtual void GraftOutput(OutputType* graft);
80 
81  //virtual void GraftNthOutput(unsigned int idx, OutputType *graft);
82 
83 protected:
85 
86  virtual ~TbssImageSource(){}
87 };
88 
89 } // namespace mitk
90 
91 //#include "mitkTbssImageSource.cpp"
92 
93 
94 #endif /* _MITK_DIFFUSION_IMAGE_DATA_SOURCE_H_HEADER_ */
Superclass of all classes generating Images (instances of class Image) as output. ...
itk::DataObject::DataObjectIdentifierType DataObjectIdentifierType
Base of all data objects.
Definition: mitkBaseData.h:39
Superclass of all classes generating some kind of mitk::BaseData.
DataCollection - Class to facilitate loading/accessing structured data.
itk::DataObject::Pointer DataObjectPointer
Superclass of all classes generating diffusion volumes (instances of class DiffusionImage) as output...
#define mitkClassMacro(className, SuperClassName)
Definition: mitkCommon.h:44
this class encapsulates diffusion volumes (vectorimages not yet supported by mitkImage) ...
Definition: mitkTbssImage.h:34