vtkImageExtractComponents.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00040 #ifndef __vtkImageExtractComponents_h
00041 #define __vtkImageExtractComponents_h
00042
00043
00044 #include "vtkThreadedImageAlgorithm.h"
00045
00046 class VTK_IMAGING_EXPORT vtkImageExtractComponents : public vtkThreadedImageAlgorithm
00047 {
00048 public:
00049 static vtkImageExtractComponents *New();
00050 vtkTypeRevisionMacro(vtkImageExtractComponents,vtkThreadedImageAlgorithm);
00051 void PrintSelf(ostream& os, vtkIndent indent);
00052
00054
00055 void SetComponents(int c1);
00056 void SetComponents(int c1, int c2);
00057 void SetComponents(int c1, int c2, int c3);
00058 vtkGetVector3Macro(Components,int);
00060
00062
00064 vtkGetMacro(NumberOfComponents,int);
00066
00067 protected:
00068 vtkImageExtractComponents();
00069 ~vtkImageExtractComponents() {};
00070
00071 int NumberOfComponents;
00072 int Components[3];
00073
00074 void ExecuteInformation (vtkInformation *, vtkInformationVector *,
00075 vtkInformationVector *);
00076
00077 void ThreadedExecute (vtkImageData *inData, vtkImageData *outData,
00078 int ext[6], int id);
00079 private:
00080 vtkImageExtractComponents(const vtkImageExtractComponents&);
00081 void operator=(const vtkImageExtractComponents&);
00082 };
00083
00084 #endif
00085
00086
00087
00088
00089
00090
00091
00092
00093
00094