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