Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members File Members Related Pages
Imaging/vtkImageExtractComponents.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00043 #ifndef __vtkImageExtractComponents_h
00044 #define __vtkImageExtractComponents_h
00045
00046
00047 #include "vtkImageToImageFilter.h"
00048
00049 class VTK_IMAGING_EXPORT vtkImageExtractComponents : public vtkImageToImageFilter
00050 {
00051 public:
00052 static vtkImageExtractComponents *New();
00053 vtkTypeRevisionMacro(vtkImageExtractComponents,vtkImageToImageFilter);
00054 void PrintSelf(ostream& os, vtkIndent indent);
00055
00057
00058 void SetComponents(int c1);
00059 void SetComponents(int c1, int c2);
00060 void SetComponents(int c1, int c2, int c3);
00061 vtkGetVector3Macro(Components,int);
00063
00065
00067 vtkGetMacro(NumberOfComponents,int);
00069
00070 protected:
00071 vtkImageExtractComponents();
00072 ~vtkImageExtractComponents() {};
00073
00074 int NumberOfComponents;
00075 int Components[3];
00076
00077 void ExecuteInformation(vtkImageData *inData, vtkImageData *outData);
00078 void ExecuteInformation(){this->vtkImageToImageFilter::ExecuteInformation();};
00079 void ThreadedExecute(vtkImageData *inData, vtkImageData *outData,
00080 int ext[6], int id);
00081 private:
00082 vtkImageExtractComponents(const vtkImageExtractComponents&);
00083 void operator=(const vtkImageExtractComponents&);
00084 };
00085
00086 #endif
00087
00088
00089
00090
00091
00092
00093
00094
00095
00096