VTK
vtkOpenGLState.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkOpenGLState.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 =========================================================================*/
34 #ifndef vtkOpenGLState_h
35 #define vtkOpenGLState_h
36 
37 #include "vtkRenderingOpenGLModule.h" // For export macro
38 #include "vtkgl.h"
39 #include <vector>
40 
42 
44 {
45 public:
46  GLfloat Ambient[4];
47  GLfloat Diffuse[4];
48  GLfloat Specular[4];
49  GLfloat Shininess;
50 
51  GLfloat AmbientIndex;
52  GLfloat DiffuseIndex;
53  GLfloat SpecularIndex;
54 };
55 
57 {
58 public:
59  void Update();
60 
61  GLfloat Ambient[4];
62  GLfloat Diffuse[4];
63  GLfloat Specular[4];
64  GLfloat Position[4];
68  GLfloat SpotDirection[4];
69  GLfloat SpotExponent;
70  GLfloat SpotCutoff;
71 };
72 
74 {
75 public:
76  void Update();
77 
78  GLvoid *Image;
79  GLint Width;
80  GLint Height;
81  GLint Border;
83  GLint RedSize;
84  GLint GreenSize;
85  GLint BlueSize;
86  GLint AlphaSize;
89 
90  // 1.2.1
91  GLint Depth;
92 
93  // 1.3
94  GLboolean Compressed;
96 
97  // 1.4
98  GLint DepthSize;
99 };
100 
101 #if 0
102 class vtkOpenGLTextureObjectState
103 {
104 public:
105  void Update();
106 
107  static const int n=10;
108  vtkOpenGLTextureImageState Texture1D[n];
109  vtkOpenGLTextureImageState Texture2D[n];
110 
111  GLfloat BorderColor[4];
112  GLint MinFilter;
113  GLint MagFilter;
114  GLint WrapS;
115  GLint WrapT;
116  GLfloat TexturePriority;
117  GLboolean TextureResident;
118 
119  // 1.2.1
120  vtkOpenGLTextureImageState Texture3D[n];
121 
122  GLint WrapR;
123  GLint MinLOD;
124  GLint MaxLOD;
125  GLint BaseLevel;
126  GLint MaxLevel;
127 
128  // 1.3
129  vtkOpenGLTextureImageState TextureCubeMapPositiveX[n];
130  vtkOpenGLTextureImageState TextureCubeMapNegativeX[n];
131  vtkOpenGLTextureImageState TextureCubeMapPositiveY[n];
132  vtkOpenGLTextureImageState TextureCubeMapNegativeY[n];
133  vtkOpenGLTextureImageState TextureCubeMapPositiveZ[n];
134  vtkOpenGLTextureImageState TextureCubeMapNegativeZ[n];
135 
136  // 1.4
137  GLfloat LODBias;
138  GLint DepthTextureMode;
139  GLint TextureCompareMode;
140  GLint TextureCompareFunc;
141  GLboolean GenerateMipmap;
142 };
143 #endif
144 
146 {
147 public:
148  void Update();
149 
150  GLboolean Enabled;
151  GLfloat EyePlane[4];
152  GLfloat ObjectPlane[4];
153  GLint Mode;
154 };
155 
157 {
158 public:
159  void Update();
160  void PrintSelf(ostream &os,
161  vtkIndent indent);
162  GLboolean SwapBytes;
163  GLboolean LsbFirst; // Warning: cannot be LSBFirst, as it is defined in X.h
164  GLint RowLength;
165  GLint SkipRows;
166  GLint SkipPixels;
167  GLint Alignment;
168 
169  // 1.2.1
170  GLint ImageHeight;
171  GLint SkipImages;
172 };
173 
175 {
176 public:
177  void Update();
178  void PrintSelf(ostream &os,
179  vtkIndent indent);
180  GLfloat Scale;
181  GLfloat Bias;
182 };
183 
185 {
186 public:
187  void Update();
188 
189  GLint Size;
190  GLfloat *Map; // values
191 };
192 
194 {
195 public:
196  void Update();
197 
198  GLint Size;
199  GLint *Map; // values
200 };
201 
203 {
204 public:
205  GLfloat CurrentMatrix[16];
211  // Texture environment generation, 2.0
212  GLboolean CoordReplace;
213 
216 };
217 
219 {
220 public:
221  // Texture object bound to 1D target/sampler
223  // Texture object bound to 2D target/sampler
225  // 1.2.1
226  // Texture object bound to 3D target/sampler
228  // 1.3
229  // Texture object bound to cubemap target/sampler
231 };
232 
234 {
235 public:
236  GLboolean Texture1DEnabled;
237  GLboolean Texture2DEnabled;
238  // 1.2.1
239  GLboolean Texture3DEnabled;
240  // 1.3
242 };
243 
245 {
246 public:
247  GLfloat Equation[4];
248  GLboolean Enabled;
249 };
250 
251 
252 // Replaced by shader program
254 {
255 public:
256  // Replaced by verter shader
257 
258  // Transformation state
259  GLboolean Normalize;
260 
261  // Transformation state: 1.2.1
262  GLboolean RescaleNormal;
263 
264  // Lighting
265  GLboolean LightingEnabled;
266 
267  std::vector<GLboolean> *LightEnabled; // MaxLights (ex:8)
268 
269 
270  // Replaced by fragment shader:
271 
272  // 1.3
273  GLint CombineRGB;
275  GLint Source0RGB;
276  GLint Source1RGB;
277  GLint Source2RGB;
281  GLint Operand0RGB;
282  GLint Operand1RGB;
283  GLint Operand2RGB;
287  GLint RGBScale;
288  GLint AlphaScale;
289 
290  std::vector<vtkOpenGLTextureImageUnitFixedPipelineState> *TextureImageUnitEnabled; // MaxTextureUnits (ex: 4)
291 
292  // Coloring
293  GLboolean FogEnabled;
294  // Coloring, 1.4
295  GLboolean ColorSumEnabled;
296 };
297 
299 {
300 public:
301  void PrintSelf(ostream &os,
302  vtkIndent indent);
303 
304  GLuint Id;
305  GLint Size;
306  GLenum Usage;
307  GLenum Access;
308  GLenum AccessFlags; // in GL 3.1 spec but missing in header files
309  GLboolean Mapped;
310  GLvoid *MapPointer;
311  GLint MapOffset; // in GL 3.1 spec but missing in header files
312  GLint MapLength; // in GL 3.1 spec but missing in header files
313 protected:
314  void BufferAccessFlagsToStream(ostream &os);
315  const char *BufferUsageToString();
316  const char *BufferAccessToString();
317 };
318 
320 {
321 public:
322  void PrintSelf(ostream &os,
323  vtkIndent indent);
324  GLuint Id;
325  GLenum Type;
326  GLboolean DeleteStatus;
327  GLboolean CompileStatus;
328  vtkgl::GLchar *InfoLog;
330  vtkgl::GLchar *Source;
332 protected:
333  const char *ShaderTypeToString();
334 };
335 
337 {
338 public:
339  void PrintSelf(ostream &os,
340  vtkIndent indent);
341  GLuint Id;
342  GLboolean DeleteStatus;
343  GLboolean LinkStatus;
344  GLboolean ValidateStatus;
351  std::vector<vtkOpenGLShaderState> *AttachedShaders;
352  vtkgl::GLchar *InfoLog;
353 
354 
357 };
358 
359 class VTKRENDERINGOPENGL_EXPORT vtkOpenGLState
360 {
361 public:
363  ~vtkOpenGLState();
364 
365  // Save current OpenGL state in the object.
366  void Update();
367 
368  void PrintSelf(ostream &os,
369  vtkIndent indent);
370 
371  // There are too many variables to make them protected and implement
372  // a public Get method for each of them. We keep them public.
373  // I wish C++ would syntaxically forbid construction like c->value=x,
374  // like Eiffel does...
375 
376 
378 
379  // OpenGL 1.1 state
380 
381  // Current values and associated data
382 
383  GLfloat CurrentColor[4];
384  GLfloat CurrentIndex;
385  // CurrentTextureCoords: see vtkOpenGLTextureCoordinateProcessingUnit
386  GLfloat CurrentNormal[3];
387 
388  GLfloat CurrentRasterPosition[4];
390  GLfloat CurrentRasterColor[4];
392  // CurrentRasterTextureCoords: see vtkOpenGLTextureCoordinateProcessingUnit
394  GLboolean EdgeFlag;
395 
396  // Current values and associated data, 1.4
397  GLfloat CurrentSecondaryColor[4];
398  GLfloat CurrentFogCoordinate[3]; // or scalar?
399 
400  // Current values and associated data, 2.1
401  GLfloat CurrentRasterSecondaryColor[4];
402 
403 
404  // Vertex Array Data
405 
411 
416 
417  GLboolean ColorArrayEnabled;
422 
423  GLboolean IndexArrayEnabled;
427 
433 
434  GLboolean EdgeFlagArray;
437 
438  // Vertex Array Data, 1.3
440 
441  // Vertex Array Data, 1.4
446 
452 
453  // Vertex Array Data, 1.5, VBO
464 
465  // Vertex Array Data, 2.0
472 
473  // Vertex Array Data, 2.1
475 
476  // Buffer Object State, 1.5
477  GLint BufferSize;
478  GLint BufferUsage;
480  GLboolean BufferMapped;
482 
483  // Transformation state
484 
485  GLfloat ModelViewMatrix[16];
487 
488  GLfloat ProjectionMatrix[16];
490 
491  // 2.0
492  GLint MaxTextureCoords; // 8
493  std::vector<vtkOpenGLTextureCoordinateProcessingUnit> *TCPU;
494 
495  // 2.0
497  std::vector<vtkOpenGLTextureImageUnit> *TIU;
498 
499  GLint Viewport[4];
500  GLfloat DepthRange[2];
501 
502  GLint MatrixMode;
503  GLboolean Normalize;
504 
505  std::vector<vtkOpenGLClipPlaneState> *ClipPlanes; // MaxClipPlanes (ex: 6)
506 
507  // Transformation state: 1.2.1, optional
508  GLfloat ColorMatrix[16];
510 
511  // Coloring
512 
513  GLfloat FogColor[4];
514  GLfloat FogIndex;
515  GLfloat FogDensity;
516  GLfloat FogStart;
517  GLfloat FogEnd;
518  GLint FogMode;
519 
520  GLint ShadeModel; // fixed-pipeline and GLSL
521 
522  // Coloring, 1.4
523  GLint FogCoordinateSource; // renamed FogCoordSrc in 1.5
524 
525  // Lighting
531 
532  GLfloat LightModelAmbient[4];
534  GLboolean LightModelTwoSide;
535 
536  std::vector<vtkOpenGLLightState> *Lights; // MaxLights (ex: 8)
537 
538  // Lighting: 1.2.1
540 
541  // Rasterization
542  GLfloat PointSize;
544 
545  GLfloat LineWidth;
546  GLboolean LineSmoothEnabled;
550 
551  GLboolean CullFaceEnabled;
553  GLint FrontFace;
555  GLint PolygonMode[2]; //0=front, 1=back
563 
564  // Rasterization, 1.4
565  GLfloat PointSizeMin;
566  GLfloat PointSizeMax;
569 
570  // Rasterization, 2.0
573 
574  // Multisampling (1.2.1)
581 
582 
583 
584 // vtkOpenGLTextureObjectState TextureObjects;
585 
586  // Texture environment generation
589 
590  // Texture environment generation, 1.3
592 
593  // Texture environment generation, 1.4
594  GLfloat TextureLODBias;
595 
596  // Pixel operations
597  // - Scissor
599  GLint ScissorBox[4];
600 
601  GLboolean AlphaTestEnabled;
603  GLfloat AlphaTestRef;
604 
606  GLint StencilFunc;
608  GLint StencilRef;
609  GLint StencilFail;
612 
613  // - Stencil, 2.0
620 
621  GLboolean DepthTestEnabled;
622  GLint DepthFunc;
623 
624  GLboolean BlendEnabled;
625  GLint BlendSrc; // <=1.3
626  GLint BlendDst; // <=1.3
627 
628  // Optional in 1.2.1, mandatory in 1.4
629  GLint BlendEquation; // renamed BlendEquationRGB in 2.0
630  GLfloat BlendColor[4];
631 
632  // 1.4
633  GLint BlendSrcRGB;
635  GLint BlendDstRGB;
637 
638  // 2.0
641 
642  GLboolean DitherEnabled;
643 
646  GLint LogicOpMode;
647 
648  // Framebuffer control (drawing)
649 
650  // 2.0
652  std::vector<GLint> *DrawBuffers;
653 
655  GLboolean ColorWriteMask[4];
656  GLboolean DepthWriteMask;
658  GLfloat ColorClearValue[4];
662  GLfloat AccumClearValue[4];
663 
664  // Framebuffer control (drawing) 2.0
666 
667  // Framebuffer control (drawing) 2.1
668  GLint DrawBuffer0;
669  GLint DrawBuffer1;
670  GLint DrawBuffer3; // <max
671 
672  // Pixels
673 
676 
677  GLboolean MapColor; // see PixelMap
678  GLboolean MapStencil; // see PixelMap
679  GLint IndexShift;
680  GLint IndexOffset;
681 
687 
688  GLfloat ZoomX;
689  GLfloat ZoomY;
690 
691  // Size==1 <=> not used.
702 
703  // Pixels, 2.1
706 
707  // Relevant only if PixelPackBufferBinding>0
709  // Relevant only if PixelUnPackBufferBinding>0
711 
712  // 1.2.1, optional
713  GLboolean ColorTableEnabled;
716  // TODO ...
717 
718  // Framebuffer control (reading)
719 
720  GLint ReadBuffer;
721 
722  // Evaluators
723  // TODO
724 
725  // Shader Object State 2.0
727 
728 #if 0
729  GLint ShaderType;
730  GLboolean DeleteStatus;
731  GLboolean CompileStatus;
732  vtkgl::GLchar *ShaderLogInfo;
733  GLint InfoLogLength;
734  vtkgl::GLchar *ShaderSource;
735  GLint ShaderSourceLength;
736 #endif
737  // Program Object State 2.0
739 
740 #if 0
741  GLboolean DeleteStatus;
742  GLboolean LinkStatus;
743  GLboolean ValidateStatus;
744  GLint *AttachedShaders;
745  GLint InfoLogLength;
746  GLint ActiveUniforms;
747  GLint ActiveUniformMaxLength;
748  GLint ActiveAttributes;
749  GLint ActiveAttributesMaxLength;
750 #endif
751 
752  // Vertex Shader State 2.0
754  GLfloat CurrentVertexAttrib[16][4];
756 
757  // Hints
762  GLint FogHint;
763  // Hints: 1.3
765  // Hints: 1.4
767  // Hints: 2.0
769 
770  // Implementation dependent values
771 
772  // per OpenGL implementation
773 
774  GLint MaxLights;
788 
789  // per framebuffer
790  GLint AuxBuffers;
791  GLboolean RGBAMode;
792  GLboolean IndexMode;
793  GLboolean DoubleBuffer;
794  GLboolean Stereo;
795 
796  // per framebuffer object
798 
799  // per OpenGL implementation
800 
801  GLfloat PointSizeRange[2]; // 1.2.1: renamed SmoothPointSizeRange
802  GLfloat PointSizeGranularity; // 1.2.1: renamed SmoothPointSizeGranularity
803  GLfloat LineWidthRange[2]; // 1.2.1: renamed SmoothLineWidthRange
804  GLfloat LineWidthGranularity; // 1.2.1: renamed SmoothLineWidthGranularity
805 
806  // per framebuffer (for each color buffer)
807  GLint RedBits;
808  GLint GreenBits;
809  GLint BlueBits;
810  GLint AlphaBits;
811  GLint IndexBits;
812 
813  GLint DepthBits; // depth buffer
814  GLint StencilBits; // stencil buffer
815 
820 
821  // per OpenGL implementation, 1.2.1
823  GLfloat AliasedPointSizeRange[2];
824  GLfloat AliasedLineWidthRange[2];
827 
828 
829  // per OpenGL implementation, 1.2.1, optional
831  GLint MaxConvolutionWidth[3];
832  GLint MaxConvolutionHeight[2];
833 
834  // per OpenGL implementation, 1.3
839 
840  // per framebuffer, 1.3
842  GLint Samples;
843 
844  // per OpenGL implementation, 1.4
846 
847  // per OpenGL implementation, 1.5
849 
850  // per OpenGL implementations, 2.0
851  GLubyte *Extensions;
852  GLubyte *Renderer;
854  GLubyte *Vendor;
855  GLubyte *Version;
862 
863  // Misc.
864 
865  // - Display lists
866  GLint ListBase;
867  GLint ListIndex;
868  GLint ListMode;
869 
870 
871  // - Current depth of stacks
875 
876  GLint RenderMode;
877 
878  // - Selection buffer
881 
882  // - Feedback buffer
886 
887  // - error code
888  GLenum ErrorCode;
889 
890  // Misc, 1.5
892 
893  // Framebuffer, GL_EXT_framebuffer_object
895  GLint Read;
896 
897 protected:
898  void UpdateCurrentProgram();
899  void UpdateShader(size_t i);
900 
901  void ColorBufferToStream(ostream &os,GLint colorBuffer);
902  const char *ErrorCodeToString();
903  const char *BlendFuncToString(GLint blendFunc);
904  const char *BlendEquationToString(GLint blendEquation);
905  const char *LogicOpModeToString();
906  const char *ListModeToString();
907  const char *BooleanToString(GLint booleanValue);
908  const char *ShadeModelToString();
909  const char *CullFaceModeToString();
910  const char *FrontFaceToString();
911  const char *PolygonModeToString(GLint polygonMode);
912  const char *AlphaTestFuncToString();
913  const char *DepthFuncToString();
914  const char *RenderModeToString();
915  const char *MatrixModeToString();
916 
917  const char *ValueToString(GLint value,
918  int valueTable[],
919  const char *stringTable[],
920  int tableSize);
921 
922  void PrintMatrix(ostream &os,
923  vtkIndent indent,
924  GLfloat matrix[16]);
925 
927 };
928 
929 
930 
931 #endif
932 // VTK-HeaderTest-Exclude: vtkOpenGLState.h
vtkOpenGLMaterialState::Diffuse
GLfloat Diffuse[4]
Definition: vtkOpenGLState.h:47
vtkOpenGLTextureImageState::DepthSize
GLint DepthSize
Definition: vtkOpenGLState.h:98
vtkOpenGLState::BlendSrcAlpha
GLint BlendSrcAlpha
Definition: vtkOpenGLState.h:634
vtkOpenGLFixePipelineState::Normalize
GLboolean Normalize
Definition: vtkOpenGLState.h:259
vtkOpenGLState::MaxTextureUnits
GLint MaxTextureUnits
Definition: vtkOpenGLState.h:836
vtkOpenGLState::GreenBits
GLint GreenBits
Definition: vtkOpenGLState.h:808
vtkOpenGLBufferObjectState::AccessFlags
GLenum AccessFlags
Definition: vtkOpenGLState.h:308
vtkOpenGLState::TextureCoordArrayPointer
GLvoid * TextureCoordArrayPointer
Definition: vtkOpenGLState.h:432
vtkOpenGLFixePipelineState::Source0RGB
GLint Source0RGB
Definition: vtkOpenGLState.h:275
vtkOpenGLState::LineStippleRepeat
GLint LineStippleRepeat
Definition: vtkOpenGLState.h:548
vtkOpenGLState::PixelMapColorIndexToRed
vtkOpenGLRGBAPixelMapState PixelMapColorIndexToRed
Definition: vtkOpenGLState.h:694
vtkOpenGLState::SubpixelBits
GLint SubpixelBits
Definition: vtkOpenGLState.h:779
vtkOpenGLState::StencilBits
GLint StencilBits
Definition: vtkOpenGLState.h:814
vtkOpenGLState::StencilPassDepthFail
GLint StencilPassDepthFail
Definition: vtkOpenGLState.h:610
vtkOpenGLState::DepthWriteMask
GLboolean DepthWriteMask
Definition: vtkOpenGLState.h:656
vtkOpenGLState::ShadeModel
GLint ShadeModel
Definition: vtkOpenGLState.h:520
vtkOpenGLState::EdgeFlagArrayStride
GLint EdgeFlagArrayStride
Definition: vtkOpenGLState.h:435
vtkOpenGLFixePipelineState::CombineAlpha
GLint CombineAlpha
Definition: vtkOpenGLState.h:274
vtkOpenGLBufferObjectState::Usage
GLenum Usage
Definition: vtkOpenGLState.h:306
vtkOpenGLState::VertexAttribArrayStride
GLint VertexAttribArrayStride
Definition: vtkOpenGLState.h:468
vtkOpenGLPixelControl::SkipPixels
GLint SkipPixels
Definition: vtkOpenGLState.h:166
vtkOpenGLPixelControl
Definition: vtkOpenGLState.h:156
vtkOpenGLState::ElementArrayBufferBinding
GLint ElementArrayBufferBinding
Definition: vtkOpenGLState.h:463
vtkOpenGLState::TIU
std::vector< vtkOpenGLTextureImageUnit > * TIU
Definition: vtkOpenGLState.h:497
vtkOpenGLPixelControl::SkipRows
GLint SkipRows
Definition: vtkOpenGLState.h:165
vtkOpenGLShaderState
Definition: vtkOpenGLState.h:319
vtkOpenGLState::SecondaryColorArrayEnabled
GLboolean SecondaryColorArrayEnabled
Definition: vtkOpenGLState.h:447
vtkOpenGLState::VertexAttribArrayNormalized
GLboolean VertexAttribArrayNormalized
Definition: vtkOpenGLState.h:470
vtkOpenGLFixePipelineState::AlphaScale
GLint AlphaScale
Definition: vtkOpenGLState.h:288
vtkOpenGLState::FogCoordinateArrayEnabled
GLboolean FogCoordinateArrayEnabled
Definition: vtkOpenGLState.h:442
vtkOpenGLState::VertexAttribArrayType
GLint VertexAttribArrayType
Definition: vtkOpenGLState.h:469
vtkOpenGLTextureImageState::RedSize
GLint RedSize
Definition: vtkOpenGLState.h:83
vtkOpenGLMaterialState
Definition: vtkOpenGLState.h:43
vtkOpenGLTextureImageState::IntensitySize
GLint IntensitySize
Definition: vtkOpenGLState.h:88
vtkOpenGLState::PixelPackBufferBinding
GLenum PixelPackBufferBinding
Definition: vtkOpenGLState.h:704
vtkOpenGLState::StencilBackFunc
GLint StencilBackFunc
Definition: vtkOpenGLState.h:614
vtkOpenGLState::FragmentShaderDerivativeHint
GLint FragmentShaderDerivativeHint
Definition: vtkOpenGLState.h:768
vtkOpenGLState::ColorLogicOpEnabled
GLboolean ColorLogicOpEnabled
Definition: vtkOpenGLState.h:645
vtkOpenGLState::ProjectionStackDepth
GLint ProjectionStackDepth
Definition: vtkOpenGLState.h:489
vtkOpenGLState::IndexArrayEnabled
GLboolean IndexArrayEnabled
Definition: vtkOpenGLState.h:423
vtkOpenGLTextureImageState::Border
GLint Border
Definition: vtkOpenGLState.h:81
vtkOpenGLMaterialState::SpecularIndex
GLfloat SpecularIndex
Definition: vtkOpenGLState.h:53
vtkOpenGLState::VertexArrayPointer
GLvoid * VertexArrayPointer
Definition: vtkOpenGLState.h:410
vtkOpenGLTextureCoordinateProcessingUnit::TextureGenR
vtkOpenGLTexGenState TextureGenR
Definition: vtkOpenGLState.h:209
vtkOpenGLState::DepthFunc
GLint DepthFunc
Definition: vtkOpenGLState.h:622
vtkOpenGLState::IndexLogicOpEnabled
GLboolean IndexLogicOpEnabled
Definition: vtkOpenGLState.h:644
vtkOpenGLState::LineStippleEnabled
GLboolean LineStippleEnabled
Definition: vtkOpenGLState.h:549
vtkOpenGLState::PixelMapGreenToGreen
vtkOpenGLRGBAPixelMapState PixelMapGreenToGreen
Definition: vtkOpenGLState.h:699
vtkOpenGLState::PointSizeMax
GLfloat PointSizeMax
Definition: vtkOpenGLState.h:566
vtkOpenGLState::FrameBufferBinding
GLint FrameBufferBinding
Definition: vtkOpenGLState.h:894
vtkOpenGLState::PolygonOffsetFillEnabled
GLboolean PolygonOffsetFillEnabled
Definition: vtkOpenGLState.h:560
vtkOpenGLState::ColorArrayEnabled
GLboolean ColorArrayEnabled
Definition: vtkOpenGLState.h:417
vtkOpenGLState::TextureCoordArrayStride
GLint TextureCoordArrayStride
Definition: vtkOpenGLState.h:431
vtkOpenGLState::IndexBits
GLint IndexBits
Definition: vtkOpenGLState.h:811
vtkOpenGLProgramState::LinkStatus
GLboolean LinkStatus
Definition: vtkOpenGLState.h:343
vtkOpenGLState::PointDistanceAttenuation
GLfloat PointDistanceAttenuation
Definition: vtkOpenGLState.h:568
vtkOpenGLState::SelectionBufferSize
GLint SelectionBufferSize
Definition: vtkOpenGLState.h:880
vtkOpenGLTextureImageState::CompressedImageSize
GLint CompressedImageSize
Definition: vtkOpenGLState.h:95
vtkOpenGLState::lightModelColorControl
GLint lightModelColorControl
Definition: vtkOpenGLState.h:539
vtkX3D::value
Definition: vtkX3D.h:220
vtkOpenGLComponentTransform
Definition: vtkOpenGLState.h:174
vtkOpenGLState::PolygonOffsetPointEnabled
GLboolean PolygonOffsetPointEnabled
Definition: vtkOpenGLState.h:558
vtkOpenGLState::StencilFail
GLint StencilFail
Definition: vtkOpenGLState.h:609
vtkOpenGLState::PixelMapAlphaToAlpha
vtkOpenGLRGBAPixelMapState PixelMapAlphaToAlpha
Definition: vtkOpenGLState.h:701
vtkOpenGLState::PixelMapBlueToBlue
vtkOpenGLRGBAPixelMapState PixelMapBlueToBlue
Definition: vtkOpenGLState.h:700
vtkOpenGLState::CullFaceEnabled
GLboolean CullFaceEnabled
Definition: vtkOpenGLState.h:551
vtkOpenGLState::Lights
std::vector< vtkOpenGLLightState > * Lights
Definition: vtkOpenGLState.h:536
vtkOpenGLState::StencilClearValue
GLint StencilClearValue
Definition: vtkOpenGLState.h:661
vtkOpenGLState::SampleCoverageValue
GLfloat SampleCoverageValue
Definition: vtkOpenGLState.h:579
vtkOpenGLState::MaxViewportDims
GLint MaxViewportDims
Definition: vtkOpenGLState.h:785
vtkOpenGLState::PointSize
GLfloat PointSize
Definition: vtkOpenGLState.h:542
vtkOpenGLRGBAPixelMapState::Size
GLint Size
Definition: vtkOpenGLState.h:189
vtkOpenGLState::PointSizeMin
GLfloat PointSizeMin
Definition: vtkOpenGLState.h:565
vtkOpenGLState::CurrentIndex
GLfloat CurrentIndex
Definition: vtkOpenGLState.h:384
vtkOpenGLComponentTransform::Update
void Update()
vtkOpenGLState::IndexMode
GLboolean IndexMode
Definition: vtkOpenGLState.h:792
vtkOpenGLState::BlendEquationRGB
GLint BlendEquationRGB
Definition: vtkOpenGLState.h:639
vtkOpenGLState::VertexAttribArrayBufferBinding
GLint VertexAttribArrayBufferBinding
Definition: vtkOpenGLState.h:474
vtkOpenGLState::FogMode
GLint FogMode
Definition: vtkOpenGLState.h:518
vtkOpenGLRGBAPixelMapState::Map
GLfloat * Map
Definition: vtkOpenGLState.h:190
vtkOpenGLState::PolygonSmoothHint
GLint PolygonSmoothHint
Definition: vtkOpenGLState.h:761
vtkOpenGLState::ListBase
GLint ListBase
Definition: vtkOpenGLState.h:866
vtkOpenGLFixePipelineState::LightingEnabled
GLboolean LightingEnabled
Definition: vtkOpenGLState.h:265
vtkOpenGLPixelControl::SkipImages
GLint SkipImages
Definition: vtkOpenGLState.h:171
vtkOpenGLState::MatrixMode
GLint MatrixMode
Definition: vtkOpenGLState.h:502
vtkOpenGLState::MaxVertexTextureImageUnits
GLint MaxVertexTextureImageUnits
Definition: vtkOpenGLState.h:859
vtkOpenGLLightState::ConstantAttenuation
GLfloat ConstantAttenuation
Definition: vtkOpenGLState.h:65
vtkOpenGLMaterialState::Specular
GLfloat Specular[4]
Definition: vtkOpenGLState.h:48
vtkOpenGLLightState::SpotExponent
GLfloat SpotExponent
Definition: vtkOpenGLState.h:69
vtkOpenGLState::MaxVertexUniformComponents
GLint MaxVertexUniformComponents
Definition: vtkOpenGLState.h:857
vtkOpenGLClipPlaneState::Equation
GLfloat Equation[4]
Definition: vtkOpenGLState.h:247
vtkOpenGLState::MaxTextureCoords
GLint MaxTextureCoords
Definition: vtkOpenGLState.h:492
vtkOpenGLProgramState::AttachedShaders
std::vector< vtkOpenGLShaderState > * AttachedShaders
Definition: vtkOpenGLState.h:351
vtkOpenGLBufferObjectState::MapOffset
GLint MapOffset
Definition: vtkOpenGLState.h:311
vtkOpenGLProgramState::HasVertexShader
bool HasVertexShader
Definition: vtkOpenGLState.h:355
vtkOpenGLState::PointFadeThresholdSize
GLfloat PointFadeThresholdSize
Definition: vtkOpenGLState.h:567
vtkOpenGLState::MapStencil
GLboolean MapStencil
Definition: vtkOpenGLState.h:678
vtkOpenGLState::IndexArrayPointer
GLvoid * IndexArrayPointer
Definition: vtkOpenGLState.h:426
vtkOpenGLState::CurrentQuery
GLint CurrentQuery
Definition: vtkOpenGLState.h:891
vtkOpenGLProgramState::Id
GLuint Id
Definition: vtkOpenGLState.h:341
vtkOpenGLState::ShadingLanguageVersion
GLubyte * ShadingLanguageVersion
Definition: vtkOpenGLState.h:853
vtkOpenGLState::SampleAlphaToOneEnabled
GLboolean SampleAlphaToOneEnabled
Definition: vtkOpenGLState.h:577
vtkOpenGLState::VertexArrayType
GLint VertexArrayType
Definition: vtkOpenGLState.h:408
vtkOpenGLState::ClientAtribStackDepth
GLint ClientAtribStackDepth
Definition: vtkOpenGLState.h:873
vtkOpenGLState::NormalArrayType
GLint NormalArrayType
Definition: vtkOpenGLState.h:413
vtkOpenGLLightState::Diffuse
GLfloat Diffuse[4]
Definition: vtkOpenGLState.h:62
vtkOpenGLTextureImageUnit::TextureBinding2D
GLint TextureBinding2D
Definition: vtkOpenGLState.h:224
vtkOpenGLState::ArrayBufferBinding
GLint ArrayBufferBinding
Definition: vtkOpenGLState.h:454
vtkOpenGLPixelControl::RowLength
GLint RowLength
Definition: vtkOpenGLState.h:164
vtkOpenGLState::ColorMatrixStackDepth
GLint ColorMatrixStackDepth
Definition: vtkOpenGLState.h:509
vtkOpenGLState::ActiveTexture
GLenum ActiveTexture
Definition: vtkOpenGLState.h:591
vtkOpenGLBufferObjectState::Access
GLenum Access
Definition: vtkOpenGLState.h:307
vtkOpenGLFixePipelineState::ColorSumEnabled
GLboolean ColorSumEnabled
Definition: vtkOpenGLState.h:295
vtkOpenGLTextureCoordinateProcessingUnit::CurrentTextureCoords
GLfloat CurrentTextureCoords[4]
Definition: vtkOpenGLState.h:214
vtkOpenGLState::FeedbackBufferSize
GLint FeedbackBufferSize
Definition: vtkOpenGLState.h:884
vtkOpenGLState::BufferMapped
GLboolean BufferMapped
Definition: vtkOpenGLState.h:480
vtkOpenGLShaderState::Id
GLuint Id
Definition: vtkOpenGLState.h:324
vtkOpenGLState::BufferSize
GLint BufferSize
Definition: vtkOpenGLState.h:477
vtkOpenGLLightState::LinearAttenuation
GLfloat LinearAttenuation
Definition: vtkOpenGLState.h:66
vtkOpenGLState::StencilBackFail
GLint StencilBackFail
Definition: vtkOpenGLState.h:617
vtkOpenGLTextureCoordinateProcessingUnit::TextureGenQ
vtkOpenGLTexGenState TextureGenQ
Definition: vtkOpenGLState.h:210
vtkOpenGLState::TextureCoordArrayBufferBinding
GLint TextureCoordArrayBufferBinding
Definition: vtkOpenGLState.h:459
vtkOpenGLState::PixelPackBufferObject
vtkOpenGLBufferObjectState PixelPackBufferObject
Definition: vtkOpenGLState.h:708
vtkOpenGLState::PostColorMatricColorTableEnabled
GLboolean PostColorMatricColorTableEnabled
Definition: vtkOpenGLState.h:715
vtkOpenGLState::DitherEnabled
GLboolean DitherEnabled
Definition: vtkOpenGLState.h:642
vtkOpenGLState::VertexAttribArrayPointer
GLvoid * VertexAttribArrayPointer
Definition: vtkOpenGLState.h:471
vtkOpenGLTextureImageState::Width
GLint Width
Definition: vtkOpenGLState.h:79
vtkOpenGLState::IndexWriteMask
GLint IndexWriteMask
Definition: vtkOpenGLState.h:654
vtkOpenGLBufferObjectState::MapPointer
GLvoid * MapPointer
Definition: vtkOpenGLState.h:310
vtkOpenGLState::PixelMapColorIndexToAlpha
vtkOpenGLRGBAPixelMapState PixelMapColorIndexToAlpha
Definition: vtkOpenGLState.h:697
vtkOpenGLBufferObjectState::Mapped
GLboolean Mapped
Definition: vtkOpenGLState.h:309
vtkOpenGLState::PointSizeGranularity
GLfloat PointSizeGranularity
Definition: vtkOpenGLState.h:802
vtkOpenGLPixelControl::ImageHeight
GLint ImageHeight
Definition: vtkOpenGLState.h:170
vtkOpenGLState::BackMaterial
vtkOpenGLMaterialState BackMaterial
Definition: vtkOpenGLState.h:530
vtkOpenGLFixePipelineState::RGBScale
GLint RGBScale
Definition: vtkOpenGLState.h:287
vtkOpenGLState::PerpectiveCorrectionHint
GLint PerpectiveCorrectionHint
Definition: vtkOpenGLState.h:758
vtkOpenGLState::AlphaTransform
vtkOpenGLComponentTransform AlphaTransform
Definition: vtkOpenGLState.h:685
vtkOpenGLFixePipelineState::Operand0RGB
GLint Operand0RGB
Definition: vtkOpenGLState.h:281
vtkOpenGLState::LineWidth
GLfloat LineWidth
Definition: vtkOpenGLState.h:545
vtkOpenGLState::TextureCompressionHint
GLint TextureCompressionHint
Definition: vtkOpenGLState.h:764
vtkOpenGLState::MaxTextureLODBias
GLfloat MaxTextureLODBias
Definition: vtkOpenGLState.h:845
vtkOpenGLState::CurrentRasterPositionValid
GLboolean CurrentRasterPositionValid
Definition: vtkOpenGLState.h:393
vtkOpenGLState::MaxVaryingFloats
GLint MaxVaryingFloats
Definition: vtkOpenGLState.h:858
vtkOpenGLState::Samples
GLint Samples
Definition: vtkOpenGLState.h:842
vtkOpenGLState::MaxElementsVertices
GLint MaxElementsVertices
Definition: vtkOpenGLState.h:826
vtkOpenGLBufferObjectState::MapLength
GLint MapLength
Definition: vtkOpenGLState.h:312
vtkOpenGLState::FrontFace
GLint FrontFace
Definition: vtkOpenGLState.h:553
vtkOpenGLState::TextureCoordArrayType
GLint TextureCoordArrayType
Definition: vtkOpenGLState.h:430
vtkOpenGLTextureImageUnitFixedPipelineState::Texture2DEnabled
GLboolean Texture2DEnabled
Definition: vtkOpenGLState.h:237
vtkOpenGLState::IndexClearValue
GLfloat IndexClearValue
Definition: vtkOpenGLState.h:659
vtkOpenGLState::TCPU
std::vector< vtkOpenGLTextureCoordinateProcessingUnit > * TCPU
Definition: vtkOpenGLState.h:493
vtkOpenGLTextureCoordinateProcessingUnit::CoordReplace
GLboolean CoordReplace
Definition: vtkOpenGLState.h:212
vtkOpenGLState::MaxTextureImageUnits
GLint MaxTextureImageUnits
Definition: vtkOpenGLState.h:860
vtkOpenGLState::VertexProgramTwoSideEnabled
GLboolean VertexProgramTwoSideEnabled
Definition: vtkOpenGLState.h:753
vtkOpenGLBufferObjectState::BufferAccessToString
const char * BufferAccessToString()
vtkOpenGLState::ErrorCode
GLenum ErrorCode
Definition: vtkOpenGLState.h:888
vtkOpenGLState::MaxProjectionStackDepth
GLint MaxProjectionStackDepth
Definition: vtkOpenGLState.h:777
vtkOpenGLPixelControl::LsbFirst
GLboolean LsbFirst
Definition: vtkOpenGLState.h:163
vtkOpenGLFixePipelineState::CombineRGB
GLint CombineRGB
Definition: vtkOpenGLState.h:273
vtkOpenGLMaterialState::Ambient
GLfloat Ambient[4]
Definition: vtkOpenGLState.h:46
vtkOpenGLState::PointSmoothHint
GLint PointSmoothHint
Definition: vtkOpenGLState.h:759
vtkOpenGLState::BufferAccess
GLint BufferAccess
Definition: vtkOpenGLState.h:479
vtkOpenGLState::FogCoordinateArrayType
GLint FogCoordinateArrayType
Definition: vtkOpenGLState.h:443
vtkOpenGLState::ReadBuffer
GLint ReadBuffer
Definition: vtkOpenGLState.h:720
vtkOpenGLState::BlendSrc
GLint BlendSrc
Definition: vtkOpenGLState.h:625
vtkOpenGLShaderState::DeleteStatus
GLboolean DeleteStatus
Definition: vtkOpenGLState.h:326
vtkOpenGLState::PolygonOffsetLineEnabled
GLboolean PolygonOffsetLineEnabled
Definition: vtkOpenGLState.h:559
vtkOpenGLFixePipelineState::Source1Alpha
GLint Source1Alpha
Definition: vtkOpenGLState.h:279
vtkOpenGLTextureImageState::Update
void Update()
vtkOpenGLState::BlendDstAlpha
GLint BlendDstAlpha
Definition: vtkOpenGLState.h:636
vtkOpenGLState::IndexArrayType
GLint IndexArrayType
Definition: vtkOpenGLState.h:424
vtkOpenGLState::RenderMode
GLint RenderMode
Definition: vtkOpenGLState.h:876
vtkOpenGLState::ScissorTestEnabled
GLboolean ScissorTestEnabled
Definition: vtkOpenGLState.h:598
vtkOpenGLState::PolygonOffsetFactor
GLfloat PolygonOffsetFactor
Definition: vtkOpenGLState.h:556
vtkOpenGLLightState::Specular
GLfloat Specular[4]
Definition: vtkOpenGLState.h:63
vtkOpenGLState::MaxLights
GLint MaxLights
Definition: vtkOpenGLState.h:774
vtkOpenGLState::SecondaryColorArrayBufferBinding
GLint SecondaryColorArrayBufferBinding
Definition: vtkOpenGLState.h:461
vtkOpenGLState::AccumGreenBits
GLint AccumGreenBits
Definition: vtkOpenGLState.h:817
vtkOpenGLIndexPixelMapState::Map
GLint * Map
Definition: vtkOpenGLState.h:199
vtkOpenGLFixePipelineState::Operand1RGB
GLint Operand1RGB
Definition: vtkOpenGLState.h:282
vtkOpenGLTextureImageState::Height
GLint Height
Definition: vtkOpenGLState.h:80
vtkOpenGLLightState::QuadraticAttenuation
GLfloat QuadraticAttenuation
Definition: vtkOpenGLState.h:67
vtkOpenGLState::TextureLODBias
GLfloat TextureLODBias
Definition: vtkOpenGLState.h:594
vtkOpenGLState::LogicOpMode
GLint LogicOpMode
Definition: vtkOpenGLState.h:646
vtkOpenGLState::PixelMapStencilIndexToStencilIndex
vtkOpenGLIndexPixelMapState PixelMapStencilIndexToStencilIndex
Definition: vtkOpenGLState.h:693
vtkOpenGLState::MaxFragmentUniformComponents
GLint MaxFragmentUniformComponents
Definition: vtkOpenGLState.h:861
vtkOpenGLState::Stereo
GLboolean Stereo
Definition: vtkOpenGLState.h:794
vtkOpenGLState::Unpack
vtkOpenGLPixelControl Unpack
Definition: vtkOpenGLState.h:674
vtkOpenGLProgramState::DeleteStatus
GLboolean DeleteStatus
Definition: vtkOpenGLState.h:342
vtkOpenGLState::ColorArrayType
GLint ColorArrayType
Definition: vtkOpenGLState.h:419
vtkOpenGLBufferObjectState::Size
GLint Size
Definition: vtkOpenGLState.h:305
vtkOpenGLShaderState::SourceLength
GLint SourceLength
Definition: vtkOpenGLState.h:331
vtkOpenGLState::MaxElementsIndices
GLint MaxElementsIndices
Definition: vtkOpenGLState.h:825
vtkOpenGLIndexPixelMapState
Definition: vtkOpenGLState.h:193
vtkOpenGLTextureImageState::GreenSize
GLint GreenSize
Definition: vtkOpenGLState.h:84
vtkOpenGLState::DrawBuffer3
GLint DrawBuffer3
Definition: vtkOpenGLState.h:670
vtkOpenGLState::PolygonOffsetUnits
GLfloat PolygonOffsetUnits
Definition: vtkOpenGLState.h:557
vtkOpenGLState::AlphaTestRef
GLfloat AlphaTestRef
Definition: vtkOpenGLState.h:603
vtkOpenGLState::MaxAttribStackDepth
GLint MaxAttribStackDepth
Definition: vtkOpenGLState.h:786
vtkOpenGLState::Vendor
GLubyte * Vendor
Definition: vtkOpenGLState.h:854
Update
virtual void Update()
Updates the extensions string.
vtkOpenGLState::FeedbackBufferPointer
GLvoid * FeedbackBufferPointer
Definition: vtkOpenGLState.h:883
vtkOpenGLShaderState::InfoLogLength
GLint InfoLogLength
Definition: vtkOpenGLState.h:329
vtkOpenGLState::MapColor
GLboolean MapColor
Definition: vtkOpenGLState.h:677
vtkOpenGLState::NormalArrayEnabled
GLboolean NormalArrayEnabled
Definition: vtkOpenGLState.h:412
vtkOpenGLComponentTransform::Scale
GLfloat Scale
Definition: vtkOpenGLState.h:180
vtkOpenGLState::BlendDstRGB
GLint BlendDstRGB
Definition: vtkOpenGLState.h:635
vtkOpenGLState::AttribStackDepth
GLint AttribStackDepth
Definition: vtkOpenGLState.h:872
vtkOpenGLState::BlendSrcRGB
GLint BlendSrcRGB
Definition: vtkOpenGLState.h:633
vtkOpenGLState::BlendDst
GLint BlendDst
Definition: vtkOpenGLState.h:626
vtkOpenGLState::PolygonStippleEnabled
GLboolean PolygonStippleEnabled
Definition: vtkOpenGLState.h:562
vtkOpenGLFixePipelineState::Operand1Alpha
GLint Operand1Alpha
Definition: vtkOpenGLState.h:285
vtkOpenGLState::AccumRedBits
GLint AccumRedBits
Definition: vtkOpenGLState.h:816
vtkOpenGLState::FixedPipeline
vtkOpenGLFixePipelineState FixedPipeline
Definition: vtkOpenGLState.h:377
vtkOpenGLState::CurrentProgram
GLuint CurrentProgram
Definition: vtkOpenGLState.h:738
vtkOpenGLState::ColorTableEnabled
GLboolean ColorTableEnabled
Definition: vtkOpenGLState.h:713
vtkOpenGLState::VertexArrayBufferBinding
GLint VertexArrayBufferBinding
Definition: vtkOpenGLState.h:455
vtkOpenGLState::ListMode
GLint ListMode
Definition: vtkOpenGLState.h:868
vtkOpenGLState::MaxCubeMapTextureSize
GLint MaxCubeMapTextureSize
Definition: vtkOpenGLState.h:835
vtkOpenGLState::DepthTestEnabled
GLboolean DepthTestEnabled
Definition: vtkOpenGLState.h:621
vtkOpenGLClipPlaneState
Definition: vtkOpenGLState.h:244
vtkOpenGLState::AlphaBits
GLint AlphaBits
Definition: vtkOpenGLState.h:810
vtkOpenGLProgramState::InfoLog
vtkgl::GLchar * InfoLog
Definition: vtkOpenGLState.h:352
vtkOpenGLState::DepthBits
GLint DepthBits
Definition: vtkOpenGLState.h:813
vtkOpenGLFixePipelineState::Source2RGB
GLint Source2RGB
Definition: vtkOpenGLState.h:277
vtkOpenGLMaterialState::Shininess
GLfloat Shininess
Definition: vtkOpenGLState.h:49
vtkOpenGLState::ColorArrayStride
GLint ColorArrayStride
Definition: vtkOpenGLState.h:420
vtkOpenGLState::PostConvolutionColorTableEnabled
GLboolean PostConvolutionColorTableEnabled
Definition: vtkOpenGLState.h:714
vtkOpenGLFixePipelineState::Operand0Alpha
GLint Operand0Alpha
Definition: vtkOpenGLState.h:284
vtkOpenGLBufferObjectState::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent)
vtkOpenGLRGBAPixelMapState
Definition: vtkOpenGLState.h:184
vtkOpenGLState::SecondaryColorArrayType
GLint SecondaryColorArrayType
Definition: vtkOpenGLState.h:449
vtkOpenGLIndexPixelMapState::Update
void Update()
vtkOpenGLState::FogDensity
GLfloat FogDensity
Definition: vtkOpenGLState.h:515
vtkOpenGLState::CurrentRasterDistance
GLfloat CurrentRasterDistance
Definition: vtkOpenGLState.h:389
vtkOpenGLRGBAPixelMapState::Update
void Update()
vtkOpenGLFixePipelineState::Source1RGB
GLint Source1RGB
Definition: vtkOpenGLState.h:276
vtkOpenGLTextureCoordinateProcessingUnit::MatrixStackDepth
GLint MatrixStackDepth
Definition: vtkOpenGLState.h:206
vtkOpenGLState::FogCoordinateArrayPointer
GLvoid * FogCoordinateArrayPointer
Definition: vtkOpenGLState.h:445
vtkOpenGLState::StencilFunc
GLint StencilFunc
Definition: vtkOpenGLState.h:606
vtkOpenGLState::FeedbackBufferType
GLint FeedbackBufferType
Definition: vtkOpenGLState.h:885
vtkOpenGLTextureImageState::Depth
GLint Depth
Definition: vtkOpenGLState.h:91
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:39
vtkOpenGLState::BufferUsage
GLint BufferUsage
Definition: vtkOpenGLState.h:478
vtkOpenGLState::FogStart
GLfloat FogStart
Definition: vtkOpenGLState.h:516
vtkOpenGLProgramState::ActiveAttributeMaxLength
GLint ActiveAttributeMaxLength
Definition: vtkOpenGLState.h:350
vtkOpenGLState::StencilWriteMask
GLuint StencilWriteMask
Definition: vtkOpenGLState.h:657
vtkOpenGLState::CullFaceMode
GLint CullFaceMode
Definition: vtkOpenGLState.h:552
vtkOpenGLState::GenerateMipMapHint
GLint GenerateMipMapHint
Definition: vtkOpenGLState.h:766
vtkOpenGLShaderState::InfoLog
vtkgl::GLchar * InfoLog
Definition: vtkOpenGLState.h:328
vtkOpenGLState::TextureCoordArraySize
GLint TextureCoordArraySize
Definition: vtkOpenGLState.h:429
vtkOpenGLFixePipelineState::Operand2RGB
GLint Operand2RGB
Definition: vtkOpenGLState.h:283
vtkOpenGLProgramState::NumberOfAttachedShaders
GLint NumberOfAttachedShaders
Definition: vtkOpenGLState.h:345
vtkOpenGLState::NameStackDepth
GLint NameStackDepth
Definition: vtkOpenGLState.h:874
vtkOpenGLState::Renderer
GLubyte * Renderer
Definition: vtkOpenGLState.h:852
vtkOpenGLTexGenState::Mode
GLint Mode
Definition: vtkOpenGLState.h:153
vtkOpenGLState::VertexArraySize
GLint VertexArraySize
Definition: vtkOpenGLState.h:407
vtkOpenGLState::NormalArrayStride
GLint NormalArrayStride
Definition: vtkOpenGLState.h:414
vtkOpenGLState::ZoomX
GLfloat ZoomX
Definition: vtkOpenGLState.h:688
vtkOpenGLState::PixelMapColorIndexToGreen
vtkOpenGLRGBAPixelMapState PixelMapColorIndexToGreen
Definition: vtkOpenGLState.h:695
vtkOpenGLState::AlphaTestEnabled
GLboolean AlphaTestEnabled
Definition: vtkOpenGLState.h:601
vtkOpenGLTextureImageUnitFixedPipelineState::Texture3DEnabled
GLboolean Texture3DEnabled
Definition: vtkOpenGLState.h:239
vtkOpenGLState::MultiSampleEnabled
GLboolean MultiSampleEnabled
Definition: vtkOpenGLState.h:575
vtkOpenGLPixelControl::SwapBytes
GLboolean SwapBytes
Definition: vtkOpenGLState.h:162
vtkOpenGLState::ModelViewStackDepth
GLint ModelViewStackDepth
Definition: vtkOpenGLState.h:486
vtkOpenGLState::PointSmoothEnabled
GLboolean PointSmoothEnabled
Definition: vtkOpenGLState.h:543
vtkOpenGLState::BlueBits
GLint BlueBits
Definition: vtkOpenGLState.h:809
vtkOpenGLState::DrawBuffer0
GLint DrawBuffer0
Definition: vtkOpenGLState.h:668
vtkOpenGLState::StencilBackPassDepthFail
GLint StencilBackPassDepthFail
Definition: vtkOpenGLState.h:618
vtkOpenGLTextureImageState::AlphaSize
GLint AlphaSize
Definition: vtkOpenGLState.h:86
vtkOpenGLState::MaxVertexAttribs
GLint MaxVertexAttribs
Definition: vtkOpenGLState.h:856
vtkOpenGLState::MaxColorMatrixStackDepth
GLint MaxColorMatrixStackDepth
Definition: vtkOpenGLState.h:830
vtkOpenGLState::SampleCoverageInvert
GLboolean SampleCoverageInvert
Definition: vtkOpenGLState.h:580
vtkOpenGLPixelControl::Update
void Update()
vtkOpenGLState::SampleBuffers
GLint SampleBuffers
Definition: vtkOpenGLState.h:841
vtkOpenGLState::MaxModelViewStackDepth
GLint MaxModelViewStackDepth
Definition: vtkOpenGLState.h:776
vtkOpenGLState::MaxEvalOrder
GLint MaxEvalOrder
Definition: vtkOpenGLState.h:784
vtkOpenGLState::AccumBlueBits
GLint AccumBlueBits
Definition: vtkOpenGLState.h:818
vtkOpenGLShaderState::Type
GLenum Type
Definition: vtkOpenGLState.h:325
vtkOpenGLState::PixelUnpackBufferBinding
GLenum PixelUnpackBufferBinding
Definition: vtkOpenGLState.h:705
vtkOpenGLState::StencilBackPassDepthPass
GLint StencilBackPassDepthPass
Definition: vtkOpenGLState.h:619
vtkOpenGLTexGenState::Update
void Update()
vtkOpenGLLightState
Definition: vtkOpenGLState.h:56
vtkOpenGLState::MaxNameStackDepth
GLint MaxNameStackDepth
Definition: vtkOpenGLState.h:782
vtkOpenGLMaterialState::DiffuseIndex
GLfloat DiffuseIndex
Definition: vtkOpenGLState.h:52
vtkOpenGLState::GreenTransform
vtkOpenGLComponentTransform GreenTransform
Definition: vtkOpenGLState.h:683
vtkOpenGLTextureImageUnitFixedPipelineState
Definition: vtkOpenGLState.h:233
vtkOpenGLFixePipelineState::Operand2Alpha
GLint Operand2Alpha
Definition: vtkOpenGLState.h:286
vtkOpenGLState::StencilBackRef
GLint StencilBackRef
Definition: vtkOpenGLState.h:616
vtkOpenGLState::AlphaTestFunc
GLint AlphaTestFunc
Definition: vtkOpenGLState.h:602
vtkOpenGLState::VertexArrayStride
GLint VertexArrayStride
Definition: vtkOpenGLState.h:409
vtkOpenGLTextureCoordinateProcessingUnit
Definition: vtkOpenGLState.h:202
vtkOpenGLState::ClipPlanes
std::vector< vtkOpenGLClipPlaneState > * ClipPlanes
Definition: vtkOpenGLState.h:505
vtkOpenGLFixePipelineState::FogEnabled
GLboolean FogEnabled
Definition: vtkOpenGLState.h:293
vtkOpenGLTextureImageUnitFixedPipelineState::TextureCubeMapEnabled
GLboolean TextureCubeMapEnabled
Definition: vtkOpenGLState.h:241
vtkOpenGLState::MaxClientAttribStackDepth
GLint MaxClientAttribStackDepth
Definition: vtkOpenGLState.h:787
vtkOpenGLState::ColorArraySize
GLint ColorArraySize
Definition: vtkOpenGLState.h:418
vtkOpenGLState::PixelMapColorIndexToBlue
vtkOpenGLRGBAPixelMapState PixelMapColorIndexToBlue
Definition: vtkOpenGLState.h:696
vtkOpenGLState::ColorArrayBufferBinding
GLint ColorArrayBufferBinding
Definition: vtkOpenGLState.h:457
vtkOpenGLState::LineSmoothHint
GLint LineSmoothHint
Definition: vtkOpenGLState.h:760
vtkOpenGLState::Pack
vtkOpenGLPixelControl Pack
Definition: vtkOpenGLState.h:675
vtkOpenGLTexGenState::EyePlane
GLfloat EyePlane[4]
Definition: vtkOpenGLState.h:151
vtkOpenGLBufferObjectState::Id
GLuint Id
Definition: vtkOpenGLState.h:304
vtkOpenGLState::NumCompressedTextureFormats
GLint NumCompressedTextureFormats
Definition: vtkOpenGLState.h:838
vtkOpenGLState::Extensions
GLubyte * Extensions
Definition: vtkOpenGLState.h:851
vtkOpenGLProgramState::ActiveUniformMaxLength
GLint ActiveUniformMaxLength
Definition: vtkOpenGLState.h:348
vtkOpenGLState::MaxDrawBuffers
GLint MaxDrawBuffers
Definition: vtkOpenGLState.h:651
vtkOpenGLComponentTransform::Bias
GLfloat Bias
Definition: vtkOpenGLState.h:181
vtkOpenGLPixelControl::Alignment
GLint Alignment
Definition: vtkOpenGLState.h:167
vtkOpenGLClipPlaneState::Enabled
GLboolean Enabled
Definition: vtkOpenGLState.h:248
vtkOpenGLState::StencilRef
GLint StencilRef
Definition: vtkOpenGLState.h:608
vtkOpenGLState::PointSpriteEnabled
GLboolean PointSpriteEnabled
Definition: vtkOpenGLState.h:571
vtkOpenGLState::VertexArrayEnabled
GLboolean VertexArrayEnabled
Definition: vtkOpenGLState.h:406
vtkOpenGLState::Version
GLubyte * Version
Definition: vtkOpenGLState.h:855
vtkOpenGLState::PolygonSmoothEnabled
GLboolean PolygonSmoothEnabled
Definition: vtkOpenGLState.h:554
vtkOpenGLMaterialState::AmbientIndex
GLfloat AmbientIndex
Definition: vtkOpenGLState.h:51
vtkOpenGLState::AuxBuffers
GLint AuxBuffers
Definition: vtkOpenGLState.h:790
vtkOpenGLState::EdgeFlagArrayBufferBinding
GLint EdgeFlagArrayBufferBinding
Definition: vtkOpenGLState.h:460
vtkOpenGLFixePipelineState
Definition: vtkOpenGLState.h:253
vtkOpenGLTextureImageUnitFixedPipelineState::Texture1DEnabled
GLboolean Texture1DEnabled
Definition: vtkOpenGLState.h:236
vtkOpenGLState::BlueTransform
vtkOpenGLComponentTransform BlueTransform
Definition: vtkOpenGLState.h:684
vtkOpenGLState::PixelMapRedToRed
vtkOpenGLRGBAPixelMapState PixelMapRedToRed
Definition: vtkOpenGLState.h:698
vtkOpenGLLightState::Ambient
GLfloat Ambient[4]
Definition: vtkOpenGLState.h:61
vtkOpenGLState::MaxPixelMapTable
GLint MaxPixelMapTable
Definition: vtkOpenGLState.h:781
vtkOpenGLState::SampleCoverageEnabled
GLboolean SampleCoverageEnabled
Definition: vtkOpenGLState.h:578
vtkOpenGLTexGenState::ObjectPlane
GLfloat ObjectPlane[4]
Definition: vtkOpenGLState.h:152
vtkOpenGLState::SecondaryColorArrayStride
GLint SecondaryColorArrayStride
Definition: vtkOpenGLState.h:450
vtkOpenGLState::LightModelLocalViewer
GLboolean LightModelLocalViewer
Definition: vtkOpenGLState.h:533
vtkOpenGLLightState::Update
void Update()
vtkOpenGLTextureCoordinateProcessingUnit::TextureGenT
vtkOpenGLTexGenState TextureGenT
Definition: vtkOpenGLState.h:208
vtkOpenGLTextureCoordinateProcessingUnit::CurrentRasterTextureCoords
GLfloat CurrentRasterTextureCoords[4]
Definition: vtkOpenGLState.h:215
vtkOpenGLState::MaxCombinedTextureImageUnits
GLint MaxCombinedTextureImageUnits
Definition: vtkOpenGLState.h:496
vtkOpenGLFixePipelineState::Source2Alpha
GLint Source2Alpha
Definition: vtkOpenGLState.h:280
vtkOpenGLState::PixelUnpackBufferObject
vtkOpenGLBufferObjectState PixelUnpackBufferObject
Definition: vtkOpenGLState.h:710
vtkOpenGLState::FogCoordinateSource
GLint FogCoordinateSource
Definition: vtkOpenGLState.h:523
vtkOpenGLTextureImageUnit
Definition: vtkOpenGLState.h:218
vtkOpenGLState::Read
GLint Read
Definition: vtkOpenGLState.h:895
vtkOpenGLState::CurrentProgramState
vtkOpenGLProgramState * CurrentProgramState
Definition: vtkOpenGLState.h:726
vtkOpenGLState::AccumAlphaBits
GLint AccumAlphaBits
Definition: vtkOpenGLState.h:819
vtkOpenGLState::BlendEquationAlpha
GLint BlendEquationAlpha
Definition: vtkOpenGLState.h:640
vtkOpenGLState::EdgeFlagArrayPointer
GLvoid * EdgeFlagArrayPointer
Definition: vtkOpenGLState.h:436
vtkOpenGLState::SecondaryColorArraySize
GLint SecondaryColorArraySize
Definition: vtkOpenGLState.h:448
vtkOpenGLBufferObjectState::BufferUsageToString
const char * BufferUsageToString()
vtkOpenGLState::PointSpriteCoordOrigin
GLint PointSpriteCoordOrigin
Definition: vtkOpenGLState.h:572
vtkOpenGLState::BufferMapPointer
GLvoid * BufferMapPointer
Definition: vtkOpenGLState.h:481
vtkOpenGLState::DepthTransform
vtkOpenGLComponentTransform DepthTransform
Definition: vtkOpenGLState.h:686
vtkOpenGLState::RedTransform
vtkOpenGLComponentTransform RedTransform
Definition: vtkOpenGLState.h:682
vtkOpenGLState::LightModelTwoSide
GLboolean LightModelTwoSide
Definition: vtkOpenGLState.h:534
vtkOpenGLProgramState::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent)
vtkOpenGLTexGenState::Enabled
GLboolean Enabled
Definition: vtkOpenGLState.h:150
vtkOpenGLState::MaxColorAttachments
GLint MaxColorAttachments
Definition: vtkOpenGLState.h:797
vtkOpenGLProgramState::ActiveAttributes
GLint ActiveAttributes
Definition: vtkOpenGLState.h:349
vtkOpenGLState::StencilPassDepthPass
GLint StencilPassDepthPass
Definition: vtkOpenGLState.h:611
vtkOpenGLState::FogCoordinateArrayStride
GLint FogCoordinateArrayStride
Definition: vtkOpenGLState.h:444
vtkOpenGLComponentTransform::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent)
vtkOpenGLShaderState::CompileStatus
GLboolean CompileStatus
Definition: vtkOpenGLState.h:327
vtkOpenGLState::MaxClipPlanes
GLint MaxClipPlanes
Definition: vtkOpenGLState.h:775
vtkOpenGLState::DrawBuffer1
GLint DrawBuffer1
Definition: vtkOpenGLState.h:669
vtkOpenGLState::LineStipplePattern
GLint LineStipplePattern
Definition: vtkOpenGLState.h:547
vtkOpenGLShaderState::Source
vtkgl::GLchar * Source
Definition: vtkOpenGLState.h:330
vtkOpenGLState::VertexAttribArraySize
GLint VertexAttribArraySize
Definition: vtkOpenGLState.h:467
vtkOpenGLBufferObjectState
Definition: vtkOpenGLState.h:298
vtkOpenGLState::Normalize
GLboolean Normalize
Definition: vtkOpenGLState.h:503
vtkOpenGLState::SecondaryColorArrayPointer
GLvoid * SecondaryColorArrayPointer
Definition: vtkOpenGLState.h:451
vtkOpenGLState::DepthClearValue
GLfloat DepthClearValue
Definition: vtkOpenGLState.h:660
vtkOpenGLState::IndexArrayBufferBinding
GLint IndexArrayBufferBinding
Definition: vtkOpenGLState.h:458
vtkOpenGLState::StencilBackWriteMask
GLuint StencilBackWriteMask
Definition: vtkOpenGLState.h:665
vtkOpenGLState::VertexProgramPointSizeEnabled
GLboolean VertexProgramPointSizeEnabled
Definition: vtkOpenGLState.h:755
vtkOpenGLState::ClientActiveTexture
GLenum ClientActiveTexture
Definition: vtkOpenGLState.h:439
vtkOpenGLTextureImageUnit::TextureBinding1D
GLint TextureBinding1D
Definition: vtkOpenGLState.h:222
vtkOpenGLState::ColorArrayPointer
GLvoid * ColorArrayPointer
Definition: vtkOpenGLState.h:421
vtkOpenGLState::Context
vtkOpenGLRenderWindow * Context
Definition: vtkOpenGLState.h:926
vtkOpenGLState::FogIndex
GLfloat FogIndex
Definition: vtkOpenGLState.h:514
vtkOpenGLFixePipelineState::Source0Alpha
GLint Source0Alpha
Definition: vtkOpenGLState.h:278
vtkOpenGLState::LineWidthGranularity
GLfloat LineWidthGranularity
Definition: vtkOpenGLState.h:804
vtkOpenGLTextureImageState::Compressed
GLboolean Compressed
Definition: vtkOpenGLState.h:94
vtkOpenGLState::StencilBackValueMask
GLint StencilBackValueMask
Definition: vtkOpenGLState.h:615
vtkOpenGLState::TextureEnvColor
GLfloat TextureEnvColor
Definition: vtkOpenGLState.h:588
vtkOpenGLLightState::SpotCutoff
GLfloat SpotCutoff
Definition: vtkOpenGLState.h:70
vtkOpenGLState::SelectionBufferPointer
GLvoid * SelectionBufferPointer
Definition: vtkOpenGLState.h:879
vtkOpenGLTextureImageState::BlueSize
GLint BlueSize
Definition: vtkOpenGLState.h:85
vtkOpenGLFixePipelineState::RescaleNormal
GLboolean RescaleNormal
Definition: vtkOpenGLState.h:262
vtkOpenGLState::ColorMaterialParameter
GLint ColorMaterialParameter
Definition: vtkOpenGLState.h:527
vtkOpenGLState::NormalArrayPointer
GLvoid * NormalArrayPointer
Definition: vtkOpenGLState.h:415
vtkOpenGLState::VertexAttribArrayEnabled
GLboolean VertexAttribArrayEnabled
Definition: vtkOpenGLState.h:466
vtkOpenGLTextureImageState::Image
GLvoid * Image
Definition: vtkOpenGLState.h:78
vtkOpenGLState::ZoomY
GLfloat ZoomY
Definition: vtkOpenGLState.h:689
vtkOpenGLState::CompressedTextureFormats
GLint CompressedTextureFormats
Definition: vtkOpenGLState.h:837
vtkOpenGLBufferObjectState::BufferAccessFlagsToStream
void BufferAccessFlagsToStream(ostream &os)
vtkOpenGLState::ColorMaterialFace
GLint ColorMaterialFace
Definition: vtkOpenGLState.h:528
vtkOpenGLRenderWindow
OpenGL rendering window.
Definition: vtkOpenGLRenderWindow.h:38
vtkOpenGLProgramState::ActiveUniforms
GLint ActiveUniforms
Definition: vtkOpenGLState.h:347
vtkOpenGLState::RGBAMode
GLboolean RGBAMode
Definition: vtkOpenGLState.h:791
vtkOpenGLTextureImageUnit::TextureBinding3D
GLint TextureBinding3D
Definition: vtkOpenGLState.h:227
vtkOpenGLState::SampleAlphaToCoverageEnabled
GLboolean SampleAlphaToCoverageEnabled
Definition: vtkOpenGLState.h:576
vtkOpenGLState::FogEnd
GLfloat FogEnd
Definition: vtkOpenGLState.h:517
vtkOpenGLState::TextureCoordArrayEnabled
GLboolean TextureCoordArrayEnabled
Definition: vtkOpenGLState.h:428
vtkOpenGLState::PixelMapColorIndexToColorIndex
vtkOpenGLIndexPixelMapState PixelMapColorIndexToColorIndex
Definition: vtkOpenGLState.h:692
vtkOpenGLShaderState::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent)
vtkOpenGLState::StencilValueMask
GLint StencilValueMask
Definition: vtkOpenGLState.h:607
vtkOpenGLTextureImageState::InternalFormat
GLint InternalFormat
Definition: vtkOpenGLState.h:82
vtkOpenGLState::NormalArrayBufferBinding
GLint NormalArrayBufferBinding
Definition: vtkOpenGLState.h:456
vtkOpenGLProgramState::ValidateStatus
GLboolean ValidateStatus
Definition: vtkOpenGLState.h:344
vtkOpenGLState::FrontMaterial
vtkOpenGLMaterialState FrontMaterial
Definition: vtkOpenGLState.h:529
vtkOpenGLState::LineSmoothEnabled
GLboolean LineSmoothEnabled
Definition: vtkOpenGLState.h:546
vtkOpenGLState::ColorMaterialEnabled
GLboolean ColorMaterialEnabled
Definition: vtkOpenGLState.h:526
vtkOpenGLState::Max3DTextureSize
GLint Max3DTextureSize
Definition: vtkOpenGLState.h:822
vtkOpenGLState::FogCoordArrayBufferBinding
GLint FogCoordArrayBufferBinding
Definition: vtkOpenGLState.h:462
vtkOpenGLProgramState
Definition: vtkOpenGLState.h:336
vtkOpenGLTextureImageState::LuminanceSize
GLint LuminanceSize
Definition: vtkOpenGLState.h:87
vtkOpenGLState::FogHint
GLint FogHint
Definition: vtkOpenGLState.h:762
vtkOpenGLState::MaxTextureStackDepth
GLint MaxTextureStackDepth
Definition: vtkOpenGLState.h:778
vtkOpenGLState::MaxListNesting
GLint MaxListNesting
Definition: vtkOpenGLState.h:783
vtkOpenGLPixelControl::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent)
vtkOpenGLState::CurrentRasterIndex
GLfloat CurrentRasterIndex
Definition: vtkOpenGLState.h:391
vtkOpenGLProgramState::HasFragmentShader
bool HasFragmentShader
Definition: vtkOpenGLState.h:356
vtkOpenGLTextureCoordinateProcessingUnit::TextureGenS
vtkOpenGLTexGenState TextureGenS
Definition: vtkOpenGLState.h:207
vtkOpenGLState::RedBits
GLint RedBits
Definition: vtkOpenGLState.h:807
vtkOpenGLTextureImageState
Definition: vtkOpenGLState.h:73
vtkOpenGLState::IndexOffset
GLint IndexOffset
Definition: vtkOpenGLState.h:680
vtkOpenGLState::StencilTestEnabled
GLboolean StencilTestEnabled
Definition: vtkOpenGLState.h:605
vtkOpenGLState::EdgeFlagArray
GLboolean EdgeFlagArray
Definition: vtkOpenGLState.h:434
vtkOpenGLState::EdgeFlag
GLboolean EdgeFlag
Definition: vtkOpenGLState.h:394
vtkOpenGLShaderState::ShaderTypeToString
const char * ShaderTypeToString()
vtkOpenGLIndexPixelMapState::Size
GLint Size
Definition: vtkOpenGLState.h:198
vtkOpenGLState
Raw OpenGL State.
Definition: vtkOpenGLState.h:359
vtkOpenGLState::BlendEnabled
GLboolean BlendEnabled
Definition: vtkOpenGLState.h:624
vtkOpenGLLightState::SpotDirection
GLfloat SpotDirection[4]
Definition: vtkOpenGLState.h:68
vtkOpenGLState::DoubleBuffer
GLboolean DoubleBuffer
Definition: vtkOpenGLState.h:793
vtkOpenGLState::PolygonStipple
GLint PolygonStipple
Definition: vtkOpenGLState.h:561
vtkOpenGLTextureCoordinateProcessingUnit::CurrentMatrix
GLfloat CurrentMatrix[16]
Definition: vtkOpenGLState.h:205
vtkOpenGLState::IndexArrayStride
GLint IndexArrayStride
Definition: vtkOpenGLState.h:425
vtkOpenGLState::IndexShift
GLint IndexShift
Definition: vtkOpenGLState.h:679
vtkOpenGLLightState::Position
GLfloat Position[4]
Definition: vtkOpenGLState.h:64
vtkOpenGLTextureImageUnit::TextureBindingCubeMap
GLint TextureBindingCubeMap
Definition: vtkOpenGLState.h:230
vtkOpenGLState::MaxTextureSize
GLint MaxTextureSize
Definition: vtkOpenGLState.h:780
vtkOpenGLState::DrawBuffers
std::vector< GLint > * DrawBuffers
Definition: vtkOpenGLState.h:652
vtkOpenGLState::ListIndex
GLint ListIndex
Definition: vtkOpenGLState.h:867
vtkOpenGLTexGenState
Definition: vtkOpenGLState.h:145
vtkOpenGLState::QueryCounterBits
GLint QueryCounterBits
Definition: vtkOpenGLState.h:848
vtkOpenGLState::BlendEquation
GLint BlendEquation
Definition: vtkOpenGLState.h:629
vtkOpenGLFixePipelineState::TextureImageUnitEnabled
std::vector< vtkOpenGLTextureImageUnitFixedPipelineState > * TextureImageUnitEnabled
Definition: vtkOpenGLState.h:290
vtkOpenGLProgramState::InfoLogLength
GLint InfoLogLength
Definition: vtkOpenGLState.h:346
vtkOpenGLFixePipelineState::LightEnabled
std::vector< GLboolean > * LightEnabled
Definition: vtkOpenGLState.h:267
vtkOpenGLState::TextureEnvMode
GLint TextureEnvMode
Definition: vtkOpenGLState.h:587