00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: $RCSfile: vtkImagePlanarComponentsToComponents.h,v $ 00005 00006 Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen 00007 All rights reserved. 00008 See Copyright.txt or http://www.kitware.com/Copyright.htm for details. 00009 00010 This software is distributed WITHOUT ANY WARRANTY; without even 00011 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 00012 PURPOSE. See the above copyright notice for more information. 00013 00014 =========================================================================*/ 00015 // .NAME vtkImagePlanarComponentsToComponents - Converts planar comp to pixel comp 00016 // .SECTION Description 00017 00018 // .SECTION See Also 00019 // TODO: Can I make this filter threaded ? 00020 // TODO: How do I handle the VTK-flipping (FileLowerLeft)? 00021 00022 #ifndef __vtkImagePlanarComponentsToComponents_h 00023 #define __vtkImagePlanarComponentsToComponents_h 00024 00025 #include "vtkImageAlgorithm.h" 00026 #include "gdcmTypes.h" // GDCM_EXPORT 00027 00028 // everything is now handled within the vtkGDCMImageReader as Planar Configuration can not 00029 // be externalized (conflict with file lower left) 00030 00031 #error do not use this class 00032 00033 //class VTK_EXPORT vtkImagePlanarComponentsToComponents : public vtkThreadedImageAlgorithm 00034 class GDCM_EXPORT vtkImagePlanarComponentsToComponents : public vtkImageAlgorithm 00035 { 00036 public: 00037 static vtkImagePlanarComponentsToComponents *New(); 00038 //vtkTypeRevisionMacro(vtkImagePlanarComponentsToComponents,vtkThreadedImageAlgorithm); 00039 vtkTypeRevisionMacro(vtkImagePlanarComponentsToComponents,vtkImageAlgorithm); 00040 00041 void PrintSelf(ostream& os, vtkIndent indent); 00042 00043 protected: 00044 vtkImagePlanarComponentsToComponents(); 00045 ~vtkImagePlanarComponentsToComponents() {}; 00046 00047 // void ThreadedExecute (vtkImageData *inData, vtkImageData *outData, 00048 // int ext[6], int id); 00049 // virtual int RequestInformation (vtkInformation *, vtkInformationVector**, vtkInformationVector *); 00050 virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *); 00051 00052 private: 00053 vtkImagePlanarComponentsToComponents(const vtkImagePlanarComponentsToComponents&); // Not implemented. 00054 void operator=(const vtkImagePlanarComponentsToComponents&); // Not implemented. 00055 }; 00056 00057 #endif 00058