00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00046 #ifndef __vtkBooleanTexture_h
00047 #define __vtkBooleanTexture_h
00048
00049 #include "vtkImageAlgorithm.h"
00050
00051 class VTK_IMAGING_EXPORT vtkBooleanTexture : public vtkImageAlgorithm
00052 {
00053 public:
00054 static vtkBooleanTexture *New();
00055
00056 vtkTypeRevisionMacro(vtkBooleanTexture,vtkImageAlgorithm);
00057 void PrintSelf(ostream& os, vtkIndent indent);
00058
00060
00061 vtkSetMacro(XSize,int);
00062 vtkGetMacro(XSize,int);
00064
00066
00067 vtkSetMacro(YSize,int);
00068 vtkGetMacro(YSize,int);
00070
00072
00073 vtkSetMacro(Thickness,int);
00074 vtkGetMacro(Thickness,int);
00076
00078
00079 vtkSetVector2Macro(InIn,unsigned char);
00080 vtkGetVectorMacro(InIn,unsigned char,2);
00082
00084
00085 vtkSetVector2Macro(InOut,unsigned char);
00086 vtkGetVectorMacro(InOut,unsigned char,2);
00088
00090
00091 vtkSetVector2Macro(OutIn,unsigned char);
00092 vtkGetVectorMacro(OutIn,unsigned char,2);
00094
00096
00097 vtkSetVector2Macro(OutOut,unsigned char);
00098 vtkGetVectorMacro(OutOut,unsigned char,2);
00100
00102
00103 vtkSetVector2Macro(OnOn,unsigned char);
00104 vtkGetVectorMacro(OnOn,unsigned char,2);
00106
00108
00109 vtkSetVector2Macro(OnIn,unsigned char);
00110 vtkGetVectorMacro(OnIn,unsigned char,2);
00112
00114
00115 vtkSetVector2Macro(OnOut,unsigned char);
00116 vtkGetVectorMacro(OnOut,unsigned char,2);
00118
00120
00121 vtkSetVector2Macro(InOn,unsigned char);
00122 vtkGetVectorMacro(InOn,unsigned char,2);
00124
00126
00127 vtkSetVector2Macro(OutOn,unsigned char);
00128 vtkGetVectorMacro(OutOn,unsigned char,2);
00130
00131 protected:
00132 vtkBooleanTexture();
00133 ~vtkBooleanTexture() {};
00134
00135 virtual int RequestInformation (vtkInformation *, vtkInformationVector**, vtkInformationVector *);
00136 virtual void ExecuteData(vtkDataObject *data);
00137
00138 int XSize;
00139 int YSize;
00140
00141 int Thickness;
00142 unsigned char InIn[2];
00143 unsigned char InOut[2];
00144 unsigned char OutIn[2];
00145 unsigned char OutOut[2];
00146 unsigned char OnOn[2];
00147 unsigned char OnIn[2];
00148 unsigned char OnOut[2];
00149 unsigned char InOn[2];
00150 unsigned char OutOn[2];
00151
00152 private:
00153 vtkBooleanTexture(const vtkBooleanTexture&);
00154 void operator=(const vtkBooleanTexture&);
00155 };
00156
00157 #endif
00158
00159