vtkBooleanTexture.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00050 #ifndef __vtkBooleanTexture_h
00051 #define __vtkBooleanTexture_h
00052
00053 #include "vtkImageSource.h"
00054
00055 class VTK_IMAGING_EXPORT vtkBooleanTexture : public vtkImageSource
00056 {
00057 public:
00058 static vtkBooleanTexture *New();
00059
00060 vtkTypeRevisionMacro(vtkBooleanTexture,vtkImageSource);
00061 void PrintSelf(ostream& os, vtkIndent indent);
00062
00064
00065 vtkSetMacro(XSize,int);
00066 vtkGetMacro(XSize,int);
00068
00070
00071 vtkSetMacro(YSize,int);
00072 vtkGetMacro(YSize,int);
00074
00076
00077 vtkSetMacro(Thickness,int);
00078 vtkGetMacro(Thickness,int);
00080
00082
00083 vtkSetVector2Macro(InIn,unsigned char);
00084 vtkGetVectorMacro(InIn,unsigned char,2);
00086
00088
00089 vtkSetVector2Macro(InOut,unsigned char);
00090 vtkGetVectorMacro(InOut,unsigned char,2);
00092
00094
00095 vtkSetVector2Macro(OutIn,unsigned char);
00096 vtkGetVectorMacro(OutIn,unsigned char,2);
00098
00100
00101 vtkSetVector2Macro(OutOut,unsigned char);
00102 vtkGetVectorMacro(OutOut,unsigned char,2);
00104
00106
00107 vtkSetVector2Macro(OnOn,unsigned char);
00108 vtkGetVectorMacro(OnOn,unsigned char,2);
00110
00112
00113 vtkSetVector2Macro(OnIn,unsigned char);
00114 vtkGetVectorMacro(OnIn,unsigned char,2);
00116
00118
00119 vtkSetVector2Macro(OnOut,unsigned char);
00120 vtkGetVectorMacro(OnOut,unsigned char,2);
00122
00124
00125 vtkSetVector2Macro(InOn,unsigned char);
00126 vtkGetVectorMacro(InOn,unsigned char,2);
00128
00130
00131 vtkSetVector2Macro(OutOn,unsigned char);
00132 vtkGetVectorMacro(OutOn,unsigned char,2);
00134
00135 protected:
00136 vtkBooleanTexture();
00137 ~vtkBooleanTexture() {};
00138
00139 virtual void ExecuteInformation();
00140 virtual void ExecuteData(vtkDataObject *data);
00141
00142 int XSize;
00143 int YSize;
00144
00145 int Thickness;
00146 unsigned char InIn[2];
00147 unsigned char InOut[2];
00148 unsigned char OutIn[2];
00149 unsigned char OutOut[2];
00150 unsigned char OnOn[2];
00151 unsigned char OnIn[2];
00152 unsigned char OnOut[2];
00153 unsigned char InOn[2];
00154 unsigned char OutOn[2];
00155
00156 private:
00157 vtkBooleanTexture(const vtkBooleanTexture&);
00158 void operator=(const vtkBooleanTexture&);
00159 };
00160
00161 #endif
00162
00163