vtkBooleanTexture.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00059 #ifndef __vtkBooleanTexture_h
00060 #define __vtkBooleanTexture_h
00061
00062 #include "vtkImageAlgorithm.h"
00063
00064 class VTK_IMAGING_EXPORT vtkBooleanTexture : public vtkImageAlgorithm
00065 {
00066 public:
00067 static vtkBooleanTexture *New();
00068
00069 vtkTypeRevisionMacro(vtkBooleanTexture,vtkImageAlgorithm);
00070 void PrintSelf(ostream& os, vtkIndent indent);
00071
00073
00074 vtkSetMacro(XSize,int);
00075 vtkGetMacro(XSize,int);
00077
00079
00080 vtkSetMacro(YSize,int);
00081 vtkGetMacro(YSize,int);
00083
00085
00086 vtkSetMacro(Thickness,int);
00087 vtkGetMacro(Thickness,int);
00089
00091
00092 vtkSetVector2Macro(InIn,unsigned char);
00093 vtkGetVectorMacro(InIn,unsigned char,2);
00095
00097
00098 vtkSetVector2Macro(InOut,unsigned char);
00099 vtkGetVectorMacro(InOut,unsigned char,2);
00101
00103
00104 vtkSetVector2Macro(OutIn,unsigned char);
00105 vtkGetVectorMacro(OutIn,unsigned char,2);
00107
00109
00110 vtkSetVector2Macro(OutOut,unsigned char);
00111 vtkGetVectorMacro(OutOut,unsigned char,2);
00113
00115
00116 vtkSetVector2Macro(OnOn,unsigned char);
00117 vtkGetVectorMacro(OnOn,unsigned char,2);
00119
00121
00122 vtkSetVector2Macro(OnIn,unsigned char);
00123 vtkGetVectorMacro(OnIn,unsigned char,2);
00125
00127
00128 vtkSetVector2Macro(OnOut,unsigned char);
00129 vtkGetVectorMacro(OnOut,unsigned char,2);
00131
00133
00134 vtkSetVector2Macro(InOn,unsigned char);
00135 vtkGetVectorMacro(InOn,unsigned char,2);
00137
00139
00140 vtkSetVector2Macro(OutOn,unsigned char);
00141 vtkGetVectorMacro(OutOn,unsigned char,2);
00143
00144 protected:
00145 vtkBooleanTexture();
00146 ~vtkBooleanTexture() {};
00147
00148 virtual void ExecuteInformation (vtkInformation *, vtkInformationVector *, vtkInformationVector *);
00149 virtual void ExecuteData(vtkDataObject *data);
00150
00151 int XSize;
00152 int YSize;
00153
00154 int Thickness;
00155 unsigned char InIn[2];
00156 unsigned char InOut[2];
00157 unsigned char OutIn[2];
00158 unsigned char OutOut[2];
00159 unsigned char OnOn[2];
00160 unsigned char OnIn[2];
00161 unsigned char OnOut[2];
00162 unsigned char InOn[2];
00163 unsigned char OutOn[2];
00164
00165 private:
00166 vtkBooleanTexture(const vtkBooleanTexture&);
00167 void operator=(const vtkBooleanTexture&);
00168 };
00169
00170 #endif
00171
00172