Imaging/vtkBooleanTexture.h Source File

Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members File Members Related Pages

# Imaging/vtkBooleanTexture.h

Go to the documentation of this file.

    00001 /*=========================================================================
    00002
    00003   Program:   Visualization Toolkit
    00004   Module:    $RCSfile: vtkBooleanTexture.h,v $
    00005   Language:  C++
    00006
    00007   Copyright (c) 1993-2002 Ken Martin, Will Schroeder, Bill Lorensen
    00008   All rights reserved.
    00009   See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
    00010
    00011      This software is distributed WITHOUT ANY WARRANTY; without even
    00012      the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
    00013      PURPOSE.  See the above copyright notice for more information.
    00014
    00015 =========================================================================*/
    00063 #ifndef __vtkBooleanTexture_h
    00064 #define __vtkBooleanTexture_h
    00065
    00066 #include "vtkImageSource.h"
    00067
    00068 class VTK_IMAGING_EXPORT vtkBooleanTexture : public vtkImageSource
    00069 {
    00070 public:
    00071   static vtkBooleanTexture *New();
    00072
    00073   vtkTypeRevisionMacro(vtkBooleanTexture,vtkImageSource);
    00074   void PrintSelf(ostream& os, vtkIndent indent);
    00075
    00077
    00078   vtkSetMacro(XSize,int);
    00079   vtkGetMacro(XSize,int);
    00081
    00083
    00084   vtkSetMacro(YSize,int);
    00085   vtkGetMacro(YSize,int);
    00087
    00089
    00090   vtkSetMacro(Thickness,int);
    00091   vtkGetMacro(Thickness,int);
    00093
    00095
    00096   vtkSetVector2Macro(InIn,unsigned char);
    00097   vtkGetVectorMacro(InIn,unsigned char,2);
    00099
    00101
    00102   vtkSetVector2Macro(InOut,unsigned char);
    00103   vtkGetVectorMacro(InOut,unsigned char,2);
    00105
    00107
    00108   vtkSetVector2Macro(OutIn,unsigned char);
    00109   vtkGetVectorMacro(OutIn,unsigned char,2);
    00111
    00113
    00114   vtkSetVector2Macro(OutOut,unsigned char);
    00115   vtkGetVectorMacro(OutOut,unsigned char,2);
    00117
    00119
    00120   vtkSetVector2Macro(OnOn,unsigned char);
    00121   vtkGetVectorMacro(OnOn,unsigned char,2);
    00123
    00125
    00126   vtkSetVector2Macro(OnIn,unsigned char);
    00127   vtkGetVectorMacro(OnIn,unsigned char,2);
    00129
    00131
    00132   vtkSetVector2Macro(OnOut,unsigned char);
    00133   vtkGetVectorMacro(OnOut,unsigned char,2);
    00135
    00137
    00138   vtkSetVector2Macro(InOn,unsigned char);
    00139   vtkGetVectorMacro(InOn,unsigned char,2);
    00141
    00143
    00144   vtkSetVector2Macro(OutOn,unsigned char);
    00145   vtkGetVectorMacro(OutOn,unsigned char,2);
    00147
    00148 protected:
    00149   vtkBooleanTexture();
    00150   ~vtkBooleanTexture() {};
    00151
    00152   virtual void ExecuteInformation();
    00153   virtual void ExecuteData(vtkDataObject *data);
    00154
    00155   int XSize;
    00156   int YSize;
    00157
    00158   int Thickness;
    00159   unsigned char InIn[2];
    00160   unsigned char InOut[2];
    00161   unsigned char OutIn[2];
    00162   unsigned char OutOut[2];
    00163   unsigned char OnOn[2];
    00164   unsigned char OnIn[2];
    00165   unsigned char OnOut[2];
    00166   unsigned char InOn[2];
    00167   unsigned char OutOn[2];
    00168
    00169 private:
    00170   vtkBooleanTexture(const vtkBooleanTexture&);  // Not implemented.
    00171   void operator=(const vtkBooleanTexture&);  // Not implemented.
    00172 };
    00173
    00174 #endif
    00175
    00176