00001 /*========================================================================= 00002 00003 Program: Medical Imaging & Interaction Toolkit 00004 Language: C++ 00005 Date: $Date: 2009-05-12 19:56:03 +0200 (Di, 12 Mai 2009) $ 00006 Version: $Revision: 17179 $ 00007 00008 Copyright (c) German Cancer Research Center, Division of Medical and 00009 Biological Informatics. All rights reserved. 00010 See MITKCopyright.txt or https://www.mitk.org/copyright.html for details. 00011 00012 This software is distributed WITHOUT ANY WARRANTY; without even 00013 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 00014 PURPOSE. See the above copyright notices for more information. 00015 00016 =========================================================================*/ 00017 00018 00019 #ifndef TensorImageSource_H_HEADER_INCLUDED_C1E7D6EC 00020 #define TensorImageSource_H_HEADER_INCLUDED_C1E7D6EC 00021 00022 #include "mitkImageSource.h" 00023 #include "mitkTensorImage.h" 00024 00025 namespace mitk { 00026 00027 class TensorImageSource : public ImageSource 00028 { 00029 public: 00030 00031 typedef mitk::TensorImage OutputImageType; 00032 typedef OutputImageType::Pointer OutputImagePointer; 00033 typedef SlicedData::RegionType OutputImageRegionType; 00034 typedef itk::DataObject::Pointer DataObjectPointer; 00035 00036 mitkClassMacro(TensorImageSource,ImageSource); 00037 itkNewMacro(Self); 00038 00039 virtual DataObjectPointer MakeOutput(unsigned int idx); 00040 00041 protected: 00042 TensorImageSource(); 00043 virtual ~TensorImageSource() {} 00044 00045 }; 00046 00047 } // namespace mitk 00048 00049 #endif /* TensorImageSource_H_HEADER_INCLUDED_C1E7D6EC */