VTK  9.0.20200928
vtkOpenGLRenderWindow.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkOpenGLRenderWindow.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 =========================================================================*/
25 #ifndef vtkOpenGLRenderWindow_h
26 #define vtkOpenGLRenderWindow_h
27 
28 #include "vtkDeprecation.h" // for VTK_DEPRECATED_IN_9_0_0
29 #include "vtkRect.h" // for vtkRecti
30 #include "vtkRenderWindow.h"
31 #include "vtkRenderingOpenGL2Module.h" // For export macro
32 #include "vtkType.h" // for ivar
33 #include <map> // for ivar
34 #include <set> // for ivar
35 #include <string> // for ivar
36 
37 class vtkIdList;
40 class vtkOpenGLHardwareSupport;
45 class vtkShaderProgram;
46 class vtkStdString;
47 class vtkTexture;
48 class vtkTextureObject;
51 class vtkOpenGLState;
52 
53 class VTKRENDERINGOPENGL2_EXPORT vtkOpenGLRenderWindow : public vtkRenderWindow
54 {
55 public:
57  void PrintSelf(ostream& os, vtkIndent indent) override;
58 
62  void Start(void) override;
63 
68  void Frame() override;
69 
73  const char* GetRenderingBackend() override;
74 
76 
79  static void SetGlobalMaximumNumberOfMultiSamples(int val);
80  static int GetGlobalMaximumNumberOfMultiSamples();
82 
84 
89  unsigned char* GetPixelData(int x, int y, int x2, int y2, int front, int right) override;
90  int GetPixelData(
91  int x, int y, int x2, int y2, int front, vtkUnsignedCharArray* data, int right) override;
92  int SetPixelData(
93  int x, int y, int x2, int y2, unsigned char* data, int front, int right) override;
94  int SetPixelData(
95  int x, int y, int x2, int y2, vtkUnsignedCharArray* data, int front, int right) override;
97 
99 
102  float* GetRGBAPixelData(int x, int y, int x2, int y2, int front, int right = 0) override;
103  int GetRGBAPixelData(
104  int x, int y, int x2, int y2, int front, vtkFloatArray* data, int right = 0) override;
105  int SetRGBAPixelData(
106  int x, int y, int x2, int y2, float* data, int front, int blend = 0, int right = 0) override;
107  int SetRGBAPixelData(int x, int y, int x2, int y2, vtkFloatArray* data, int front, int blend = 0,
108  int right = 0) override;
109  void ReleaseRGBAPixelData(float* data) override;
110  unsigned char* GetRGBACharPixelData(
111  int x, int y, int x2, int y2, int front, int right = 0) override;
113  int x, int y, int x2, int y2, int front, vtkUnsignedCharArray* data, int right = 0) override;
114  int SetRGBACharPixelData(int x, int y, int x2, int y2, unsigned char* data, int front,
115  int blend = 0, int right = 0) override;
116  int SetRGBACharPixelData(int x, int y, int x2, int y2, vtkUnsignedCharArray* data, int front,
117  int blend = 0, int right = 0) override;
119 
121 
124  float* GetZbufferData(int x1, int y1, int x2, int y2) override;
125  int GetZbufferData(int x1, int y1, int x2, int y2, float* z) override;
126  int GetZbufferData(int x1, int y1, int x2, int y2, vtkFloatArray* buffer) override;
127  int SetZbufferData(int x1, int y1, int x2, int y2, float* buffer) override;
128  int SetZbufferData(int x1, int y1, int x2, int y2, vtkFloatArray* buffer) override;
130 
134  void ActivateTexture(vtkTextureObject*);
135 
139  void DeactivateTexture(vtkTextureObject*);
140 
144  int GetTextureUnitForTexture(vtkTextureObject*);
145 
149  int GetDepthBufferSize() override;
150 
154  bool GetUsingSRGBColorSpace();
155 
160  int GetColorBufferSizes(int* rgba) override;
161 
167  int GetColorBufferInternalFormat(int attachmentPoint);
168 
172  virtual void OpenGLInit();
173 
174  // Initialize the state of OpenGL that VTK wants for this window
175  virtual void OpenGLInitState();
176 
177  // Initialize VTK for rendering in a new OpenGL context
178  virtual void OpenGLInitContext();
179 
185  void GetOpenGLVersion(int& major, int& minor);
186 
188  VTK_DEPRECATED_IN_9_1_0("Removed in 9.1, now always returns 0")
189  unsigned int GetBackLeftBuffer();
190  VTK_DEPRECATED_IN_9_1_0("Removed in 9.1, now always returns 0")
191  unsigned int GetBackRightBuffer();
192  VTK_DEPRECATED_IN_9_1_0("Removed in 9.1, now always returns 0")
193  unsigned int GetFrontLeftBuffer();
194  VTK_DEPRECATED_IN_9_1_0("Removed in 9.1, now always returns 0")
195  unsigned int GetFrontRightBuffer();
196  VTK_DEPRECATED_IN_9_1_0("Removed in 9.1, now always returns 0")
197  unsigned int GetBackBuffer();
198  VTK_DEPRECATED_IN_9_1_0("Removed in 9.1, now always returns 0")
199  unsigned int GetFrontBuffer();
201 
205  virtual vtkMTimeType GetContextCreationTime();
206 
210  vtkOpenGLShaderCache* GetShaderCache();
211 
215  vtkOpenGLVertexBufferObjectCache* GetVBOCache();
216 
218 
221  vtkGetObjectMacro(RenderFramebuffer, vtkOpenGLFramebufferObject);
222  VTK_DEPRECATED_IN_9_1_0("Removed in 9.1")
223  vtkOpenGLFramebufferObject* GetOffScreenFramebuffer() { return this->RenderFramebuffer; }
225 
230  vtkTextureUnitManager* GetTextureUnitManager();
231 
236  void WaitForCompletion() override;
237 
241  virtual void DrawPixels(
242  int x1, int y1, int x2, int y2, int numComponents, int dataType, void* data);
243 
248  virtual void DrawPixels(int dstXmin, int dstYmin, int dstXmax, int dstYmax, int srcXmin,
249  int srcYmin, int srcXmax, int srcYmax, int srcWidth, int srcHeight, int numComponents,
250  int dataType, void* data);
251 
256  virtual void DrawPixels(int srcWidth, int srcHeight, int numComponents, int dataType, void* data);
257 
261  virtual float GetMaximumHardwareLineWidth() { return this->MaximumHardwareLineWidth; }
262 
269  virtual bool IsPointSpriteBugPresent() { return false; }
270 
276  int GetDefaultTextureInternalFormat(
277  int vtktype, int numComponents, bool needInteger, bool needFloat, bool needSRGB);
278 
284  std::string GetOpenGLSupportMessage() { return this->OpenGLSupportMessage; }
285 
289  int SupportsOpenGL() override;
290 
294  const char* ReportCapabilities() override;
295 
302  virtual void Initialize(void) {}
303 
304  std::set<vtkGenericOpenGLResourceFreeCallback*> Resources;
305 
307  {
308  std::set<vtkGenericOpenGLResourceFreeCallback*>::iterator it = this->Resources.find(cb);
309  if (it == this->Resources.end())
310  {
311  this->Resources.insert(cb);
312  }
313  }
314 
316  {
317  std::set<vtkGenericOpenGLResourceFreeCallback*>::iterator it = this->Resources.find(cb);
318  if (it != this->Resources.end())
319  {
320  this->Resources.erase(it);
321  }
322  }
323 
333  virtual void PushContext() { this->MakeCurrent(); }
334  virtual void PopContext() {}
335 
340  bool InitializeFromCurrentContext() override;
341 
351  virtual bool SetSwapControl(int) { return false; }
352 
353  // Get the state object used to keep track of
354  // OpenGL state
355  virtual vtkOpenGLState* GetState() { return this->State; }
356 
357  // Get a VBO that can be shared by many
358  // It consists of normalized display
359  // coordinates for a quad and tcoords
360  vtkOpenGLBufferObject* GetTQuad2DVBO();
361 
362  // Activate and return thje texture unit for a generic 2d 64x64
363  // float greyscale noise texture ranging from 0 to 1. The texture is
364  // generated using PerlinNoise. This textur eunit will automatically
365  // be deactivated at the end of the render process.
366  int GetNoiseTextureUnit();
367 
371  void End() override;
372 
376  void Render() override;
377 
382  void StereoMidpoint() override;
383 
384  // does VTKs framebuffer require resolving for reading pixels
385  bool GetBufferNeedsResolving();
386 
391  void ReleaseGraphicsResources(vtkWindow*) override;
392 
396  void BlitDisplayFramebuffer();
397 
401  void BlitDisplayFramebuffer(int right, int srcX, int srcY, int srcWidth, int srcHeight, int destX,
402  int destY, int destWidth, int destHeight, int bufferMode, int interpolation);
403 
405 
409  void BlitToRenderFramebuffer(bool includeDepth);
410  void BlitToRenderFramebuffer(int srcX, int srcY, int srcWidth, int srcHeight, int destX,
411  int destY, int destWidth, int destHeight, int bufferMode, int interpolation);
413 
419  {
420  BlitToHardware, // hardware buffers
421  BlitToCurrent, // currently bound draw framebuffer
422  NoBlit // no blit, GUI or external code will handle the blit
423  };
424 
426 
430  vtkSetClampMacro(FrameBlitMode, FrameBlitModes, BlitToHardware, NoBlit);
431  vtkGetMacro(FrameBlitMode, FrameBlitModes);
432  void SetFrameBlitModeToBlitToHardware() { this->SetFrameBlitMode(BlitToHardware); }
433  void SetFrameBlitModeToBlitToCurrent() { this->SetFrameBlitMode(BlitToCurrent); }
434  void SetFrameBlitModeToNoBlit() { this->SetFrameBlitMode(NoBlit); }
436 
437 protected:
439  ~vtkOpenGLRenderWindow() override;
440 
441  // blits the display buffers to the appropriate hardware buffers
442  virtual void BlitDisplayFramebuffersToHardware();
443 
444  // when frame is called, at the end blit to the hardware buffers
446 
447  // a FSQ we use to resolve MSAA that handles gamma
449 
450  // used in testing for opengl support
451  // in the SupportsOpenGL() method
455 
456  virtual int ReadPixels(
457  const vtkRecti& rect, int front, int glFormat, int glType, void* data, int right = 0);
458 
467  int CreateFramebuffers(int width, int height);
470 
471  // used when we need to resolve a multisampled
472  // framebuffer
474 
478  virtual void CreateAWindow() = 0;
479 
483  virtual void DestroyWindow() = 0;
484 
488  void SaveGLState();
489 
493  void RestoreGLState();
494 
495  std::map<std::string, int> GLStateIntegers;
496 
501 
503 
505 
506  bool Initialized; // ensure glewinit has been called
507  bool GlewInitValid; // Did glewInit initialize with a valid state?
508 
510 
512 
513  // used for fast quad rendering
515 
516  // noise texture
518 
520 
521  // keep track of in case we need to recreate the framebuffer
523 
524  int ScreenSize[2];
525 
526 private:
528  void operator=(const vtkOpenGLRenderWindow&) = delete;
529 
530  // Keeping `State` private so the only way to access it is through
531  // `this->GetState()`.
532  vtkOpenGLState* State;
533 };
534 
535 #endif
vtkRenderWindow::SetPixelData
virtual int SetPixelData(int, int, int, int, unsigned char *, int, int=0)
Set/Get the pixel data of an image, transmitted as RGBRGBRGB.
Definition: vtkRenderWindow.h:428
vtkOpenGLRenderWindow::DisplayFramebuffer
vtkOpenGLFramebufferObject * DisplayFramebuffer
Definition: vtkOpenGLRenderWindow.h:469
vtkOpenGLRenderWindow::GetMaximumHardwareLineWidth
virtual float GetMaximumHardwareLineWidth()
Return the largest line width supported by the hardware.
Definition: vtkOpenGLRenderWindow.h:261
vtkOpenGLRenderWindow::RegisterGraphicsResources
void RegisterGraphicsResources(vtkGenericOpenGLResourceFreeCallback *cb)
Definition: vtkOpenGLRenderWindow.h:306
vtkOpenGLBufferObject
OpenGL buffer object.
Definition: vtkOpenGLBufferObject.h:33
vtkOpenGLRenderWindow::MaximumHardwareLineWidth
float MaximumHardwareLineWidth
Definition: vtkOpenGLRenderWindow.h:509
vtkFloatArray
dynamic, self-adjusting array of float
Definition: vtkFloatArray.h:35
vtkOpenGLRenderWindow::SetSwapControl
virtual bool SetSwapControl(int)
Set the number of vertical syncs required between frames.
Definition: vtkOpenGLRenderWindow.h:351
vtkX3D::data
Definition: vtkX3D.h:321
vtkOpenGLRenderWindow::GetOpenGLSupportMessage
std::string GetOpenGLSupportMessage()
Return a message profiding additional details about the results of calling SupportsOpenGL() This can ...
Definition: vtkOpenGLRenderWindow.h:284
vtkTimeStamp
record modification and/or execution time
Definition: vtkTimeStamp.h:32
vtkOpenGLRenderWindow::LastMultiSamples
int LastMultiSamples
Definition: vtkOpenGLRenderWindow.h:522
vtkOpenGLRenderWindow::ResolveQuad
vtkOpenGLQuadHelper * ResolveQuad
Definition: vtkOpenGLRenderWindow.h:448
vtkUnsignedCharArray
dynamic, self-adjusting array of unsigned char
Definition: vtkUnsignedCharArray.h:35
vtkOpenGLFramebufferObject
Internal class which encapsulates OpenGL FramebufferObject.
Definition: vtkOpenGLFramebufferObject.h:181
vtkRenderWindow.h
VTK_DEPRECATED_IN_9_1_0
#define VTK_DEPRECATED_IN_9_1_0(reason)
Definition: vtkDeprecation.h:76
vtkOpenGLRenderWindow::UnregisterGraphicsResources
void UnregisterGraphicsResources(vtkGenericOpenGLResourceFreeCallback *cb)
Definition: vtkOpenGLRenderWindow.h:315
vtkOpenGLRenderWindow::DrawPixelsTextureObject
vtkTextureObject * DrawPixelsTextureObject
Definition: vtkOpenGLRenderWindow.h:504
vtkOpenGLQuadHelper
Class to make rendering a full screen quad easier.
Definition: vtkOpenGLQuadHelper.h:57
vtkOpenGLRenderWindow::RenderFramebuffer
vtkOpenGLFramebufferObject * RenderFramebuffer
Definition: vtkOpenGLRenderWindow.h:468
vtkRenderWindow::SetRGBACharPixelData
virtual int SetRGBACharPixelData(int, int, int, int, unsigned char *, int, int=0, int=0)
Definition: vtkRenderWindow.h:479
vtkRenderWindow::WaitForCompletion
virtual void WaitForCompletion()
Block the thread until the actual rendering is finished().
Definition: vtkRenderWindow.h:189
vtkOpenGLRenderWindow::OpenGLSupportMessage
std::string OpenGLSupportMessage
Definition: vtkOpenGLRenderWindow.h:454
vtkRenderWindow::SetZbufferData
virtual int SetZbufferData(int, int, int, int, float *)
Definition: vtkRenderWindow.h:506
vtkOpenGLRenderWindow::PopContext
virtual void PopContext()
Definition: vtkOpenGLRenderWindow.h:334
vtkWindow
window superclass for vtkRenderWindow
Definition: vtkWindow.h:38
vtkRenderWindow::GetZbufferData
virtual float * GetZbufferData(int, int, int, int)
Set/Get the zbuffer data from the frame buffer.
Definition: vtkRenderWindow.h:497
vtkOpenGLRenderWindow::GlewInitValid
bool GlewInitValid
Definition: vtkOpenGLRenderWindow.h:507
vtkType.h
vtkWindow::ReleaseGraphicsResources
virtual void ReleaseGraphicsResources(vtkWindow *)
Release any graphics resources that are being consumed by this texture.
Definition: vtkWindow.h:180
vtkOpenGLRenderWindow::ContextCreationTime
vtkTimeStamp ContextCreationTime
Definition: vtkOpenGLRenderWindow.h:502
vtkTexture
handles properties associated with a texture map
Definition: vtkTexture.h:65
vtkOpenGLRenderWindow::OpenGLSupportResult
int OpenGLSupportResult
Definition: vtkOpenGLRenderWindow.h:453
vtkTextureUnitManager
allocate/free texture units.
Definition: vtkTextureUnitManager.h:38
vtkRenderWindow::GetRGBACharPixelData
virtual unsigned char * GetRGBACharPixelData(int, int, int, int, int, int=0)
Definition: vtkRenderWindow.h:469
vtkRenderWindow::StereoMidpoint
virtual void StereoMidpoint()
Intermediate method performs operations required between the rendering of the left and right eye.
vtkX3D::height
Definition: vtkX3D.h:260
vtkOpenGLRenderWindow::FrameBlitModes
FrameBlitModes
Define how the resulting image should be blitted when at the end of the Frame() call if SwapBuffers i...
Definition: vtkOpenGLRenderWindow.h:418
vtkRenderWindow::ReleaseRGBAPixelData
virtual void ReleaseRGBAPixelData(float *)
Definition: vtkRenderWindow.h:468
vtkRenderWindow::GetColorBufferSizes
virtual int GetColorBufferSizes(int *)
Get the size of the color buffer.
Definition: vtkRenderWindow.h:706
vtkShaderProgram
The ShaderProgram uses one or more Shader objects.
Definition: vtkShaderProgram.h:44
vtkOpenGLRenderWindow::ResolveFramebuffer
vtkOpenGLFramebufferObject * ResolveFramebuffer
Definition: vtkOpenGLRenderWindow.h:473
vtkGenericOpenGLResourceFreeCallback
Definition: vtkOpenGLResourceFreeCallback.h:25
vtkRenderWindow::MakeCurrent
void MakeCurrent() override
Attempt to make this window the current graphics context for the calling thread.
Definition: vtkRenderWindow.h:656
vtkRect.h
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:33
vtkTextureObject
abstracts an OpenGL texture object.
Definition: vtkTextureObject.h:40
vtkRenderWindow::Render
void Render() override
Ask each renderer owned by this RenderWindow to render its image and synchronize this process.
vtkOpenGLRenderWindow::Capabilities
char * Capabilities
Definition: vtkOpenGLRenderWindow.h:511
vtkOpenGLRenderWindow::NoiseTextureObject
vtkTextureObject * NoiseTextureObject
Definition: vtkOpenGLRenderWindow.h:517
vtkIdList
list of point or cell ids
Definition: vtkIdList.h:30
vtkOpenGLRenderWindow::SetFrameBlitModeToBlitToHardware
void SetFrameBlitModeToBlitToHardware()
Definition: vtkOpenGLRenderWindow.h:432
vtkOpenGLRenderWindow::GetState
virtual vtkOpenGLState * GetState()
Definition: vtkOpenGLRenderWindow.h:355
vtkRenderWindow::GetRGBAPixelData
virtual float * GetRGBAPixelData(int, int, int, int, int, int=0)
Same as Get/SetPixelData except that the image also contains an alpha component.
Definition: vtkRenderWindow.h:448
vtkOpenGLShaderCache
manage Shader Programs within a context
Definition: vtkOpenGLShaderCache.h:35
vtkRenderWindow::ReportCapabilities
virtual const char * ReportCapabilities()
Get report of capabilities for the render window.
Definition: vtkRenderWindow.h:684
vtkOpenGLRenderWindow::IsPointSpriteBugPresent
virtual bool IsPointSpriteBugPresent()
Returns true if driver has an EGL/OpenGL bug that makes vtkChartsCoreCxx-TestChartDoubleColors and ot...
Definition: vtkOpenGLRenderWindow.h:269
vtkRenderWindow::Frame
virtual void Frame()
A termination method performed at the end of the rendering process to do things like swapping buffers...
Definition: vtkRenderWindow.h:183
vtkRenderWindow::GetDepthBufferSize
virtual int GetDepthBufferSize()
This method should be defined by the subclass.
Definition: vtkRenderWindow.h:700
vtkRenderWindow::End
virtual void End()
Update the system, if needed, at end of render process.
Definition: vtkRenderWindow.h:172
vtkOpenGLRenderWindow::FirstRenderTime
double FirstRenderTime
Definition: vtkOpenGLRenderWindow.h:519
vtkOpenGLRenderWindow::Initialized
bool Initialized
Definition: vtkOpenGLRenderWindow.h:506
vtkRenderWindow::Start
virtual void Start()
Start the rendering process for a frame.
Definition: vtkRenderWindow.h:167
vtkX3D::string
Definition: vtkX3D.h:496
vtkOpenGLRenderWindow::FrameBlitMode
FrameBlitModes FrameBlitMode
Definition: vtkOpenGLRenderWindow.h:445
vtkOpenGLRenderWindow::OpenGLSupportTested
bool OpenGLSupportTested
Definition: vtkOpenGLRenderWindow.h:452
vtkDeprecation.h
vtkOpenGLRenderWindow::OwnContext
vtkTypeBool OwnContext
Flag telling if the context has been created here or was inherited.
Definition: vtkOpenGLRenderWindow.h:500
vtkRenderWindow::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkOpenGLRenderWindow::BlitToCurrent
Definition: vtkOpenGLRenderWindow.h:421
vtkOpenGLRenderWindow::BlitToHardware
Definition: vtkOpenGLRenderWindow.h:420
vtkOpenGLVertexBufferObjectCache
manage vertex buffer objects shared within a context
Definition: vtkOpenGLVertexBufferObjectCache.h:38
vtkOpenGLRenderWindow::SetFrameBlitModeToNoBlit
void SetFrameBlitModeToNoBlit()
Definition: vtkOpenGLRenderWindow.h:434
vtkOpenGLRenderWindow::GLStateIntegers
std::map< std::string, int > GLStateIntegers
Definition: vtkOpenGLRenderWindow.h:495
vtkWindow::GetPixelData
virtual unsigned char * GetPixelData(int, int, int, int, int, int=0)
Get the pixel data of an image, transmitted as RGBRGBRGB.
Definition: vtkWindow.h:195
vtkRenderWindow::SupportsOpenGL
virtual int SupportsOpenGL()
Does this render window support OpenGL? 0-false, 1-true.
Definition: vtkRenderWindow.h:689
vtkRenderWindow::SetRGBAPixelData
virtual int SetRGBAPixelData(int, int, int, int, float *, int, int=0, int=0)
Definition: vtkRenderWindow.h:458
vtkRecti
Definition: vtkRect.h:312
vtkOpenGLRenderWindow
OpenGL rendering window.
Definition: vtkOpenGLRenderWindow.h:53
vtkRenderWindow
create a window for renderers to draw into
Definition: vtkRenderWindow.h:94
vtkRenderWindow::InitializeFromCurrentContext
virtual bool InitializeFromCurrentContext()
Initialize the render window from the information associated with the currently activated OpenGL cont...
Definition: vtkRenderWindow.h:637
vtkRenderWindow::GetRenderingBackend
virtual const char * GetRenderingBackend()
What rendering backend has the user requested.
vtkStdString
Wrapper around std::string to keep symbols short.
Definition: vtkStdString.h:34
vtkOpenGLRenderWindow::TQuad2DVBO
vtkOpenGLBufferObject * TQuad2DVBO
Definition: vtkOpenGLRenderWindow.h:514
vtkRenderWindow::VTK_DEPRECATED_IN_9_1_0
VTK_DEPRECATED_IN_9_1_0("Deprecated in 9.1 because no one knows what it's for and nothing uses it") virtual bool IsDrawable()
Test if the window has a valid drawable.
vtkOpenGLState
OpenGL state storage.
Definition: vtkOpenGLState.h:81
vtkOpenGLRenderWindow::PushContext
virtual void PushContext()
Ability to push and pop this window's context as the current context.
Definition: vtkOpenGLRenderWindow.h:333
vtkOpenGLRenderWindow::Resources
std::set< vtkGenericOpenGLResourceFreeCallback * > Resources
Definition: vtkOpenGLRenderWindow.h:304
vtkOpenGLVertexArrayObject
The VertexArrayObject class uses, or emulates, vertex array objects.
Definition: vtkOpenGLVertexArrayObject.h:36
vtkTypeBool
int vtkTypeBool
Definition: vtkABI.h:69
vtkOpenGLRenderWindow::SetFrameBlitModeToBlitToCurrent
void SetFrameBlitModeToBlitToCurrent()
Definition: vtkOpenGLRenderWindow.h:433
vtkOpenGLRenderWindow::Initialize
virtual void Initialize(void)
Initialize the rendering window.
Definition: vtkOpenGLRenderWindow.h:302
vtkMTimeType
vtkTypeUInt32 vtkMTimeType
Definition: vtkType.h:285