VTK
vtkBooleanTexture.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkBooleanTexture.h
5 
6  Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7  All rights reserved.
8  See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
9 
10  This software is distributed WITHOUT ANY WARRANTY; without even
11  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12  PURPOSE. See the above copyright notice for more information.
13 
14 =========================================================================*/
46 #ifndef vtkBooleanTexture_h
47 #define vtkBooleanTexture_h
48 
49 #include "vtkImagingHybridModule.h" // For export macro
50 #include "vtkImageAlgorithm.h"
51 
53 {
54 public:
56 
58  void PrintSelf(ostream& os, vtkIndent indent);
59 
61 
62  vtkSetMacro(XSize,int);
63  vtkGetMacro(XSize,int);
65 
67 
68  vtkSetMacro(YSize,int);
69  vtkGetMacro(YSize,int);
71 
73 
74  vtkSetMacro(Thickness,int);
75  vtkGetMacro(Thickness,int);
77 
79 
80  vtkSetVector2Macro(InIn,unsigned char);
81  vtkGetVectorMacro(InIn,unsigned char,2);
83 
85 
86  vtkSetVector2Macro(InOut,unsigned char);
87  vtkGetVectorMacro(InOut,unsigned char,2);
89 
91 
92  vtkSetVector2Macro(OutIn,unsigned char);
93  vtkGetVectorMacro(OutIn,unsigned char,2);
95 
97 
98  vtkSetVector2Macro(OutOut,unsigned char);
99  vtkGetVectorMacro(OutOut,unsigned char,2);
101 
103 
104  vtkSetVector2Macro(OnOn,unsigned char);
105  vtkGetVectorMacro(OnOn,unsigned char,2);
107 
109 
110  vtkSetVector2Macro(OnIn,unsigned char);
111  vtkGetVectorMacro(OnIn,unsigned char,2);
113 
115 
116  vtkSetVector2Macro(OnOut,unsigned char);
117  vtkGetVectorMacro(OnOut,unsigned char,2);
119 
121 
122  vtkSetVector2Macro(InOn,unsigned char);
123  vtkGetVectorMacro(InOn,unsigned char,2);
125 
127 
128  vtkSetVector2Macro(OutOn,unsigned char);
129  vtkGetVectorMacro(OutOn,unsigned char,2);
131 
132 protected:
135 
138 
139  int XSize;
140  int YSize;
141 
143  unsigned char InIn[2];
144  unsigned char InOut[2];
145  unsigned char OutIn[2];
146  unsigned char OutOut[2];
147  unsigned char OnOn[2];
148  unsigned char OnIn[2];
149  unsigned char OnOut[2];
150  unsigned char InOn[2];
151  unsigned char OutOn[2];
152 
153 private:
154  vtkBooleanTexture(const vtkBooleanTexture&); // Not implemented.
155  void operator=(const vtkBooleanTexture&); // Not implemented.
156 };
157 
158 #endif
159 
160 
vtkBooleanTexture::RequestInformation
virtual int RequestInformation(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
vtkgl::data
GLsizei GLsizei GLenum GLenum const GLvoid * data
Definition: vtkgl.h:11339
vtkSetVector2Macro
#define vtkSetVector2Macro(name, type)
Definition: vtkSetGet.h:254
vtkInformationVector
Store zero or more vtkInformation instances.
Definition: vtkInformationVector.h:41
vtkTypeMacro
#define vtkTypeMacro(thisClass, superclass)
Definition: vtkSetGet.h:642
vtkImageAlgorithm.h
vtkImageAlgorithm
Generic algorithm superclass for image algs.
Definition: vtkImageAlgorithm.h:40
vtkImagingHybridModule.h
vtkGetVectorMacro
#define vtkGetVectorMacro(name, type, count)
Definition: vtkSetGet.h:424
VTKIMAGINGHYBRID_EXPORT
#define VTKIMAGINGHYBRID_EXPORT
Definition: vtkImagingHybridModule.h:15
vtkBooleanTexture::XSize
int XSize
Definition: vtkBooleanTexture.h:139
vtkBooleanTexture::~vtkBooleanTexture
~vtkBooleanTexture()
Definition: vtkBooleanTexture.h:134
vtkBooleanTexture::vtkBooleanTexture
vtkBooleanTexture()
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:39
vtkBooleanTexture::New
static vtkBooleanTexture * New()
vtkBooleanTexture::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent)
vtkGetMacro
#define vtkGetMacro(name, type)
Definition: vtkSetGet.h:93
vtkBooleanTexture::Thickness
int Thickness
Definition: vtkBooleanTexture.h:142
vtkInformation
Store vtkAlgorithm input/output information.
Definition: vtkInformation.h:86
vtkSetMacro
vtkSetMacro(IgnoreDriverBugs, bool)
vtkBooleanTexture::ExecuteDataWithInformation
virtual void ExecuteDataWithInformation(vtkDataObject *data, vtkInformation *outInfo)
vtkBooleanTexture::YSize
int YSize
Definition: vtkBooleanTexture.h:140
vtkDataObject
general representation of visualization data
Definition: vtkDataObject.h:65
vtkBooleanTexture
generate 2D texture map based on combinations of inside, outside, and on region boundary
Definition: vtkBooleanTexture.h:53