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

Generated on Tue Mar 27 2012 13:33:41 for GDCM by doxygen 1.8.0
SourceForge.net Logo