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
143
144#ifndef vtkRenderWindow_h
145#define vtkRenderWindow_h
146
147#include "vtkEventData.h" // for enums
148#include "vtkNew.h" // For vtkNew
149#include "vtkRenderingCoreModule.h" // For export macro
150#include "vtkSmartPointer.h" // For vtkSmartPointer
151#include "vtkWindow.h"
152#include "vtkWrappingHints.h" // For VTK_MARSHALAUTO
153
154VTK_ABI_NAMESPACE_BEGIN
155class vtkFloatArray;
156class vtkProp;
157class vtkCollection;
158class vtkMatrix4x4;
161class vtkRenderer;
165
166// lets define the different types of stereo
167#define VTK_STEREO_CRYSTAL_EYES 1
168#define VTK_STEREO_RED_BLUE 2
169#define VTK_STEREO_INTERLACED 3
170#define VTK_STEREO_LEFT 4
171#define VTK_STEREO_RIGHT 5
172#define VTK_STEREO_DRESDEN 6
173#define VTK_STEREO_ANAGLYPH 7
174#define VTK_STEREO_CHECKERBOARD 8
175#define VTK_STEREO_SPLITVIEWPORT_HORIZONTAL 9
176#define VTK_STEREO_FAKE 10
177#define VTK_STEREO_EMULATE 11
178#define VTK_STEREO_ZSPACE_INSPIRE 12
179
180#define VTK_CURSOR_DEFAULT 0
181#define VTK_CURSOR_ARROW 1
182#define VTK_CURSOR_SIZENE 2
183#define VTK_CURSOR_SIZENW 3
184#define VTK_CURSOR_SIZESW 4
185#define VTK_CURSOR_SIZESE 5
186#define VTK_CURSOR_SIZENS 6
187#define VTK_CURSOR_SIZEWE 7
188#define VTK_CURSOR_SIZEALL 8
189#define VTK_CURSOR_HAND 9
190#define VTK_CURSOR_CROSSHAIR 10
191#define VTK_CURSOR_CUSTOM 11
192
193class VTKRENDERINGCORE_EXPORT VTK_MARSHALAUTO vtkRenderWindow : public vtkWindow
194{
195public:
197 void PrintSelf(ostream& os, vtkIndent indent) override;
198
205
209 virtual void AddRenderer(vtkRenderer*);
210
215
220
224 static const char* GetRenderLibrary();
225
229 virtual const char* GetRenderingBackend();
230
235
240
249
251
254 vtkGetMacro(CapturingGL2PSSpecialProps, int);
256
261 void Render() override;
262
266 virtual void Start() {}
267
271 virtual void End() {}
272
278 virtual void Initialize() {}
279
281
284 vtkGetMacro(Initialized, bool);
286
290 virtual void Finalize() {}
291
296 virtual void Frame() {}
297
302 virtual void WaitForCompletion() {}
303
308 virtual void CopyResultFrame();
309
316
318
324 virtual void HideCursor() {}
325 virtual void ShowCursor() {}
326 virtual void SetCursorPosition(int, int) {}
328
330
333 vtkSetMacro(CurrentCursor, int);
334 vtkGetMacro(CurrentCursor, int);
336
338
345
347
350 virtual void SetFullScreen(vtkTypeBool) {}
351 vtkGetMacro(FullScreen, vtkTypeBool);
352 vtkBooleanMacro(FullScreen, vtkTypeBool);
354
356
361 vtkSetMacro(Borders, vtkTypeBool);
362 vtkGetMacro(Borders, vtkTypeBool);
363 vtkBooleanMacro(Borders, vtkTypeBool);
365
367
371 vtkGetMacro(Coverable, vtkTypeBool);
372 vtkBooleanMacro(Coverable, vtkTypeBool);
373 virtual void SetCoverable(vtkTypeBool coverable);
375
377
383 virtual void SetStereoCapableWindow(vtkTypeBool capable);
385
387
408 vtkGetMacro(StereoType, int);
409 void SetStereoType(int);
425
427
431 static const char* GetStereoTypeAsString(int type);
433
435
440 vtkBooleanMacro(StereoRender, vtkTypeBool);
442
444
449 vtkBooleanMacro(AlphaBitPlanes, vtkTypeBool);
451
453
459 vtkBooleanMacro(PointSmoothing, vtkTypeBool);
461
463
469 vtkBooleanMacro(LineSmoothing, vtkTypeBool);
471
473
479 vtkBooleanMacro(PolygonSmoothing, vtkTypeBool);
481
486 virtual void StereoUpdate();
487
492 virtual void StereoMidpoint();
493
498 virtual void StereoRenderComplete();
499
501
508 vtkSetClampMacro(AnaglyphColorSaturation, float, 0.0f, 1.0f);
509 vtkGetMacro(AnaglyphColorSaturation, float);
511
513
527 vtkSetVector2Macro(AnaglyphColorMask, int);
528 vtkGetVectorMacro(AnaglyphColorMask, int, 2);
530
536 virtual void WindowRemap() {}
537
539
544 vtkBooleanMacro(SwapBuffers, vtkTypeBool);
546
548
560 virtual int SetPixelData(int /*x*/, int /*y*/, int /*x2*/, int /*y2*/, unsigned char* /*data*/,
561 int /*front*/, int /*right*/ = 0)
562 {
563 return 0;
564 }
565 virtual int SetPixelData(int /*x*/, int /*y*/, int /*x2*/, int /*y2*/,
566 vtkUnsignedCharArray* /*data*/, int /*front*/, int /*right*/ = 0)
567 {
568 return 0;
569 }
570
571
573
580 virtual float* GetRGBAPixelData(
581 int /*x*/, int /*y*/, int /*x2*/, int /*y2*/, int /*front*/, int /*right*/ = 0)
582 {
583 return nullptr;
584 }
585 virtual int GetRGBAPixelData(int /*x*/, int /*y*/, int /*x2*/, int /*y2*/, int /*front*/,
586 vtkFloatArray* /*data*/, int /*right*/ = 0)
587 {
588 return 0;
589 }
590 virtual int SetRGBAPixelData(int /*x*/, int /*y*/, int /*x2*/, int /*y2*/, float*, int /*front*/,
591 int /*blend*/ = 0, int /*right*/ = 0)
592 {
593 return 0;
594 }
595 virtual int SetRGBAPixelData(
596 int, int, int, int, vtkFloatArray*, int, int /*blend*/ = 0, int /*right*/ = 0)
597 {
598 return 0;
599 }
600 virtual void ReleaseRGBAPixelData(float* /*data*/) {}
601 virtual unsigned char* GetRGBACharPixelData(
602 int /*x*/, int /*y*/, int /*x2*/, int /*y2*/, int /*front*/, int /*right*/ = 0)
603 {
604 return nullptr;
605 }
606 virtual int GetRGBACharPixelData(int /*x*/, int /*y*/, int /*x2*/, int /*y2*/, int /*front*/,
607 vtkUnsignedCharArray* /*data*/, int /*right*/ = 0)
608 {
609 return 0;
610 }
611 virtual int SetRGBACharPixelData(int /*x*/, int /*y*/, int /*x2*/, int /*y2*/,
612 unsigned char* /*data*/, int /*front*/, int /*blend*/ = 0, int /*right*/ = 0)
613 {
614 return 0;
615 }
616 virtual int SetRGBACharPixelData(int /*x*/, int /*y*/, int /*x2*/, int /*y2*/,
617 vtkUnsignedCharArray* /*data*/, int /*front*/, int /*blend*/ = 0, int /*right*/ = 0)
618 {
619 return 0;
620 }
621
622
624
629 virtual float* GetZbufferData(int /*x*/, int /*y*/, int /*x2*/, int /*y2*/) { return nullptr; }
630 virtual int GetZbufferData(int /*x*/, int /*y*/, int /*x2*/, int /*y2*/, float* /*z*/)
631 {
632 return 0;
633 }
634 virtual int GetZbufferData(int /*x*/, int /*y*/, int /*x2*/, int /*y2*/, vtkFloatArray* /*z*/)
635 {
636 return 0;
637 }
638 virtual int SetZbufferData(int /*x*/, int /*y*/, int /*x2*/, int /*y2*/, float* /*z*/)
639 {
640 return 0;
641 }
642 virtual int SetZbufferData(int /*x*/, int /*y*/, int /*x2*/, int /*y2*/, vtkFloatArray* /*z*/)
643 {
644 return 0;
645 }
646 float GetZbufferDataAtPoint(int x, int y)
647 {
648 float value = 1.0f;
649 this->GetZbufferData(x, y, x, y, &value);
650 return value;
651 }
652
653
655
658 vtkGetMacro(NeverRendered, int);
660
662
666 vtkGetMacro(AbortRender, int);
667 vtkSetMacro(AbortRender, int);
668 vtkGetMacro(InAbortCheck, int);
669 vtkSetMacro(InAbortCheck, int);
670 virtual int CheckAbortStatus();
672
679 virtual vtkTypeBool GetEventPending() { return 0; }
680
684 virtual int CheckInRenderStatus() { return this->InRender; }
685
689 virtual void ClearInRenderStatus() { this->InRender = 0; }
690
692
700 virtual void SetDesiredUpdateRate(double);
701 vtkGetMacro(DesiredUpdateRate, double);
703
705
711 vtkGetMacro(NumberOfLayers, int);
712 vtkSetClampMacro(NumberOfLayers, int, 1, VTK_INT_MAX);
714
716
721
726
731 void UnRegister(vtkObjectBase* o) override;
732
734
737 void SetDisplayId(void*) override {}
738 void SetWindowId(void*) override {}
739 virtual void SetNextWindowId(void*) {}
740 void SetParentId(void*) override {}
741 void* GetGenericDisplayId() override { return nullptr; }
742 void* GetGenericWindowId() override { return nullptr; }
743 void* GetGenericParentId() override { return nullptr; }
744 void* GetGenericContext() override { return nullptr; }
745 void* GetGenericDrawable() override { return nullptr; }
746 void SetWindowInfo(const char*) override {}
747 virtual void SetNextWindowInfo(const char*) {}
748 void SetParentInfo(const char*) override {}
750
755 virtual bool InitializeFromCurrentContext() { return false; }
756
758
767 virtual bool GetPlatformSupportsRenderWindowSharing() { return false; }
769
774 virtual bool IsCurrent() { return false; }
775
781 virtual void SetForceMakeCurrent() {}
782
786 virtual const char* ReportCapabilities() { return "Not Implemented"; }
787
791 virtual int SupportsOpenGL() { return 0; }
792
796 virtual vtkTypeBool IsDirect() { return 0; }
797
802 virtual int GetDepthBufferSize() { return 0; }
803
808 virtual int GetColorBufferSizes(int* /*rgba*/) { return 0; }
809
811
816 virtual void SetMultiSamples(int);
817 vtkGetMacro(MultiSamples, int);
819
821
826 vtkBooleanMacro(StencilCapable, vtkTypeBool);
828
830
836 vtkSetMacro(DeviceIndex, int);
837 vtkGetMacro(DeviceIndex, int);
839
843 virtual int GetNumberOfDevices() { return 0; }
844
846
850 vtkGetMacro(UseSRGBColorSpace, bool);
851 vtkSetMacro(UseSRGBColorSpace, bool);
852 vtkBooleanMacro(UseSRGBColorSpace, bool);
854
855 enum
856 {
858 };
859
861
869 virtual void SetPhysicalViewDirection(double, double, double);
870 virtual void SetPhysicalViewDirection(double[3]);
871 vtkGetVector3Macro(PhysicalViewDirection, double);
873
875
883 virtual void SetPhysicalViewUp(double, double, double);
884 virtual void SetPhysicalViewUp(double[3]);
885 vtkGetVector3Macro(PhysicalViewUp, double);
887
889
897 virtual void SetPhysicalTranslation(double, double, double);
898 virtual void SetPhysicalTranslation(double[3]);
899 vtkGetVector3Macro(PhysicalTranslation, double);
901
903
912 virtual void SetPhysicalScale(double);
913 vtkGetMacro(PhysicalScale, double);
915
923
930
938 vtkEventDataDevice device, vtkMatrix4x4* deviceToWorldMatrix);
939
941
947 vtkGetMacro(EnableTranslucentSurface, bool);
948 vtkSetMacro(EnableTranslucentSurface, bool);
949 vtkBooleanMacro(EnableTranslucentSurface, bool);
951
952protected:
954 ~vtkRenderWindow() override;
955
956 virtual void DoStereoRender();
957
963 int OldScreen[5];
988
991
996
998
999 // -Z axis of the Physical to World matrix
1000 double PhysicalViewDirection[3] = { 0.0, 0.0, -1.0 };
1001 // Y axis of the Physical to World matrix
1002 double PhysicalViewUp[3] = { 0.0, 1.0, 0.0 };
1003 // Inverse of the translation component of the Physical to World matrix, in mm
1004 double PhysicalTranslation[3] = { 0.0, 0.0, 0.0 };
1005 // Scale of the Physical to World matrix
1006 double PhysicalScale = 1.0;
1007
1009
1010 bool Initialized = false;
1011
1012private:
1013 vtkRenderWindow(const vtkRenderWindow&) = delete;
1014 void operator=(const vtkRenderWindow&) = delete;
1015
1016 vtkNew<vtkStereoCompositor> StereoCompositor;
1017};
1018
1019VTK_ABI_NAMESPACE_END
1020#endif
create and manipulate ordered lists of objects
dynamic, self-adjusting array of float
a simple class to control print indentation
Definition vtkIndent.h:108
represent and manipulate 4x4 transformation matrices
Allocate and hold a VTK object.
Definition vtkNew.h:167
abstract superclass for all actors, volumes and annotations
Definition vtkProp.h:63
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
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
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)