VTK  9.5.2
vtkRenderWindow.h
Go to the documentation of this file.
1// SPDX-FileCopyrightText: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
2// SPDX-License-Identifier: BSD-3-Clause
34
35#ifndef vtkRenderWindow_h
36#define vtkRenderWindow_h
37
38#include "vtkEventData.h" // for enums
39#include "vtkNew.h" // For vtkNew
40#include "vtkRenderingCoreModule.h" // For export macro
41#include "vtkSmartPointer.h" // For vtkSmartPointer
42#include "vtkWindow.h"
43#include "vtkWrappingHints.h" // For VTK_MARSHALAUTO
44
45VTK_ABI_NAMESPACE_BEGIN
46class vtkFloatArray;
47class vtkProp;
48class vtkCollection;
49class vtkMatrix4x4;
52class vtkRenderer;
56
57// lets define the different types of stereo
58#define VTK_STEREO_CRYSTAL_EYES 1
59#define VTK_STEREO_RED_BLUE 2
60#define VTK_STEREO_INTERLACED 3
61#define VTK_STEREO_LEFT 4
62#define VTK_STEREO_RIGHT 5
63#define VTK_STEREO_DRESDEN 6
64#define VTK_STEREO_ANAGLYPH 7
65#define VTK_STEREO_CHECKERBOARD 8
66#define VTK_STEREO_SPLITVIEWPORT_HORIZONTAL 9
67#define VTK_STEREO_FAKE 10
68#define VTK_STEREO_EMULATE 11
69#define VTK_STEREO_ZSPACE_INSPIRE 12
70
71#define VTK_CURSOR_DEFAULT 0
72#define VTK_CURSOR_ARROW 1
73#define VTK_CURSOR_SIZENE 2
74#define VTK_CURSOR_SIZENW 3
75#define VTK_CURSOR_SIZESW 4
76#define VTK_CURSOR_SIZESE 5
77#define VTK_CURSOR_SIZENS 6
78#define VTK_CURSOR_SIZEWE 7
79#define VTK_CURSOR_SIZEALL 8
80#define VTK_CURSOR_HAND 9
81#define VTK_CURSOR_CROSSHAIR 10
82#define VTK_CURSOR_CUSTOM 11
83
84class VTKRENDERINGCORE_EXPORT VTK_MARSHALAUTO vtkRenderWindow : public vtkWindow
85{
86public:
87 vtkTypeMacro(vtkRenderWindow, vtkWindow);
88 void PrintSelf(ostream& os, vtkIndent indent) override;
89
96
100 virtual void AddRenderer(vtkRenderer*);
101
106
111
115 static const char* GetRenderLibrary();
116
120 virtual const char* GetRenderingBackend();
121
126
131
140
142
145 vtkGetMacro(CapturingGL2PSSpecialProps, int);
147
152 void Render() override;
153
157 virtual void Start() {}
158
162 virtual void End() {}
163
169 virtual void Initialize() {}
170
172
175 vtkGetMacro(Initialized, bool);
177
181 virtual void Finalize() {}
182
187 virtual void Frame() {}
188
193 virtual void WaitForCompletion() {}
194
199 virtual void CopyResultFrame();
200
207
209
215 virtual void HideCursor() {}
216 virtual void ShowCursor() {}
217 virtual void SetCursorPosition(int, int) {}
219
221
224 vtkSetMacro(CurrentCursor, int);
225 vtkGetMacro(CurrentCursor, int);
227
229
236
238
241 virtual void SetFullScreen(vtkTypeBool) {}
242 vtkGetMacro(FullScreen, vtkTypeBool);
243 vtkBooleanMacro(FullScreen, vtkTypeBool);
245
247
252 vtkSetMacro(Borders, vtkTypeBool);
253 vtkGetMacro(Borders, vtkTypeBool);
254 vtkBooleanMacro(Borders, vtkTypeBool);
256
258
262 vtkGetMacro(Coverable, vtkTypeBool);
263 vtkBooleanMacro(Coverable, vtkTypeBool);
264 virtual void SetCoverable(vtkTypeBool coverable);
266
268
274 virtual void SetStereoCapableWindow(vtkTypeBool capable);
276
278
299 vtkGetMacro(StereoType, int);
300 void SetStereoType(int);
316
318
322 static const char* GetStereoTypeAsString(int type);
324
326
331 vtkBooleanMacro(StereoRender, vtkTypeBool);
333
335
340 vtkBooleanMacro(AlphaBitPlanes, vtkTypeBool);
342
344
350 vtkBooleanMacro(PointSmoothing, vtkTypeBool);
352
354
360 vtkBooleanMacro(LineSmoothing, vtkTypeBool);
362
364
370 vtkBooleanMacro(PolygonSmoothing, vtkTypeBool);
372
377 virtual void StereoUpdate();
378
383 virtual void StereoMidpoint();
384
389 virtual void StereoRenderComplete();
390
392
399 vtkSetClampMacro(AnaglyphColorSaturation, float, 0.0f, 1.0f);
400 vtkGetMacro(AnaglyphColorSaturation, float);
402
404
418 vtkSetVector2Macro(AnaglyphColorMask, int);
419 vtkGetVectorMacro(AnaglyphColorMask, int, 2);
421
427 virtual void WindowRemap() {}
428
430
435 vtkBooleanMacro(SwapBuffers, vtkTypeBool);
437
439
451 virtual int SetPixelData(int /*x*/, int /*y*/, int /*x2*/, int /*y2*/, unsigned char* /*data*/,
452 int /*front*/, int /*right*/ = 0)
453 {
454 return 0;
455 }
456 virtual int SetPixelData(int /*x*/, int /*y*/, int /*x2*/, int /*y2*/,
457 vtkUnsignedCharArray* /*data*/, int /*front*/, int /*right*/ = 0)
458 {
459 return 0;
460 }
461
462
464
471 virtual float* GetRGBAPixelData(
472 int /*x*/, int /*y*/, int /*x2*/, int /*y2*/, int /*front*/, int /*right*/ = 0)
473 {
474 return nullptr;
475 }
476 virtual int GetRGBAPixelData(int /*x*/, int /*y*/, int /*x2*/, int /*y2*/, int /*front*/,
477 vtkFloatArray* /*data*/, int /*right*/ = 0)
478 {
479 return 0;
480 }
481 virtual int SetRGBAPixelData(int /*x*/, int /*y*/, int /*x2*/, int /*y2*/, float*, int /*front*/,
482 int /*blend*/ = 0, int /*right*/ = 0)
483 {
484 return 0;
485 }
486 virtual int SetRGBAPixelData(
487 int, int, int, int, vtkFloatArray*, int, int /*blend*/ = 0, int /*right*/ = 0)
488 {
489 return 0;
490 }
491 virtual void ReleaseRGBAPixelData(float* /*data*/) {}
492 virtual unsigned char* GetRGBACharPixelData(
493 int /*x*/, int /*y*/, int /*x2*/, int /*y2*/, int /*front*/, int /*right*/ = 0)
494 {
495 return nullptr;
496 }
497 virtual int GetRGBACharPixelData(int /*x*/, int /*y*/, int /*x2*/, int /*y2*/, int /*front*/,
498 vtkUnsignedCharArray* /*data*/, int /*right*/ = 0)
499 {
500 return 0;
501 }
502 virtual int SetRGBACharPixelData(int /*x*/, int /*y*/, int /*x2*/, int /*y2*/,
503 unsigned char* /*data*/, int /*front*/, int /*blend*/ = 0, int /*right*/ = 0)
504 {
505 return 0;
506 }
507 virtual int SetRGBACharPixelData(int /*x*/, int /*y*/, int /*x2*/, int /*y2*/,
508 vtkUnsignedCharArray* /*data*/, int /*front*/, int /*blend*/ = 0, int /*right*/ = 0)
509 {
510 return 0;
511 }
512
513
515
520 virtual float* GetZbufferData(int /*x*/, int /*y*/, int /*x2*/, int /*y2*/) { return nullptr; }
521 virtual int GetZbufferData(int /*x*/, int /*y*/, int /*x2*/, int /*y2*/, float* /*z*/)
522 {
523 return 0;
524 }
525 virtual int GetZbufferData(int /*x*/, int /*y*/, int /*x2*/, int /*y2*/, vtkFloatArray* /*z*/)
526 {
527 return 0;
528 }
529 virtual int SetZbufferData(int /*x*/, int /*y*/, int /*x2*/, int /*y2*/, float* /*z*/)
530 {
531 return 0;
532 }
533 virtual int SetZbufferData(int /*x*/, int /*y*/, int /*x2*/, int /*y2*/, vtkFloatArray* /*z*/)
534 {
535 return 0;
536 }
537 float GetZbufferDataAtPoint(int x, int y)
538 {
539 float value = 1.0f;
540 this->GetZbufferData(x, y, x, y, &value);
541 return value;
542 }
543
544
546
549 vtkGetMacro(NeverRendered, int);
551
553
557 vtkGetMacro(AbortRender, int);
558 vtkSetMacro(AbortRender, int);
559 vtkGetMacro(InAbortCheck, int);
560 vtkSetMacro(InAbortCheck, int);
561 virtual int CheckAbortStatus();
563
570 virtual vtkTypeBool GetEventPending() { return 0; }
571
575 virtual int CheckInRenderStatus() { return this->InRender; }
576
580 virtual void ClearInRenderStatus() { this->InRender = 0; }
581
583
591 virtual void SetDesiredUpdateRate(double);
592 vtkGetMacro(DesiredUpdateRate, double);
594
596
602 vtkGetMacro(NumberOfLayers, int);
603 vtkSetClampMacro(NumberOfLayers, int, 1, VTK_INT_MAX);
605
607
612
617
622 void UnRegister(vtkObjectBase* o) override;
623
625
628 void SetDisplayId(void*) override {}
629 void SetWindowId(void*) override {}
630 virtual void SetNextWindowId(void*) {}
631 void SetParentId(void*) override {}
632 void* GetGenericDisplayId() override { return nullptr; }
633 void* GetGenericWindowId() override { return nullptr; }
634 void* GetGenericParentId() override { return nullptr; }
635 void* GetGenericContext() override { return nullptr; }
636 void* GetGenericDrawable() override { return nullptr; }
637 void SetWindowInfo(const char*) override {}
638 virtual void SetNextWindowInfo(const char*) {}
639 void SetParentInfo(const char*) override {}
641
646 virtual bool InitializeFromCurrentContext() { return false; }
647
649
658 virtual bool GetPlatformSupportsRenderWindowSharing() { return false; }
660
665 virtual bool IsCurrent() { return false; }
666
672 virtual void SetForceMakeCurrent() {}
673
677 virtual const char* ReportCapabilities() { return "Not Implemented"; }
678
682 virtual int SupportsOpenGL() { return 0; }
683
687 virtual vtkTypeBool IsDirect() { return 0; }
688
693 virtual int GetDepthBufferSize() { return 0; }
694
699 virtual int GetColorBufferSizes(int* /*rgba*/) { return 0; }
700
702
707 virtual void SetMultiSamples(int);
708 vtkGetMacro(MultiSamples, int);
710
712
717 vtkBooleanMacro(StencilCapable, vtkTypeBool);
719
721
727 vtkSetMacro(DeviceIndex, int);
728 vtkGetMacro(DeviceIndex, int);
730
734 virtual int GetNumberOfDevices() { return 0; }
735
737
741 vtkGetMacro(UseSRGBColorSpace, bool);
742 vtkSetMacro(UseSRGBColorSpace, bool);
743 vtkBooleanMacro(UseSRGBColorSpace, bool);
745
746 enum
747 {
749 };
750
752
760 virtual void SetPhysicalViewDirection(double, double, double);
761 virtual void SetPhysicalViewDirection(double[3]);
762 vtkGetVector3Macro(PhysicalViewDirection, double);
764
766
774 virtual void SetPhysicalViewUp(double, double, double);
775 virtual void SetPhysicalViewUp(double[3]);
776 vtkGetVector3Macro(PhysicalViewUp, double);
778
780
788 virtual void SetPhysicalTranslation(double, double, double);
789 virtual void SetPhysicalTranslation(double[3]);
790 vtkGetVector3Macro(PhysicalTranslation, double);
792
794
803 virtual void SetPhysicalScale(double);
804 vtkGetMacro(PhysicalScale, double);
806
814
821
829 vtkEventDataDevice device, vtkMatrix4x4* deviceToWorldMatrix);
830
832
838 vtkGetMacro(EnableTranslucentSurface, bool);
839 vtkSetMacro(EnableTranslucentSurface, bool);
840 vtkBooleanMacro(EnableTranslucentSurface, bool);
842
843protected:
845 ~vtkRenderWindow() override;
846
847 virtual void DoStereoRender();
848
854 int OldScreen[5];
879
882
887
889
890 // -Z axis of the Physical to World matrix
891 double PhysicalViewDirection[3] = { 0.0, 0.0, -1.0 };
892 // Y axis of the Physical to World matrix
893 double PhysicalViewUp[3] = { 0.0, 1.0, 0.0 };
894 // Inverse of the translation component of the Physical to World matrix, in mm
895 double PhysicalTranslation[3] = { 0.0, 0.0, 0.0 };
896 // Scale of the Physical to World matrix
897 double PhysicalScale = 1.0;
898
900
901 bool Initialized = false;
902
903private:
904 vtkRenderWindow(const vtkRenderWindow&) = delete;
905 void operator=(const vtkRenderWindow&) = delete;
906
907 vtkNew<vtkStereoCompositor> StereoCompositor;
908};
909
910VTK_ABI_NAMESPACE_END
911#endif
create and manipulate ordered lists of objects
dynamic, self-adjusting array of float
a simple class to control print indentation
Definition vtkIndent.h:29
represent and manipulate 4x4 transformation matrices
Allocate and hold a VTK object.
Definition vtkNew.h:58
abstract superclass for all actors, volumes and annotations
Definition vtkProp.h:44
Asynchronously measures GPU execution times for a series of events.
platform-independent render window interaction including picking and frame rate control.
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 void SetPhysicalViewUp(double, double, double)
Set/get physical coordinate system in world coordinate system.
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 void SetPhysicalTranslation(double, double, double)
Set/get physical coordinate system in world coordinate system.
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.
virtual void Initialize()
Initializes the rendering process.
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 void SetPhysicalTranslation(double[3])
Set/get physical coordinate system in world coordinate system.
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 GetPhysicalToWorldMatrix(vtkMatrix4x4 *matrix)
Get physical to world transform matrix.
virtual void Frame()
A termination method performed at the end of the rendering process to do things like swapping buffers...
vtkTypeBool LineSmoothing
virtual void SetCoverable(vtkTypeBool coverable)
Set/Get whether windows should be coverable (as opposed to always on top).
double PhysicalTranslation[3]
vtkRenderWindowInteractor * Interactor
void SetStereoTypeToFake()
Set/Get what type of stereo rendering to use.
virtual bool GetDeviceToWorldMatrixForDevice(vtkEventDataDevice device, vtkMatrix4x4 *deviceToWorldMatrix)
Store in deviceToWorldMatrix the matrix that goes from device coordinates to world coordinates.
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.
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.
vtkTypeBool HasRenderer(vtkRenderer *)
Query if a renderer is in the list of renderers.
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.
virtual void SetPhysicalToWorldMatrix(vtkMatrix4x4 *matrix)
Set physical to world transform matrix.
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 void SetPhysicalViewDirection(double, double, double)
Set/get physical coordinate system in world coordinate system.
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.
vtkTypeBool Coverable
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 void SetPhysicalViewDirection(double[3])
Set/get physical coordinate system in world coordinate system.
virtual int CheckAbortStatus()
This is a flag that can be set to interrupt a rendering that is in progress.
virtual void SetForceMakeCurrent()
If called, allow MakeCurrent() to skip cache-check when called.
void SetWindowId(void *) override
Dummy stubs for vtkWindow API.
virtual void SetPhysicalViewUp(double[3])
Set/get physical coordinate system in world coordinate system.
void SetStereoTypeToCheckerboard()
Set/Get what type of stereo rendering to use.
double PhysicalViewDirection[3]
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?
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...
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.
vtkSetFilePathMacro(CursorFileName)
Set/Get the full path to the custom cursor.
void SetStereoTypeToSplitViewportHorizontal()
Set/Get what type of stereo rendering to use.
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?
vtkRendererCollection * GetRenderers()
Return the collection of renderers in the render window.
void SetStereoTypeToCrystalEyes()
Set/Get what type of stereo rendering to use.
vtkTypeBool SwapBuffers
double PhysicalViewUp[3]
virtual void SetPhysicalScale(double)
Set/get physical coordinate system in world coordinate system.
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:60
Hold a reference to a vtkObjectBase instance.
helper class to generate composited stereo images.
dynamic, self-adjusting array of unsigned char
int vtkTypeBool
Definition vtkABI.h:64
vtkEventDataDevice
platform-independent event data structures
#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:161
#define VTK_MARSHAL_EXCLUDE_REASON_IS_INTERNAL
#define VTK_MARSHALAUTO
#define VTK_MARSHALEXCLUDE(reason)