dox/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
00032 #ifndef __vtkImageExtractComponents_h
00033 #define __vtkImageExtractComponents_h
00034
00035
00036 #include "vtkImageToImageFilter.h"
00037
00038 class VTK_IMAGING_EXPORT vtkImageExtractComponents : public vtkImageToImageFilter
00039 {
00040 public:
00041 static vtkImageExtractComponents *New();
00042 vtkTypeRevisionMacro(vtkImageExtractComponents,vtkImageToImageFilter);
00043 void PrintSelf(ostream& os, vtkIndent indent);
00044
00046
00047 void SetComponents(int c1);
00048 void SetComponents(int c1, int c2);
00049 void SetComponents(int c1, int c2, int c3);
00050 vtkGetVector3Macro(Components,int);
00052
00054
00056 vtkGetMacro(NumberOfComponents,int);
00058
00059 protected:
00060 vtkImageExtractComponents();
00061 ~vtkImageExtractComponents() {};
00062
00063 int NumberOfComponents;
00064 int Components[3];
00065
00066 void ExecuteInformation(vtkImageData *inData, vtkImageData *outData);
00067 void ExecuteInformation(){this->vtkImageToImageFilter::ExecuteInformation();};
00068 void ThreadedExecute(vtkImageData *inData, vtkImageData *outData,
00069 int ext[6], int id);
00070 private:
00071 vtkImageExtractComponents(const vtkImageExtractComponents&);
00072 void operator=(const vtkImageExtractComponents&);
00073 };
00074
00075 #endif
00076
00077
00078
00079
00080
00081
00082
00083
00084
00085