# vtkImagePlanarComponentsToComponents.h

Go to the documentation of this file.

    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
    00027 // everything is now handled within the vtkGDCMImageReader as Planar Configuration can not
    00028 // be externalized (conflict with file lower left)
    00029
    00030 #error do not use this class
    00031
    00032 //class VTK_EXPORT vtkImagePlanarComponentsToComponents : public vtkThreadedImageAlgorithm
    00033 class VTK_EXPORT vtkImagePlanarComponentsToComponents : public vtkImageAlgorithm
    00034 {
    00035 public:
    00036   static vtkImagePlanarComponentsToComponents *New();
    00037   //vtkTypeRevisionMacro(vtkImagePlanarComponentsToComponents,vtkThreadedImageAlgorithm);
    00038   vtkTypeRevisionMacro(vtkImagePlanarComponentsToComponents,vtkImageAlgorithm);
    00039
    00040   void PrintSelf(ostream& os, vtkIndent indent);
    00041
    00042 protected:
    00043   vtkImagePlanarComponentsToComponents();
    00044   ~vtkImagePlanarComponentsToComponents() {};
    00045
    00046 //  void ThreadedExecute (vtkImageData *inData, vtkImageData *outData,
    00047 //                       int ext[6], int id);
    00048 //  virtual int RequestInformation (vtkInformation *, vtkInformationVector**, vtkInformationVector *);
    00049   virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *);
    00050
    00051 private:
    00052   vtkImagePlanarComponentsToComponents(const vtkImagePlanarComponentsToComponents&);  // Not implemented.
    00053   void operator=(const vtkImagePlanarComponentsToComponents&);  // Not implemented.
    00054 };
    00055
    00056 #endif
    00057