VTK  9.1.20211021
vtkRenderWindow.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkRenderWindow.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 =========================================================================*/
159 #ifndef vtkRenderWindow_h
160 #define vtkRenderWindow_h
161 
162 #include "vtkDeprecation.h" // For VTK_DEPRECATED_IN_9_1_0
163 #include "vtkNew.h" // For vtkNew
164 #include "vtkRenderingCoreModule.h" // For export macro
165 #include "vtkSmartPointer.h" // For vtkSmartPointer
166 #include "vtkWindow.h"
167 
168 class vtkFloatArray;
169 class vtkProp;
170 class vtkCollection;
171 class vtkRenderTimerLog;
173 class vtkRenderer;
175 class vtkStereoCompositor;
177 
178 // lets define the different types of stereo
179 #define VTK_STEREO_CRYSTAL_EYES 1
180 #define VTK_STEREO_RED_BLUE 2
181 #define VTK_STEREO_INTERLACED 3
182 #define VTK_STEREO_LEFT 4
183 #define VTK_STEREO_RIGHT 5
184 #define VTK_STEREO_DRESDEN 6
185 #define VTK_STEREO_ANAGLYPH 7
186 #define VTK_STEREO_CHECKERBOARD 8
187 #define VTK_STEREO_SPLITVIEWPORT_HORIZONTAL 9
188 #define VTK_STEREO_FAKE 10
189 #define VTK_STEREO_EMULATE 11
190 
191 #define VTK_CURSOR_DEFAULT 0
192 #define VTK_CURSOR_ARROW 1
193 #define VTK_CURSOR_SIZENE 2
194 #define VTK_CURSOR_SIZENW 3
195 #define VTK_CURSOR_SIZESW 4
196 #define VTK_CURSOR_SIZESE 5
197 #define VTK_CURSOR_SIZENS 6
198 #define VTK_CURSOR_SIZEWE 7
199 #define VTK_CURSOR_SIZEALL 8
200 #define VTK_CURSOR_HAND 9
201 #define VTK_CURSOR_CROSSHAIR 10
202 #define VTK_CURSOR_CUSTOM 11
203 
204 class VTKRENDERINGCORE_EXPORT vtkRenderWindow : public vtkWindow
205 {
206 public:
207  vtkTypeMacro(vtkRenderWindow, vtkWindow);
208  void PrintSelf(ostream& os, vtkIndent indent) override;
209 
215  static vtkRenderWindow* New();
216 
220  virtual void AddRenderer(vtkRenderer*);
221 
226 
231 
235  static const char* GetRenderLibrary();
236 
240  virtual const char* GetRenderingBackend();
241 
246 
250  vtkRendererCollection* GetRenderers() { return this->Renderers; }
251 
260 
262 
265  vtkGetMacro(CapturingGL2PSSpecialProps, int);
267 
272  void Render() override;
273 
277  virtual void Start() {}
278 
282  virtual void End(){};
283 
287  virtual void Finalize() {}
288 
293  virtual void Frame() {}
294 
299  virtual void WaitForCompletion() {}
300 
305  virtual void CopyResultFrame();
306 
313 
315 
321  virtual void HideCursor() {}
322  virtual void ShowCursor() {}
323  virtual void SetCursorPosition(int, int) {}
325 
327 
330  vtkSetMacro(CurrentCursor, int);
331  vtkGetMacro(CurrentCursor, int);
333 
335 
339  vtkSetFilePathMacro(CursorFileName);
340  vtkGetFilePathMacro(CursorFileName);
342 
344 
347  virtual void SetFullScreen(vtkTypeBool) {}
348  vtkGetMacro(FullScreen, vtkTypeBool);
349  vtkBooleanMacro(FullScreen, vtkTypeBool);
351 
353 
358  vtkSetMacro(Borders, vtkTypeBool);
359  vtkGetMacro(Borders, vtkTypeBool);
360  vtkBooleanMacro(Borders, vtkTypeBool);
362 
364 
368  vtkGetMacro(StereoCapableWindow, vtkTypeBool);
369  vtkBooleanMacro(StereoCapableWindow, vtkTypeBool);
370  virtual void SetStereoCapableWindow(vtkTypeBool capable);
372 
374 
377  vtkGetMacro(StereoRender, vtkTypeBool);
379  vtkBooleanMacro(StereoRender, vtkTypeBool);
381 
383 
386  vtkSetMacro(AlphaBitPlanes, vtkTypeBool);
387  vtkGetMacro(AlphaBitPlanes, vtkTypeBool);
388  vtkBooleanMacro(AlphaBitPlanes, vtkTypeBool);
390 
392 
396  vtkSetMacro(PointSmoothing, vtkTypeBool);
397  vtkGetMacro(PointSmoothing, vtkTypeBool);
398  vtkBooleanMacro(PointSmoothing, vtkTypeBool);
400 
402 
406  vtkSetMacro(LineSmoothing, vtkTypeBool);
407  vtkGetMacro(LineSmoothing, vtkTypeBool);
408  vtkBooleanMacro(LineSmoothing, vtkTypeBool);
410 
412 
416  vtkSetMacro(PolygonSmoothing, vtkTypeBool);
417  vtkGetMacro(PolygonSmoothing, vtkTypeBool);
418  vtkBooleanMacro(PolygonSmoothing, vtkTypeBool);
420 
422 
443  vtkGetMacro(StereoType, int);
444  void SetStereoType(int);
445  void SetStereoTypeToCrystalEyes() { this->SetStereoType(VTK_STEREO_CRYSTAL_EYES); }
446  void SetStereoTypeToRedBlue() { this->SetStereoType(VTK_STEREO_RED_BLUE); }
447  void SetStereoTypeToInterlaced() { this->SetStereoType(VTK_STEREO_INTERLACED); }
448  void SetStereoTypeToLeft() { this->SetStereoType(VTK_STEREO_LEFT); }
449  void SetStereoTypeToRight() { this->SetStereoType(VTK_STEREO_RIGHT); }
450  void SetStereoTypeToDresden() { this->SetStereoType(VTK_STEREO_DRESDEN); }
451  void SetStereoTypeToAnaglyph() { this->SetStereoType(VTK_STEREO_ANAGLYPH); }
452  void SetStereoTypeToCheckerboard() { this->SetStereoType(VTK_STEREO_CHECKERBOARD); }
454  {
455  this->SetStereoType(VTK_STEREO_SPLITVIEWPORT_HORIZONTAL);
456  }
457  void SetStereoTypeToFake() { this->SetStereoType(VTK_STEREO_FAKE); }
458  void SetStereoTypeToEmulate() { this->SetStereoType(VTK_STEREO_EMULATE); }
460 
462 
465  const char* GetStereoTypeAsString();
466  static const char* GetStereoTypeAsString(int type);
468 
473  virtual void StereoUpdate();
474 
479  virtual void StereoMidpoint();
480 
485  virtual void StereoRenderComplete();
486 
488 
495  vtkSetClampMacro(AnaglyphColorSaturation, float, 0.0f, 1.0f);
496  vtkGetMacro(AnaglyphColorSaturation, float);
498 
500 
514  vtkSetVector2Macro(AnaglyphColorMask, int);
515  vtkGetVectorMacro(AnaglyphColorMask, int, 2);
517 
523  virtual void WindowRemap() {}
524 
526 
529  vtkSetMacro(SwapBuffers, vtkTypeBool);
530  vtkGetMacro(SwapBuffers, vtkTypeBool);
531  vtkBooleanMacro(SwapBuffers, vtkTypeBool);
533 
535 
547  virtual int SetPixelData(int /*x*/, int /*y*/, int /*x2*/, int /*y2*/, unsigned char* /*data*/,
548  int /*front*/, int /*right*/ = 0)
549  {
550  return 0;
551  }
552  virtual int SetPixelData(int /*x*/, int /*y*/, int /*x2*/, int /*y2*/,
553  vtkUnsignedCharArray* /*data*/, int /*front*/, int /*right*/ = 0)
554  {
555  return 0;
556  }
558 
560 
567  virtual float* GetRGBAPixelData(
568  int /*x*/, int /*y*/, int /*x2*/, int /*y2*/, int /*front*/, int /*right*/ = 0)
569  {
570  return nullptr;
571  }
572  virtual int GetRGBAPixelData(int /*x*/, int /*y*/, int /*x2*/, int /*y2*/, int /*front*/,
573  vtkFloatArray* /*data*/, int /*right*/ = 0)
574  {
575  return 0;
576  }
577  virtual int SetRGBAPixelData(int /*x*/, int /*y*/, int /*x2*/, int /*y2*/, float*, int /*front*/,
578  int /*blend*/ = 0, int /*right*/ = 0)
579  {
580  return 0;
581  }
582  virtual int SetRGBAPixelData(
583  int, int, int, int, vtkFloatArray*, int, int /*blend*/ = 0, int /*right*/ = 0)
584  {
585  return 0;
586  }
587  virtual void ReleaseRGBAPixelData(float* /*data*/) {}
588  virtual unsigned char* GetRGBACharPixelData(
589  int /*x*/, int /*y*/, int /*x2*/, int /*y2*/, int /*front*/, int /*right*/ = 0)
590  {
591  return nullptr;
592  }
593  virtual int GetRGBACharPixelData(int /*x*/, int /*y*/, int /*x2*/, int /*y2*/, int /*front*/,
594  vtkUnsignedCharArray* /*data*/, int /*right*/ = 0)
595  {
596  return 0;
597  }
598  virtual int SetRGBACharPixelData(int /*x*/, int /*y*/, int /*x2*/, int /*y2*/,
599  unsigned char* /*data*/, int /*front*/, int /*blend*/ = 0, int /*right*/ = 0)
600  {
601  return 0;
602  }
603  virtual int SetRGBACharPixelData(int /*x*/, int /*y*/, int /*x2*/, int /*y2*/,
604  vtkUnsignedCharArray* /*data*/, int /*front*/, int /*blend*/ = 0, int /*right*/ = 0)
605  {
606  return 0;
607  }
609 
611 
616  virtual float* GetZbufferData(int /*x*/, int /*y*/, int /*x2*/, int /*y2*/) { return nullptr; }
617  virtual int GetZbufferData(int /*x*/, int /*y*/, int /*x2*/, int /*y2*/, float* /*z*/)
618  {
619  return 0;
620  }
621  virtual int GetZbufferData(int /*x*/, int /*y*/, int /*x2*/, int /*y2*/, vtkFloatArray* /*z*/)
622  {
623  return 0;
624  }
625  virtual int SetZbufferData(int /*x*/, int /*y*/, int /*x2*/, int /*y2*/, float* /*z*/)
626  {
627  return 0;
628  }
629  virtual int SetZbufferData(int /*x*/, int /*y*/, int /*x2*/, int /*y2*/, vtkFloatArray* /*z*/)
630  {
631  return 0;
632  }
633  float GetZbufferDataAtPoint(int x, int y)
634  {
635  float value;
636  this->GetZbufferData(x, y, x, y, &value);
637  return value;
638  }
640 
642 
645  vtkGetMacro(NeverRendered, int);
647 
649 
653  vtkGetMacro(AbortRender, int);
654  vtkSetMacro(AbortRender, int);
655  vtkGetMacro(InAbortCheck, int);
656  vtkSetMacro(InAbortCheck, int);
657  virtual int CheckAbortStatus();
659 
666  virtual vtkTypeBool GetEventPending() { return 0; }
667 
671  virtual int CheckInRenderStatus() { return this->InRender; }
672 
676  virtual void ClearInRenderStatus() { this->InRender = 0; }
677 
679 
687  virtual void SetDesiredUpdateRate(double);
688  vtkGetMacro(DesiredUpdateRate, double);
690 
692 
698  vtkGetMacro(NumberOfLayers, int);
699  vtkSetClampMacro(NumberOfLayers, int, 1, VTK_INT_MAX);
701 
703 
706  vtkGetObjectMacro(Interactor, vtkRenderWindowInteractor);
708 
713 
718  void UnRegister(vtkObjectBase* o) override;
719 
721 
724  void SetDisplayId(void*) override {}
725  void SetWindowId(void*) override {}
726  virtual void SetNextWindowId(void*) {}
727  void SetParentId(void*) override {}
728  void* GetGenericDisplayId() override { return nullptr; }
729  void* GetGenericWindowId() override { return nullptr; }
730  void* GetGenericParentId() override { return nullptr; }
731  void* GetGenericContext() override { return nullptr; }
732  void* GetGenericDrawable() override { return nullptr; }
733  void SetWindowInfo(const char*) override {}
734  virtual void SetNextWindowInfo(const char*) {}
735  void SetParentInfo(const char*) override {}
737 
742  virtual bool InitializeFromCurrentContext() { return false; }
743 
745 
753  vtkGetObjectMacro(SharedRenderWindow, vtkRenderWindow);
754  virtual bool GetPlatformSupportsRenderWindowSharing() { return false; }
756 
761  virtual bool IsCurrent() { return false; }
762 
770  "Deprecated in 9.1 because no one knows what it's for and nothing uses it")
771  virtual bool IsDrawable();
772 
778  virtual void SetForceMakeCurrent() {}
779 
783  virtual const char* ReportCapabilities() { return "Not Implemented"; }
784 
788  virtual int SupportsOpenGL() { return 0; }
789 
793  virtual vtkTypeBool IsDirect() { return 0; }
794 
799  virtual int GetDepthBufferSize() { return 0; }
800 
805  virtual int GetColorBufferSizes(int* /*rgba*/) { return 0; }
806 
808 
812  virtual void SetMultiSamples(int);
813  vtkGetMacro(MultiSamples, int);
815 
817 
820  vtkSetMacro(StencilCapable, vtkTypeBool);
821  vtkGetMacro(StencilCapable, vtkTypeBool);
822  vtkBooleanMacro(StencilCapable, vtkTypeBool);
824 
826 
832  vtkSetMacro(DeviceIndex, int);
833  vtkGetMacro(DeviceIndex, int);
835 
839  virtual int GetNumberOfDevices() { return 0; }
840 
842 
846  vtkGetMacro(UseSRGBColorSpace, bool);
847  vtkSetMacro(UseSRGBColorSpace, bool);
848  vtkBooleanMacro(UseSRGBColorSpace, bool);
850 
851 protected:
853  ~vtkRenderWindow() override;
854 
855  virtual void DoStereoRender();
856 
861  int OldScreen[5];
876  int InRender;
881  int AnaglyphColorMask[2];
886 
889 
894 
896 
897 private:
898  vtkRenderWindow(const vtkRenderWindow&) = delete;
899  void operator=(const vtkRenderWindow&) = delete;
900 
901  vtkNew<vtkStereoCompositor> StereoCompositor;
902 };
903 
904 #endif
create and manipulate ordered lists of objects
Definition: vtkCollection.h:53
dynamic, self-adjusting array of float
a simple class to control print indentation
Definition: vtkIndent.h:113
abstract base class for most VTK objects
Definition: vtkObjectBase.h:70
abstract superclass for all actors, volumes and annotations
Definition: vtkProp.h:76
Asynchronously measures GPU execution times for a series of events.
platform-independent render window interaction including picking and frame rate control.
create a window for renderers to draw into
void SetStereoTypeToDresden()
Set/Get what type of stereo rendering to use.
virtual void SetDesiredUpdateRate(double)
Set/Get the desired update rate.
virtual void ReleaseRGBAPixelData(float *)
Same as Get/SetPixelData except that the image also contains an alpha component.
virtual int GetZbufferData(int, int, int, int, float *)
Set/Get the zbuffer data from the frame buffer.
void SetStereoType(int)
Set/Get what type of stereo rendering to use.
static const char * GetRenderLibrary()
What rendering library has the user requested.
virtual int SetRGBACharPixelData(int, int, int, int, unsigned char *, int, int=0, int=0)
Same as Get/SetPixelData except that the image also contains an alpha component.
virtual int SetZbufferData(int, int, int, int, float *)
Set/Get the zbuffer data from the frame buffer.
vtkRendererCollection * GetRenderers()
Return the collection of renderers in the render window.
void SetStereoTypeToRedBlue()
Set/Get what type of stereo rendering to use.
virtual float * GetRGBAPixelData(int, int, int, int, int, int=0)
Same as Get/SetPixelData except that the image also contains an alpha component.
vtkNew< vtkRenderTimerLog > RenderTimer
void SetParentInfo(const char *) override
Dummy stubs for vtkWindow API.
virtual void Finalize()
Finalize the rendering process.
const char * GetStereoTypeAsString()
Returns the stereo type as a string.
vtkGetFilePathMacro(CursorFileName)
Set/Get the full path to the custom cursor.
virtual bool GetPlatformSupportsRenderWindowSharing()
Set/Get an already existing window that this window should share data with if possible.
double AbortCheckTime
The universal time since the last abort check occurred.
virtual int SetRGBAPixelData(int, int, int, int, float *, int, int=0, int=0)
Same as Get/SetPixelData except that the image also contains an alpha component.
virtual int SetPixelData(int, int, int, int, unsigned char *, int, int=0)
Set/Get the pixel data of an image, transmitted as RGBRGBRGB.
virtual void AddRenderer(vtkRenderer *)
Add a renderer to the list of renderers.
void * GetGenericDisplayId() override
Dummy stubs for vtkWindow API.
virtual void Frame()
A termination method performed at the end of the rendering process to do things like swapping buffers...
vtkTypeBool LineSmoothing
vtkRenderWindowInteractor * Interactor
void SetStereoTypeToFake()
Set/Get what type of stereo rendering to use.
virtual int GetZbufferData(int, int, int, int, vtkFloatArray *)
Set/Get the zbuffer data from the frame buffer.
float AnaglyphColorSaturation
vtkTypeBool FullScreen
virtual void HideCursor()
Hide or Show the mouse cursor, it is nice to be able to hide the default cursor if you want VTK to di...
void SetStereoTypeToInterlaced()
Set/Get what type of stereo rendering to use.
void CaptureGL2PSSpecialProps(vtkCollection *specialProps)
The GL2PS exporter must handle certain props in a special way (e.g.
void * GetGenericWindowId() override
Dummy stubs for vtkWindow API.
virtual int GetRGBACharPixelData(int, int, int, int, int, vtkUnsignedCharArray *, int=0)
Same as Get/SetPixelData except that the image also contains an alpha component.
virtual unsigned char * GetRGBACharPixelData(int, int, int, int, int, int=0)
Same as Get/SetPixelData except that the image also contains an alpha component.
float GetZbufferDataAtPoint(int x, int y)
Set/Get the zbuffer data from the frame buffer.
virtual void WaitForCompletion()
Block the thread until the actual rendering is finished().
virtual void StereoRenderComplete()
Handles work required once both views have been rendered when using stereo rendering.
virtual void SetStereoCapableWindow(vtkTypeBool capable)
Prescribe that the window be created in a stereo-capable mode.
virtual int SetPixelData(int, int, int, int, vtkUnsignedCharArray *, int, int=0)
Set/Get the pixel data of an image, transmitted as RGBRGBRGB.
vtkTypeBool PolygonSmoothing
static vtkRenderWindow * New()
Construct an instance of vtkRenderWindow with its screen size set to 300x300, borders turned on,...
~vtkRenderWindow() override
virtual int GetDepthBufferSize()
This method should be defined by the subclass.
void SetStereoRender(vtkTypeBool stereo)
Turn on/off stereo rendering.
void SetStereoTypeToLeft()
Set/Get what type of stereo rendering to use.
virtual void SetFullScreen(vtkTypeBool)
Turn on/off rendering full screen window size.
virtual void SetNextWindowId(void *)
Dummy stubs for vtkWindow API.
virtual bool InitializeFromCurrentContext()
Initialize the render window from the information associated with the currently activated OpenGL cont...
void SetWindowInfo(const char *) override
Dummy stubs for vtkWindow API.
void * GetGenericContext() override
Dummy stubs for vtkWindow API.
virtual void DoStereoRender()
virtual int GetRGBAPixelData(int, int, int, int, int, vtkFloatArray *, int=0)
Same as Get/SetPixelData except that the image also contains an alpha component.
virtual void SetNextWindowInfo(const char *)
Dummy stubs for vtkWindow API.
virtual void ClearInRenderStatus()
Clear status (after an exception was thrown for example)
virtual vtkRenderWindowInteractor * MakeRenderWindowInteractor()
Create an interactor to control renderers in this window.
void Render() override
Ask each renderer owned by this RenderWindow to render its image and synchronize this process.
vtkSmartPointer< vtkUnsignedCharArray > ResultFrame
void SetParentId(void *) override
Dummy stubs for vtkWindow API.
virtual void SetInteractor(vtkRenderWindowInteractor *)
Set the interactor to the render window.
virtual void End()
Update the system, if needed, at end of render process.
virtual int CheckAbortStatus()
This is a flag that can be set to interrupt a rendering that is in progress.
void SetWindowId(void *) override
Dummy stubs for vtkWindow API.
void SetStereoTypeToCheckerboard()
Set/Get what type of stereo rendering to use.
static const char * GetStereoTypeAsString(int type)
Returns the stereo type as a string.
void UnRegister(vtkObjectBase *o) override
This Method detects loops of RenderWindow<->Interactor, so objects are freed properly.
virtual float * GetZbufferData(int, int, int, int)
Set/Get the zbuffer data from the frame buffer.
virtual int SupportsOpenGL()
Does this render window support OpenGL? 0-false, 1-true.
vtkTypeBool AlphaBitPlanes
vtkRenderWindow * SharedRenderWindow
virtual void StereoUpdate()
Update the system, if needed, due to stereo rendering.
virtual void SetMultiSamples(int)
Set / Get the number of multisamples to use for hardware antialiasing.
virtual void Start()
Start the rendering process for a frame.
void SetStereoTypeToAnaglyph()
Set/Get what type of stereo rendering to use.
virtual void CopyResultFrame()
Performed at the end of the rendering process to generate image.
void * GetGenericParentId() override
Dummy stubs for vtkWindow API.
virtual int SetRGBACharPixelData(int, int, int, int, vtkUnsignedCharArray *, int, int=0, int=0)
Same as Get/SetPixelData except that the image also contains an alpha component.
vtkRendererCollection * Renderers
virtual int SetRGBAPixelData(int, int, int, int, vtkFloatArray *, int, int=0, int=0)
Same as Get/SetPixelData except that the image also contains an alpha component.
vtkTypeBool StencilCapable
virtual void WindowRemap()
Remap the rendering window.
void RemoveRenderer(vtkRenderer *)
Remove a renderer from the list of renderers.
virtual int SetZbufferData(int, int, int, int, vtkFloatArray *)
Set/Get the zbuffer data from the frame buffer.
vtkTypeBool StereoRender
virtual int GetColorBufferSizes(int *)
Get the size of the color buffer.
vtkGetNewMacro(RenderTimer, vtkRenderTimerLog)
Get the render timer log for this window.
virtual void SetSharedRenderWindow(vtkRenderWindow *)
Set/Get an already existing window that this window should share data with if possible.
vtkTypeBool PointSmoothing
vtkTypeBool StereoCapableWindow
virtual void SetCursorPosition(int, int)
Hide or Show the mouse cursor, it is nice to be able to hide the default cursor if you want VTK to di...
virtual vtkTypeBool GetEventPending()
Check to see if a mouse button has been pressed.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
virtual void StereoMidpoint()
Intermediate method performs operations required between the rendering of the left and right eye.
void SetDisplayId(void *) override
Dummy stubs for vtkWindow API.
void SetStereoTypeToEmulate()
Set/Get what type of stereo rendering to use.
virtual const char * ReportCapabilities()
Get report of capabilities for the render window.
vtkSetFilePathMacro(CursorFileName)
Set/Get the full path to the custom cursor.
void SetStereoTypeToSplitViewportHorizontal()
Set/Get what type of stereo rendering to use.
int HasRenderer(vtkRenderer *)
Query if a renderer is in the list of renderers.
virtual int GetNumberOfDevices()
Returns the number of devices (graphics cards) on a system.
virtual void ShowCursor()
Hide or Show the mouse cursor, it is nice to be able to hide the default cursor if you want VTK to di...
vtkSmartPointer< vtkUnsignedCharArray > StereoBuffer
virtual vtkTypeBool IsDirect()
Is this render window using hardware acceleration? 0-false, 1-true.
void SetStereoTypeToCrystalEyes()
Set/Get what type of stereo rendering to use.
vtkTypeBool SwapBuffers
void SetStereoTypeToRight()
Set/Get what type of stereo rendering to use.
virtual int CheckInRenderStatus()
Are we rendering at the moment.
vtkTypeBool Borders
virtual bool IsCurrent()
Tells if this window is the current graphics context for the calling thread.
void * GetGenericDrawable() override
Dummy stubs for vtkWindow API.
virtual const char * GetRenderingBackend()
What rendering backend has the user requested.
an ordered list of renderers
abstract specification for renderers
Definition: vtkRenderer.h:182
helper class to generate composited stereo images.
dynamic, self-adjusting array of unsigned char
window superclass for vtkRenderWindow
Definition: vtkWindow.h:39
@ value
Definition: vtkX3D.h:226
@ type
Definition: vtkX3D.h:522
int vtkTypeBool
Definition: vtkABI.h:69
#define VTK_DEPRECATED_IN_9_1_0(reason)
#define VTK_STEREO_ANAGLYPH
#define VTK_STEREO_SPLITVIEWPORT_HORIZONTAL
#define VTK_STEREO_DRESDEN
#define VTK_STEREO_CHECKERBOARD
#define VTK_STEREO_CRYSTAL_EYES
#define VTK_STEREO_RIGHT
#define VTK_STEREO_FAKE
#define VTK_STEREO_RED_BLUE
#define VTK_STEREO_INTERLACED
#define VTK_STEREO_EMULATE
#define VTK_STEREO_LEFT
#define VTK_INT_MAX
Definition: vtkType.h:155