# vtkImagePlanarComponentsToComponents.h

Go to the documentation of this file.

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