GDCM 2.2.1

- Main Page
- Related Pages
- Namespaces
- Classes
- Files
- Examples

- File List
- File Members

vtkImagePlanarComponentsToComponents.h
Go to the documentation of this file.
1 /*=========================================================================
2
3 Program: GDCM (Grassroots DICOM). A DICOM library
4
5 Copyright (c) 2006-2011 Mathieu Malaterre
6 All rights reserved.
7 See Copyright.txt or http://gdcm.sourceforge.net/Copyright.html for details.
8
9 This software is distributed WITHOUT ANY WARRANTY; without even
10 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
11 PURPOSE. See the above copyright notice for more information.
12
13 =========================================================================*/
14 /*=========================================================================
15
16 Portions of this file are subject to the VTK Toolkit Version 3 copyright.
17
18 Program: Visualization Toolkit
19 Module: $RCSfile: vtkImagePlanarComponentsToComponents.h,v $
20
21 Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
22 All rights reserved.
23 See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
24
25 This software is distributed WITHOUT ANY WARRANTY; without even
26 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
27 PURPOSE. See the above copyright notice for more information.
28
29 =========================================================================*/
30 // .NAME vtkImagePlanarComponentsToComponents - Converts planar comp to pixel comp
31 // .SECTION Description
32
33 // .SECTION See Also
34 // TODO: Can I make this filter threaded ?
35 // TODO: How do I handle the VTK-flipping (FileLowerLeft)?
36
37 #ifndef VTKIMAGEPLANARCOMPONENTSTOCOMPONENTS_H
38 #define VTKIMAGEPLANARCOMPONENTSTOCOMPONENTS_H
39
40 #include "vtkImageAlgorithm.h"
41
42 // everything is now handled within the vtkGDCMImageReader as Planar Configuration can not
43 // be externalized (conflict with file lower left)
44
45 #error do not use this class
46
47 //class VTK_EXPORT vtkImagePlanarComponentsToComponents : public vtkThreadedImageAlgorithm
48 class VTK_EXPORT vtkImagePlanarComponentsToComponents : public vtkImageAlgorithm
49 {
50 public:
51 static vtkImagePlanarComponentsToComponents *New();
52 //vtkTypeRevisionMacro(vtkImagePlanarComponentsToComponents,vtkThreadedImageAlgorithm);
53 vtkTypeRevisionMacro(vtkImagePlanarComponentsToComponents,vtkImageAlgorithm);
54
55 void PrintSelf(ostream& os, vtkIndent indent);
56
57 protected:
58 vtkImagePlanarComponentsToComponents();
59 ~vtkImagePlanarComponentsToComponents() {};
60
61 // void ThreadedExecute (vtkImageData *inData, vtkImageData *outData,
62 // int ext[6], int id);
63 // virtual int RequestInformation (vtkInformation *, vtkInformationVector**, vtkInformationVector *);
64 virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *);
65
66 private:
67 vtkImagePlanarComponentsToComponents(const vtkImagePlanarComponentsToComponents&); // Not implemented.
68 void operator=(const vtkImagePlanarComponentsToComponents&); // Not implemented.
69 };
70
71 #endif