Main Page | Directories | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members | Related Pages

vtkBooleanTexture.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Visualization Toolkit
00004   Module:    $RCSfile: vtkBooleanTexture.h,v $
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 =========================================================================*/
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&);  // Not implemented.
00167   void operator=(const vtkBooleanTexture&);  // Not implemented.
00168 };
00169 
00170 #endif
00171 
00172