VTK  9.1.0
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=========================================================================*/
50#ifndef vtkRenderWindow_h
51#define vtkRenderWindow_h
52
53#include "vtkDeprecation.h" // for VTK_DEPRECATED_IN_9_0_0
54#include "vtkNew.h" // For vtkNew
55#include "vtkRenderingCoreModule.h" // For export macro
56#include "vtkSmartPointer.h" // For vtkSmartPointer
57#include "vtkWindow.h"
58
59class vtkFloatArray;
60class vtkProp;
61class vtkCollection;
64class vtkRenderer;
68
69// lets define the different types of stereo
70#define VTK_STEREO_CRYSTAL_EYES 1
71#define VTK_STEREO_RED_BLUE 2
72#define VTK_STEREO_INTERLACED 3
73#define VTK_STEREO_LEFT 4
74#define VTK_STEREO_RIGHT 5
75#define VTK_STEREO_DRESDEN 6
76#define VTK_STEREO_ANAGLYPH 7
77#define VTK_STEREO_CHECKERBOARD 8
78#define VTK_STEREO_SPLITVIEWPORT_HORIZONTAL 9
79#define VTK_STEREO_FAKE 10
80#define VTK_STEREO_EMULATE 11
81
82#define VTK_CURSOR_DEFAULT 0
83#define VTK_CURSOR_ARROW 1
84#define VTK_CURSOR_SIZENE 2
85#define VTK_CURSOR_SIZENW 3
86#define VTK_CURSOR_SIZESW 4
87#define VTK_CURSOR_SIZESE 5
88#define VTK_CURSOR_SIZENS 6
89#define VTK_CURSOR_SIZEWE 7
90#define VTK_CURSOR_SIZEALL 8
91#define VTK_CURSOR_HAND 9
92#define VTK_CURSOR_CROSSHAIR 10
93#define VTK_CURSOR_CUSTOM 11
94
95class VTKRENDERINGCORE_EXPORT vtkRenderWindow : public vtkWindow
96{
97public:
98 vtkTypeMacro(vtkRenderWindow, vtkWindow);
99 void PrintSelf(ostream& os, vtkIndent indent) override;
100
107
111 virtual void AddRenderer(vtkRenderer*);
112
117
122
126 static const char* GetRenderLibrary();
127
131 virtual const char* GetRenderingBackend();
132
137
141 vtkRendererCollection* GetRenderers() { return this->Renderers; }
142
151
153
156 vtkGetMacro(CapturingGL2PSSpecialProps, int);
158
163 void Render() override;
164
168 virtual void Start() {}
169
173 virtual void End(){};
174
178 virtual void Finalize() {}
179
184 virtual void Frame() {}
185
190 virtual void WaitForCompletion() {}
191
196 virtual void CopyResultFrame();
197
204
206
212 virtual void HideCursor() {}
213 virtual void ShowCursor() {}
214 virtual void SetCursorPosition(int, int) {}
216
218
221 vtkSetMacro(CurrentCursor, int);
222 vtkGetMacro(CurrentCursor, int);
224
226
230 vtkSetFilePathMacro(CursorFileName);
231 vtkGetFilePathMacro(CursorFileName);
233
235
238 virtual void SetFullScreen(vtkTypeBool) {}
239 vtkGetMacro(FullScreen, vtkTypeBool);
240 vtkBooleanMacro(FullScreen, vtkTypeBool);
242
244
249 vtkSetMacro(Borders, vtkTypeBool);
250 vtkGetMacro(Borders, vtkTypeBool);
251 vtkBooleanMacro(Borders, vtkTypeBool);
253
255
259 vtkGetMacro(StereoCapableWindow, vtkTypeBool);
260 vtkBooleanMacro(StereoCapableWindow, vtkTypeBool);
261 virtual void SetStereoCapableWindow(vtkTypeBool capable);
263
265
268 vtkGetMacro(StereoRender, vtkTypeBool);
270 vtkBooleanMacro(StereoRender, vtkTypeBool);
272
274
277 vtkSetMacro(AlphaBitPlanes, vtkTypeBool);
278 vtkGetMacro(AlphaBitPlanes, vtkTypeBool);
279 vtkBooleanMacro(AlphaBitPlanes, vtkTypeBool);
281
283
287 vtkSetMacro(PointSmoothing, vtkTypeBool);
288 vtkGetMacro(PointSmoothing, vtkTypeBool);
289 vtkBooleanMacro(PointSmoothing, vtkTypeBool);
291
293
297 vtkSetMacro(LineSmoothing, vtkTypeBool);
298 vtkGetMacro(LineSmoothing, vtkTypeBool);
299 vtkBooleanMacro(LineSmoothing, vtkTypeBool);
301
303
307 vtkSetMacro(PolygonSmoothing, vtkTypeBool);
308 vtkGetMacro(PolygonSmoothing, vtkTypeBool);
309 vtkBooleanMacro(PolygonSmoothing, vtkTypeBool);
311
313
334 vtkGetMacro(StereoType, int);
335 void SetStereoType(int);
337 void SetStereoTypeToRedBlue() { this->SetStereoType(VTK_STEREO_RED_BLUE); }
338 void SetStereoTypeToInterlaced() { this->SetStereoType(VTK_STEREO_INTERLACED); }
339 void SetStereoTypeToLeft() { this->SetStereoType(VTK_STEREO_LEFT); }
340 void SetStereoTypeToRight() { this->SetStereoType(VTK_STEREO_RIGHT); }
341 void SetStereoTypeToDresden() { this->SetStereoType(VTK_STEREO_DRESDEN); }
342 void SetStereoTypeToAnaglyph() { this->SetStereoType(VTK_STEREO_ANAGLYPH); }
345 {
346 this->SetStereoType(VTK_STEREO_SPLITVIEWPORT_HORIZONTAL);
347 }
348 void SetStereoTypeToFake() { this->SetStereoType(VTK_STEREO_FAKE); }
349 void SetStereoTypeToEmulate() { this->SetStereoType(VTK_STEREO_EMULATE); }
351
353
357 static const char* GetStereoTypeAsString(int type);
359
364 virtual void StereoUpdate();
365
370 virtual void StereoMidpoint();
371
376 virtual void StereoRenderComplete();
377
379
386 vtkSetClampMacro(AnaglyphColorSaturation, float, 0.0f, 1.0f);
387 vtkGetMacro(AnaglyphColorSaturation, float);
389
391
405 vtkSetVector2Macro(AnaglyphColorMask, int);
406 vtkGetVectorMacro(AnaglyphColorMask, int, 2);
408
414 virtual void WindowRemap() {}
415
417
420 vtkSetMacro(SwapBuffers, vtkTypeBool);
421 vtkGetMacro(SwapBuffers, vtkTypeBool);
422 vtkBooleanMacro(SwapBuffers, vtkTypeBool);
424
426
438 virtual int SetPixelData(int /*x*/, int /*y*/, int /*x2*/, int /*y2*/, unsigned char* /*data*/,
439 int /*front*/, int /*right*/ = 0)
440 {
441 return 0;
442 }
443 virtual int SetPixelData(int /*x*/, int /*y*/, int /*x2*/, int /*y2*/,
444 vtkUnsignedCharArray* /*data*/, int /*front*/, int /*right*/ = 0)
445 {
446 return 0;
447 }
449
451
458 virtual float* GetRGBAPixelData(
459 int /*x*/, int /*y*/, int /*x2*/, int /*y2*/, int /*front*/, int /*right*/ = 0)
460 {
461 return nullptr;
462 }
463 virtual int GetRGBAPixelData(int /*x*/, int /*y*/, int /*x2*/, int /*y2*/, int /*front*/,
464 vtkFloatArray* /*data*/, int /*right*/ = 0)
465 {
466 return 0;
467 }
468 virtual int SetRGBAPixelData(int /*x*/, int /*y*/, int /*x2*/, int /*y2*/, float*, int /*front*/,
469 int /*blend*/ = 0, int /*right*/ = 0)
470 {
471 return 0;
472 }
473 virtual int SetRGBAPixelData(
474 int, int, int, int, vtkFloatArray*, int, int /*blend*/ = 0, int /*right*/ = 0)
475 {
476 return 0;
477 }
478 virtual void ReleaseRGBAPixelData(float* /*data*/) {}
479 virtual unsigned char* GetRGBACharPixelData(
480 int /*x*/, int /*y*/, int /*x2*/, int /*y2*/, int /*front*/, int /*right*/ = 0)
481 {
482 return nullptr;
483 }
484 virtual int GetRGBACharPixelData(int /*x*/, int /*y*/, int /*x2*/, int /*y2*/, int /*front*/,
485 vtkUnsignedCharArray* /*data*/, int /*right*/ = 0)
486 {
487 return 0;
488 }
489 virtual int SetRGBACharPixelData(int /*x*/, int /*y*/, int /*x2*/, int /*y2*/,
490 unsigned char* /*data*/, int /*front*/, int /*blend*/ = 0, int /*right*/ = 0)
491 {
492 return 0;
493 }
494 virtual int SetRGBACharPixelData(int /*x*/, int /*y*/, int /*x2*/, int /*y2*/,
495 vtkUnsignedCharArray* /*data*/, int /*front*/, int /*blend*/ = 0, int /*right*/ = 0)
496 {
497 return 0;
498 }
500
502
507 virtual float* GetZbufferData(int /*x*/, int /*y*/, int /*x2*/, int /*y2*/) { return nullptr; }
508 virtual int GetZbufferData(int /*x*/, int /*y*/, int /*x2*/, int /*y2*/, float* /*z*/)
509 {
510 return 0;
511 }
512 virtual int GetZbufferData(int /*x*/, int /*y*/, int /*x2*/, int /*y2*/, vtkFloatArray* /*z*/)
513 {
514 return 0;
515 }
516 virtual int SetZbufferData(int /*x*/, int /*y*/, int /*x2*/, int /*y2*/, float* /*z*/)
517 {
518 return 0;
519 }
520 virtual int SetZbufferData(int /*x*/, int /*y*/, int /*x2*/, int /*y2*/, vtkFloatArray* /*z*/)
521 {
522 return 0;
523 }
524 float GetZbufferDataAtPoint(int x, int y)
525 {
526 float value;
527 this->GetZbufferData(x, y, x, y, &value);
528 return value;
529 }
531
533
536 vtkGetMacro(NeverRendered, int);
538
540
544 vtkGetMacro(AbortRender, int);
545 vtkSetMacro(AbortRender, int);
546 vtkGetMacro(InAbortCheck, int);
547 vtkSetMacro(InAbortCheck, int);
548 virtual int CheckAbortStatus();
550
552
555 VTK_DEPRECATED_IN_9_0_0("Removed in 9.0")
556 vtkTypeBool GetIsPicking();
557 VTK_DEPRECATED_IN_9_0_0("Removed in 9.0")
558 void SetIsPicking(vtkTypeBool);
559 VTK_DEPRECATED_IN_9_0_0("Removed in 9.0")
560 void IsPickingOn();
561 VTK_DEPRECATED_IN_9_0_0("Removed in 9.0")
562 void IsPickingOff();
564
571 virtual vtkTypeBool GetEventPending() { return 0; }
572
576 virtual int CheckInRenderStatus() { return this->InRender; }
577
581 virtual void ClearInRenderStatus() { this->InRender = 0; }
582
584
592 virtual void SetDesiredUpdateRate(double);
593 vtkGetMacro(DesiredUpdateRate, double);
595
597
603 vtkGetMacro(NumberOfLayers, int);
604 vtkSetClampMacro(NumberOfLayers, int, 1, VTK_INT_MAX);
606
608
611 vtkGetObjectMacro(Interactor, vtkRenderWindowInteractor);
613
618
623 void UnRegister(vtkObjectBase* o) override;
624
626
629 void SetDisplayId(void*) override {}
630 void SetWindowId(void*) override {}
631 virtual void SetNextWindowId(void*) {}
632 void SetParentId(void*) override {}
633 void* GetGenericDisplayId() override { return nullptr; }
634 void* GetGenericWindowId() override { return nullptr; }
635 void* GetGenericParentId() override { return nullptr; }
636 void* GetGenericContext() override { return nullptr; }
637 void* GetGenericDrawable() override { return nullptr; }
638 void SetWindowInfo(const char*) override {}
639 virtual void SetNextWindowInfo(const char*) {}
640 void SetParentInfo(const char*) override {}
642
647 virtual bool InitializeFromCurrentContext() { return false; }
648
650
658 vtkGetObjectMacro(SharedRenderWindow, vtkRenderWindow);
659 virtual bool GetPlatformSupportsRenderWindowSharing() { return false; }
661
666 virtual bool IsCurrent() { return false; }
667
675 "Deprecated in 9.1 because no one knows what it's for and nothing uses it")
676 virtual bool IsDrawable();
677
683 virtual void SetForceMakeCurrent() {}
684
688 virtual const char* ReportCapabilities() { return "Not Implemented"; }
689
693 virtual int SupportsOpenGL() { return 0; }
694
698 virtual vtkTypeBool IsDirect() { return 0; }
699
704 virtual int GetDepthBufferSize() { return 0; }
705
710 virtual int GetColorBufferSizes(int* /*rgba*/) { return 0; }
711
713
717 virtual void SetMultiSamples(int);
718 vtkGetMacro(MultiSamples, int);
720
722
725 vtkSetMacro(StencilCapable, vtkTypeBool);
726 vtkGetMacro(StencilCapable, vtkTypeBool);
727 vtkBooleanMacro(StencilCapable, vtkTypeBool);
729
731
737 vtkSetMacro(DeviceIndex, int);
738 vtkGetMacro(DeviceIndex, int);
740
744 virtual int GetNumberOfDevices() { return 0; }
745
747
751 vtkGetMacro(UseSRGBColorSpace, bool);
752 vtkSetMacro(UseSRGBColorSpace, bool);
753 vtkBooleanMacro(UseSRGBColorSpace, bool);
755
756protected:
759
760 virtual void DoStereoRender();
761
766 int OldScreen[5];
786 int AnaglyphColorMask[2];
791
794
799
801
802private:
803 vtkRenderWindow(const vtkRenderWindow&) = delete;
804 void operator=(const vtkRenderWindow&) = delete;
805
806 vtkNew<vtkStereoCompositor> StereoCompositor;
807};
808
809#endif
create and manipulate ordered lists of objects
Definition: vtkCollection.h:53
dynamic, self-adjusting array of float
Definition: vtkFloatArray.h:36
a simple class to control print indentation
Definition: vtkIndent.h:34
Allocate and hold a VTK object.
Definition: vtkNew.h:56
abstract base class for most VTK objects
Definition: vtkObjectBase.h:70
abstract superclass for all actors, volumes and annotations
Definition: vtkProp.h:57
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 * GetGenericDrawable() override
Dummy stubs for vtkWindow API.
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.
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.
void SetStereoTypeToRedBlue()
Set/Get what type of stereo rendering to use.
vtkNew< vtkRenderTimerLog > RenderTimer
void SetParentInfo(const char *) override
Dummy stubs for vtkWindow API.
virtual void Finalize()
Finalize the rendering process.
vtkGetFilePathMacro(CursorFileName)
Set/Get the full path to the custom cursor.
void * GetGenericParentId() override
Dummy stubs for vtkWindow API.
virtual bool GetPlatformSupportsRenderWindowSharing()
Set/Get an already existing window that this window should share data with if possible.
virtual const char * GetRenderingBackend()
What rendering backend has the user requested.
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.
virtual const char * ReportCapabilities()
Get report of capabilities for the render window.
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.
static const char * GetStereoTypeAsString(int type)
Returns the stereo type as a string.
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.
static vtkRenderWindow * New()
Construct an instance of vtkRenderWindow with its screen size set to 300x300, borders turned on,...
void CaptureGL2PSSpecialProps(vtkCollection *specialProps)
The GL2PS exporter must handle certain props in a special way (e.g.
virtual int GetRGBACharPixelData(int, int, int, int, int, vtkUnsignedCharArray *, 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
virtual vtkRenderWindowInteractor * MakeRenderWindowInteractor()
Create an interactor to control renderers in this window.
~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.
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 float * GetZbufferData(int, int, int, int)
Set/Get the zbuffer data from the frame buffer.
void Render() override
Ask each renderer owned by this RenderWindow to render its image and synchronize this process.
void * GetGenericContext() override
Dummy stubs for vtkWindow API.
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.
void UnRegister(vtkObjectBase *o) override
This Method detects loops of RenderWindow<->Interactor, so objects are freed properly.
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.
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 unsigned char * GetRGBACharPixelData(int, int, int, int, int, int=0)
Same as Get/SetPixelData except that the image also contains an alpha component.
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
static const char * GetRenderLibrary()
What rendering library has the user requested.
void * GetGenericWindowId() override
Dummy stubs for vtkWindow API.
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...
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.
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 float * GetRGBAPixelData(int, int, int, int, int, int=0)
Same as Get/SetPixelData except that the image also contains an alpha component.
virtual vtkTypeBool IsDirect()
Is this render window using hardware acceleration? 0-false, 1-true.
vtkRendererCollection * GetRenderers()
Return the collection of renderers in the render window.
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
void * GetGenericDisplayId() override
Dummy stubs for vtkWindow API.
virtual bool IsCurrent()
Tells if this window is the current graphics context for the calling thread.
const char * GetStereoTypeAsString()
Returns the stereo type as a string.
an ordered list of renderers
abstract specification for renderers
Definition: vtkRenderer.h:73
Hold a reference to a vtkObjectBase instance.
helper class to generate composited stereo images.
dynamic, self-adjusting array of unsigned char
window superclass for vtkRenderWindow
Definition: vtkWindow.h:39
int vtkTypeBool
Definition: vtkABI.h:69
#define VTK_DEPRECATED_IN_9_1_0(reason)
#define VTK_DEPRECATED_IN_9_0_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