VTK
/Users/kitware/Dashboards/MyTests/VTK_BLD_Release_docs/Utilities/Doxygen/dox/Imaging/Hybrid/vtkBooleanTexture.h
Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Visualization Toolkit
00004   Module:    vtkBooleanTexture.h
00005 
00006   Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
00007   All rights reserved.
00008   See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
00009 
00010      This software is distributed WITHOUT ANY WARRANTY; without even
00011      the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
00012      PURPOSE.  See the above copyright notice for more information.
00013 
00014 =========================================================================*/
00046 #ifndef vtkBooleanTexture_h
00047 #define vtkBooleanTexture_h
00048 
00049 #include "vtkImagingHybridModule.h" // For export macro
00050 #include "vtkImageAlgorithm.h"
00051 
00052 class VTKIMAGINGHYBRID_EXPORT vtkBooleanTexture : public vtkImageAlgorithm
00053 {
00054 public:
00055   static vtkBooleanTexture *New();
00056 
00057   vtkTypeMacro(vtkBooleanTexture,vtkImageAlgorithm);
00058   void PrintSelf(ostream& os, vtkIndent indent);
00059 
00061 
00062   vtkSetMacro(XSize,int);
00063   vtkGetMacro(XSize,int);
00065 
00067 
00068   vtkSetMacro(YSize,int);
00069   vtkGetMacro(YSize,int);
00071 
00073 
00074   vtkSetMacro(Thickness,int);
00075   vtkGetMacro(Thickness,int);
00077 
00079 
00080   vtkSetVector2Macro(InIn,unsigned char);
00081   vtkGetVectorMacro(InIn,unsigned char,2);
00083 
00085 
00086   vtkSetVector2Macro(InOut,unsigned char);
00087   vtkGetVectorMacro(InOut,unsigned char,2);
00089 
00091 
00092   vtkSetVector2Macro(OutIn,unsigned char);
00093   vtkGetVectorMacro(OutIn,unsigned char,2);
00095 
00097 
00098   vtkSetVector2Macro(OutOut,unsigned char);
00099   vtkGetVectorMacro(OutOut,unsigned char,2);
00101 
00103 
00104   vtkSetVector2Macro(OnOn,unsigned char);
00105   vtkGetVectorMacro(OnOn,unsigned char,2);
00107 
00109 
00110   vtkSetVector2Macro(OnIn,unsigned char);
00111   vtkGetVectorMacro(OnIn,unsigned char,2);
00113 
00115 
00116   vtkSetVector2Macro(OnOut,unsigned char);
00117   vtkGetVectorMacro(OnOut,unsigned char,2);
00119 
00121 
00122   vtkSetVector2Macro(InOn,unsigned char);
00123   vtkGetVectorMacro(InOn,unsigned char,2);
00125 
00127 
00128   vtkSetVector2Macro(OutOn,unsigned char);
00129   vtkGetVectorMacro(OutOn,unsigned char,2);
00131 
00132 protected:
00133   vtkBooleanTexture();
00134   ~vtkBooleanTexture() {}
00135 
00136   virtual int RequestInformation (vtkInformation *, vtkInformationVector**, vtkInformationVector *);
00137   virtual void ExecuteDataWithInformation(vtkDataObject *data, vtkInformation* outInfo);
00138 
00139   int XSize;
00140   int YSize;
00141 
00142   int Thickness;
00143   unsigned char InIn[2];
00144   unsigned char InOut[2];
00145   unsigned char OutIn[2];
00146   unsigned char OutOut[2];
00147   unsigned char OnOn[2];
00148   unsigned char OnIn[2];
00149   unsigned char OnOut[2];
00150   unsigned char InOn[2];
00151   unsigned char OutOn[2];
00152 
00153 private:
00154   vtkBooleanTexture(const vtkBooleanTexture&);  // Not implemented.
00155   void operator=(const vtkBooleanTexture&);  // Not implemented.
00156 };
00157 
00158 #endif
00159 
00160