VTK  9.4.20251203
vtkRenderer.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
29#ifndef vtkRenderer_h
30#define vtkRenderer_h
31
32#include "vtkRenderingCoreModule.h" // For export macro
33#include "vtkViewport.h"
34#include "vtkWrappingHints.h" // For VTK_MARSHALAUTO
35
36#include "vtkActorCollection.h" // Needed for access in inline members
37#include "vtkVolumeCollection.h" // Needed for access in inline members
38
39#include <array> // To store matrices
40
41VTK_ABI_NAMESPACE_BEGIN
42class vtkFXAAOptions;
43class vtkRenderWindow;
44class vtkVolume;
45class vtkCuller;
46class vtkActor;
47class vtkActor2D;
48class vtkCamera;
50class vtkInformation;
53class vtkLight;
56class vtkRenderPass;
57class vtkTexture;
58
59class vtkRecti;
60class vtkVector3d;
61
62class VTKRENDERINGCORE_EXPORT VTK_MARSHALAUTO vtkRenderer : public vtkViewport
63{
64public:
65 vtkTypeMacro(vtkRenderer, vtkViewport);
66 void PrintSelf(ostream& os, vtkIndent indent) override;
67
73 static vtkRenderer* New();
74
76
82 void AddActor(vtkProp* p);
84 void AddVolume(vtkProp* p);
86 void RemoveActor(vtkProp* p);
88 void RemoveVolume(vtkProp* p);
90
95 void AddLight(vtkLight*);
96
101 void RemoveLight(vtkLight*);
102
107 void RemoveAllLights();
108
112 vtkLightCollection* GetLights();
113
120 void SetLightCollection(vtkLightCollection* lights);
121
125 void CreateLight();
126
132 virtual vtkLight* MakeLight();
133
135
141 vtkGetMacro(TwoSidedLighting, vtkTypeBool);
142 vtkSetMacro(TwoSidedLighting, vtkTypeBool);
143 vtkBooleanMacro(TwoSidedLighting, vtkTypeBool);
145
147
160 vtkSetMacro(LightFollowCamera, vtkTypeBool);
161 vtkGetMacro(LightFollowCamera, vtkTypeBool);
162 vtkBooleanMacro(LightFollowCamera, vtkTypeBool);
164
166
174 vtkGetMacro(AutomaticLightCreation, vtkTypeBool);
175 vtkSetMacro(AutomaticLightCreation, vtkTypeBool);
176 vtkBooleanMacro(AutomaticLightCreation, vtkTypeBool);
178
184 virtual vtkTypeBool UpdateLightsGeometryToFollowCamera();
185
190 vtkVolumeCollection* GetVolumes();
191
196 vtkActorCollection* GetActors();
197
201 void SetActiveCamera(vtkCamera*);
202
208 vtkCamera* GetActiveCamera();
209
215 virtual vtkCamera* MakeCamera();
216
218
224 vtkSetMacro(Erase, vtkTypeBool);
225 vtkGetMacro(Erase, vtkTypeBool);
226 vtkBooleanMacro(Erase, vtkTypeBool);
228
230
235 vtkSetMacro(Draw, vtkTypeBool);
236 vtkGetMacro(Draw, vtkTypeBool);
237 vtkBooleanMacro(Draw, vtkTypeBool);
239
244 int CaptureGL2PSSpecialProp(vtkProp*);
245
251 void SetGL2PSSpecialPropCollection(vtkPropCollection*);
252
257 void AddCuller(vtkCuller*);
258
263 void RemoveCuller(vtkCuller*);
264
268 vtkCullerCollection* GetCullers();
269
271
274 vtkSetVector3Macro(Ambient, double);
275 vtkGetVectorMacro(Ambient, double, 3);
277
279
283 vtkSetMacro(AllocatedRenderTime, double);
284 virtual double GetAllocatedRenderTime();
286
293 virtual double GetTimeFactor();
294
301 virtual void Render();
302
306 virtual void DeviceRender() {}
307
315
326
331 virtual void ClearLights() {}
332
336 virtual void Clear() {}
337
342
347
352 void ComputeVisiblePropBounds(double bounds[6]);
353
358
363 virtual void ResetCameraClippingRange();
364
366
369 virtual void ResetCameraClippingRange(const double bounds[6]);
370 virtual void ResetCameraClippingRange(
371 double xmin, double xmax, double ymin, double ymax, double zmin, double zmax);
373
375
380 vtkSetClampMacro(NearClippingPlaneTolerance, double, 0, 0.99);
381 vtkGetMacro(NearClippingPlaneTolerance, double);
383
385
390 vtkSetClampMacro(ClippingRangeExpansion, double, 0, 0.99);
391 vtkGetMacro(ClippingRangeExpansion, double);
393
400 virtual void ResetCamera();
401
411 virtual void ResetCamera(const double bounds[6]);
412
416 virtual void ResetCamera(
417 double xmin, double xmax, double ymin, double ymax, double zmin, double zmax);
418
426 virtual void ResetCameraScreenSpace(double offsetRatio = 0.9);
427
436 virtual void ResetCameraScreenSpace(const double bounds[6], double offsetRatio = 0.9);
437
438 using vtkViewport::DisplayToWorld;
439
443 vtkVector3d DisplayToWorld(const vtkVector3d& display);
444
450 void ZoomToBoxUsingViewAngle(const vtkRecti& box, double offsetRatio = 1.0);
451
458 virtual void ResetCameraScreenSpace(double xmin, double xmax, double ymin, double ymax,
459 double zmin, double zmax, double offsetRatio = 0.9);
460
462
467 void SetRenderWindow(vtkRenderWindow*);
468 vtkRenderWindow* GetRenderWindow() { return this->RenderWindow; }
471
473
479 vtkSetMacro(BackingStore, vtkTypeBool);
480 vtkGetMacro(BackingStore, vtkTypeBool);
481 vtkBooleanMacro(BackingStore, vtkTypeBool);
483
485
490 vtkSetMacro(Interactive, vtkTypeBool);
491 vtkGetMacro(Interactive, vtkTypeBool);
492 vtkBooleanMacro(Interactive, vtkTypeBool);
494
496
507 virtual void SetLayer(int layer);
508 vtkGetMacro(Layer, int);
510
512
522 vtkGetMacro(PreserveColorBuffer, vtkTypeBool);
523 vtkSetMacro(PreserveColorBuffer, vtkTypeBool);
524 vtkBooleanMacro(PreserveColorBuffer, vtkTypeBool);
526
528
532 vtkSetMacro(PreserveDepthBuffer, vtkTypeBool);
533 vtkGetMacro(PreserveDepthBuffer, vtkTypeBool);
534 vtkBooleanMacro(PreserveDepthBuffer, vtkTypeBool);
536
542
546 void WorldToView() override;
547
549
552 void ViewToWorld() override;
553 void ViewToWorld(double& wx, double& wy, double& wz) override;
555
559 void WorldToView(double& wx, double& wy, double& wz) override;
560
562
565 void WorldToPose(double& wx, double& wy, double& wz) override;
566 void PoseToWorld(double& wx, double& wy, double& wz) override;
567 void ViewToPose(double& wx, double& wy, double& wz) override;
568 void PoseToView(double& wx, double& wy, double& wz) override;
570
580 double GetZ(int x, int y);
581
583
590 vtkSetMacro(SafeGetZ, bool);
591 vtkGetMacro(SafeGetZ, bool);
592 vtkBooleanMacro(SafeGetZ, bool);
594
599
601
604 vtkGetMacro(LastRenderTimeInSeconds, double);
606
608
614 vtkGetMacro(NumberOfPropsRendered, int);
616
618
625 vtkAssemblyPath* PickProp(double selectionX, double selectionY) override
626 {
627 return this->PickProp(selectionX, selectionY, selectionX, selectionY);
628 }
630 double selectionX1, double selectionY1, double selectionX2, double selectionY2) override;
632
634
644 vtkAssemblyPath* PickProp(double selectionX, double selectionY, int fieldAssociation,
645 vtkSmartPointer<vtkSelection> selection) override
646 {
647 return this->PickProp(
648 selectionX, selectionY, selectionX, selectionY, fieldAssociation, selection);
649 }
650 vtkAssemblyPath* PickProp(double selectionX1, double selectionY1, double selectionX2,
651 double selectionY2, int fieldAssociation, vtkSmartPointer<vtkSelection> selection) override;
653
659 virtual void StereoMidpoint() {}
660
668
674 vtkTypeBool IsActiveCameraCreated() { return (this->ActiveCamera != nullptr); }
675
677
687 vtkSetMacro(UseDepthPeeling, vtkTypeBool);
688 vtkGetMacro(UseDepthPeeling, vtkTypeBool);
689 vtkBooleanMacro(UseDepthPeeling, vtkTypeBool);
691
697 vtkSetMacro(UseDepthPeelingForVolumes, bool);
698 vtkGetMacro(UseDepthPeelingForVolumes, bool);
699 vtkBooleanMacro(UseDepthPeelingForVolumes, bool);
700
702
711 vtkSetClampMacro(OcclusionRatio, double, 0.0, 0.5);
712 vtkGetMacro(OcclusionRatio, double);
714
716
721 vtkSetMacro(MaximumNumberOfPeels, int);
722 vtkGetMacro(MaximumNumberOfPeels, int);
724
726
731 vtkGetMacro(LastRenderingUsedDepthPeeling, vtkTypeBool);
733
735
739 vtkSetMacro(UseSSAO, bool);
740 vtkGetMacro(UseSSAO, bool);
741 vtkBooleanMacro(UseSSAO, bool);
743
745
749 vtkSetMacro(SSAORadius, double);
750 vtkGetMacro(SSAORadius, double);
752
754
758 vtkSetMacro(SSAOBias, double);
759 vtkGetMacro(SSAOBias, double);
761
763
767 vtkSetMacro(SSAOKernelSize, unsigned int);
768 vtkGetMacro(SSAOKernelSize, unsigned int);
770
772
777 vtkSetMacro(SSAOBlur, bool);
778 vtkGetMacro(SSAOBlur, bool);
779 vtkBooleanMacro(SSAOBlur, bool);
781
783
790 vtkGetObjectMacro(Delegate, vtkRendererDelegate);
792
794
799 vtkGetObjectMacro(Selector, vtkHardwareSelector);
801
803
811 vtkGetObjectMacro(BackgroundTexture, vtkTexture);
813
815
820 vtkGetObjectMacro(RightBackgroundTexture, vtkTexture);
822
824
828 vtkSetMacro(TexturedBackground, bool);
829 vtkGetMacro(TexturedBackground, bool);
830 vtkBooleanMacro(TexturedBackground, bool);
832
833 // method to release graphics resources in any derived renderers.
835
837
840 vtkSetMacro(UseFXAA, bool);
841 vtkGetMacro(UseFXAA, bool);
842 vtkBooleanMacro(UseFXAA, bool);
844
846
849 vtkGetObjectMacro(FXAAOptions, vtkFXAAOptions);
852
854
858 vtkSetMacro(UseShadows, vtkTypeBool);
859 vtkGetMacro(UseShadows, vtkTypeBool);
860 vtkBooleanMacro(UseShadows, vtkTypeBool);
862
864
868 vtkSetMacro(UseHiddenLineRemoval, vtkTypeBool);
869 vtkGetMacro(UseHiddenLineRemoval, vtkTypeBool);
870 vtkBooleanMacro(UseHiddenLineRemoval, vtkTypeBool);
872
873 // Set/Get a custom render pass.
874 // Initial value is NULL.
876 vtkGetObjectMacro(Pass, vtkRenderPass);
877
879
883 vtkGetObjectMacro(Information, vtkInformation);
885 virtual void SetInformation(vtkInformation*);
887
889
895 vtkSetMacro(UseImageBasedLighting, bool);
896 vtkGetMacro(UseImageBasedLighting, bool);
897 vtkBooleanMacro(UseImageBasedLighting, bool);
899
901
906 VTK_MARSHALGETTER(EnvironmentTextureProperty)
907 vtkGetObjectMacro(EnvironmentTexture, vtkTexture);
908 VTK_MARSHALSETTER(EnvironmentTextureProperty)
909 void SetEnvironmentTextureProperty(vtkTexture* texture) { this->SetEnvironmentTexture(texture); }
910 virtual void SetEnvironmentTexture(vtkTexture* texture, bool isSRGB = false);
912
914
917 vtkGetVector3Macro(EnvironmentUp, double);
918 vtkSetVector3Macro(EnvironmentUp, double);
920
922
925 vtkGetVector3Macro(EnvironmentRight, double);
926 vtkSetVector3Macro(EnvironmentRight, double);
928
929protected:
931 ~vtkRenderer() override;
932
933 // internal method to expand bounding box to consider model transform
934 // matrix or model view transform matrix based on whether or not deering
935 // frustum is used. 'bounds' buffer is mutated to the expanded box.
936 virtual void ExpandBounds(double bounds[6], vtkMatrix4x4* matrix);
937
940
943
946
947 double Ambient[3];
954 unsigned char* BackingImage;
955 int BackingStoreSize[2];
957
959
961
962 // Allocate the time for each prop
964
965 // Internal variables indicating the number of props
966 // that have been or will be rendered in each category.
968
969 // A temporary list of props used for culling, and traversal
970 // of all props when rendering
973
974 // Indicates if the renderer should receive events from an interactor.
975 // Typically only used in conjunction with transparent renderers.
977
978 // Shows what layer this renderer belongs to. Only of interested when
979 // there are layered renderers.
980 int Layer;
983
984 // Holds the result of ComputeVisiblePropBounds so that it is visible from
985 // wrapped languages
986 double ComputedVisiblePropBounds[6];
987
996
1002
1010
1017
1022
1027 const std::array<double, 16>& GetCompositeProjectionTransformationMatrix();
1028
1033 const std::array<double, 16>& GetProjectionTransformationMatrix();
1034
1039 const std::array<double, 16>& GetViewTransformMatrix();
1040
1046 virtual int UpdateGeometry(vtkFrameBufferObjectBase* fbo = nullptr);
1047
1056
1063
1068 virtual int UpdateCamera();
1069
1076
1081 virtual int UpdateLights() { return 0; }
1082
1089
1095
1100
1106
1112
1120
1126
1137
1144
1145 bool UseSSAO = false;
1146 double SSAORadius = 0.5;
1147 double SSAOBias = 0.01;
1148 unsigned int SSAOKernelSize = 32;
1149 bool SSAOBlur = false;
1150
1157
1158 // HARDWARE SELECTION ----------------------------------------
1160
1165 {
1166 this->Selector = selector;
1167 this->Modified();
1168 }
1169
1170 // End Ivars for visible cell selecting.
1172
1173 //---------------------------------------------------------------
1176
1180
1181 friend class vtkRenderPass;
1183
1184 // Arbitrary extra information associated with this renderer
1186
1189
1190 double EnvironmentUp[3];
1191 double EnvironmentRight[3];
1192
1193private:
1197 std::array<double, 16> CompositeProjectionTransformationMatrix;
1198
1202 double LastCompositeProjectionTransformationMatrixTiledAspectRatio;
1203
1207 vtkMTimeType LastCompositeProjectionTransformationMatrixCameraModified;
1208
1212 std::array<double, 16> ProjectionTransformationMatrix;
1213
1217 double LastProjectionTransformationMatrixTiledAspectRatio;
1218
1222 vtkMTimeType LastProjectionTransformationMatrixCameraModified;
1223
1227 std::array<double, 16> ViewTransformMatrix;
1228
1232 vtkMTimeType LastViewTransformCameraModified;
1233
1237 bool SafeGetZ = false;
1238
1239 vtkRenderer(const vtkRenderer&) = delete;
1240 void operator=(const vtkRenderer&) = delete;
1241};
1242
1244{
1245 return this->Lights;
1246}
1247
1252{
1253 return this->Cullers;
1254}
1255
1256VTK_ABI_NAMESPACE_END
1257#endif
a actor that draws 2D data
Definition vtkActor2D.h:36
an ordered list of actors
represents an object (geometry & properties) in a rendered scene
Definition vtkActor.h:42
a list of nodes that form an assembly path
a virtual camera for 3D rendering
Definition vtkCamera.h:42
an ordered list of Cullers
a superclass for prop cullers
Definition vtkCuller.h:31
Configuration for FXAA implementations.
abstract interface to OpenGL FBOs
a simple class to control print indentation
Definition vtkIndent.h:29
Store vtkAlgorithm input/output information.
an ordered list of lights
a virtual light for 3D rendering
Definition vtkLight.h:50
represent and manipulate 4x4 transformation matrices
virtual void Modified()
Update the modification time for this object.
an ordered list of Props
abstract superclass for all actors, volumes and annotations
Definition vtkProp.h:47
Perform part of the rendering of a vtkRenderer.
create a window for renderers to draw into
Render the props of a vtkRenderer.
abstract specification for renderers
Definition vtkRenderer.h:63
virtual void SetLayer(int layer)
Set/Get the layer that this renderer belongs to.
vtkCamera * GetActiveCameraAndResetIfCreated()
Get the current camera and reset it only if it gets created automatically (see GetActiveCamera).
void ViewToWorld(double &wx, double &wy, double &wz) override
Convert view point coordinates to world coordinates.
virtual void SetFXAAOptions(vtkFXAAOptions *)
The configuration object for FXAA antialiasing.
virtual int UpdateCamera()
Ask the active camera to do whatever it needs to do prior to rendering.
vtkAssemblyPath * PickProp(double selectionX, double selectionY, int fieldAssociation, vtkSmartPointer< vtkSelection > selection) override
Return the prop (via a vtkAssemblyPath) that has the highest z value at the given x,...
virtual vtkTypeBool UpdateLightGeometry()
Update the geometry of the lights in the scene that are not in world space (for instance,...
void SetPass(vtkRenderPass *p)
virtual int UpdateLights()
Ask all lights to load themselves into rendering pipeline.
vtkTypeBool PreserveDepthBuffer
vtkLight * CreatedLight
vtkRenderPass * Pass
vtkTypeBool UseShadows
If this flag is on and the rendering engine supports it render shadows Initial value is off.
const std::array< double, 16 > & GetViewTransformMatrix()
Gets the ActiveCamera ViewTransformMatrix, only computing it if necessary.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
double LastRenderTimeInSeconds
double GetTiledAspectRatio()
Compute the aspect ratio of this renderer for the current tile.
vtkAssemblyPath * PickProp(double selectionX1, double selectionY1, double selectionX2, double selectionY2, int fieldAssociation, vtkSmartPointer< vtkSelection > selection) override
Return the prop (via a vtkAssemblyPath) that has the highest z value at the given x,...
vtkCullerCollection * GetCullers()
Return the collection of cullers.
virtual void SetRightBackgroundTexture(vtkTexture *)
Set/Get the texture to be used for the right eye background.
~vtkRenderer() override
virtual int UpdateGeometry(vtkFrameBufferObjectBase *fbo=nullptr)
Ask all props to update and draw any opaque and translucent geometry.
bool UseImageBasedLighting
int VisibleActorCount()
Returns the number of visible actors.
vtkTypeBool BackingStore
const std::array< double, 16 > & GetCompositeProjectionTransformationMatrix()
Gets the ActiveCamera CompositeProjectionTransformationMatrix, only computing it if necessary.
vtkTexture * EnvironmentTexture
bool UseDepthPeelingForVolumes
This flag is on and the GPU supports it, depth-peel volumes along with the translucent geometry.
virtual void SetLeftBackgroundTexture(vtkTexture *)
Set/Get the texture to be used for the monocular or stereo left eye background.
void SetSelector(vtkHardwareSelector *selector)
Called by vtkHardwareSelector when it begins rendering for selection.
vtkMTimeType GetMTime() override
Return the MTime of the renderer also considering its ivars.
int MaximumNumberOfPeels
In case of depth peeling, define the maximum number of peeling layers.
vtkTypeBool LastRenderingUsedDepthPeeling
Tells if the last call to DeviceRenderTranslucentPolygonalGeometry() actually used depth peeling.
void AllocateTime()
vtkRenderWindow * RenderWindow
int VisibleVolumeCount()
Returns the number of visible volumes.
vtkTypeBool AutomaticLightCreation
int NumberOfPropsRendered
virtual void StereoMidpoint()
Do anything necessary between rendering the left and right viewpoints in a stereo render.
virtual int UpdateOpaquePolygonalGeometry()
Ask all props to update and draw any opaque polygonal geometry.
double TimeFactor
bool TexturedBackground
vtkVolumeCollection * Volumes
vtkWindow * GetVTKWindow() override
Specify the rendering window in which to draw.
virtual void ExpandBounds(double bounds[6], vtkMatrix4x4 *matrix)
double OcclusionRatio
In case of use of depth peeling technique for rendering translucent material, define the threshold un...
const std::array< double, 16 > & GetProjectionTransformationMatrix()
Gets the ActiveCamera ProjectionTransformationMatrix, only computing it if necessary.
void PoseToView(double &wx, double &wy, double &wz) override
Convert to from pose coordinates.
vtkTypeBool Erase
When this flag is off, the renderer will not erase the background or the Zbuffer.
vtkPropCollection * GL2PSSpecialPropCollection
Temporary collection used by vtkRenderWindow::CaptureGL2PSSpecialProps.
bool UseFXAA
If this flag is on and the rendering engine supports it, FXAA will be used to antialias the scene.
vtkTexture * GetLeftBackgroundTexture()
Set/Get the texture to be used for the monocular or stereo left eye background.
double ClippingRangeExpansion
Specify enlargement of bounds when resetting the camera clipping range.
vtkAssemblyPath * PickProp(double selectionX1, double selectionY1, double selectionX2, double selectionY2) override
Return the prop (via a vtkAssemblyPath) that has the highest z value at the given x,...
vtkTypeBool Transparent()
Returns a boolean indicating if this renderer is transparent.
vtkTypeBool IsActiveCameraCreated()
This method returns 1 if the ActiveCamera has already been set or automatically created by the render...
unsigned char * BackingImage
static vtkRenderer * New()
Create a vtkRenderer with a black background, a white ambient light, two-sided lighting turned on,...
vtkRendererDelegate * Delegate
virtual void ReleaseGraphicsResources(vtkWindow *)
void PoseToWorld(double &wx, double &wy, double &wz) override
Convert to from pose coordinates.
vtkTexture * BackgroundTexture
double GetZ(int x, int y)
Given a pixel location, return the Z value.
vtkProp ** PropArray
double * ComputeVisiblePropBounds()
Wrapper-friendly version of ComputeVisiblePropBounds.
vtkCullerCollection * Cullers
double AllocatedRenderTime
double NearClippingPlaneTolerance
Specifies the minimum distance of the near clipping plane as a percentage of the far clipping plane d...
vtkTypeBool Draw
When this flag is off, render commands are ignored.
vtkHardwareSelector * Selector
vtkTypeBool TwoSidedLighting
vtkTexture * RightBackgroundTexture
vtkTypeBool UseDepthPeeling
If this flag is on and the GPU supports it, depth peeling is used for rendering translucent materials...
vtkTypeBool UseHiddenLineRemoval
When this flag is on and the rendering engine supports it, wireframe polydata will be rendered using ...
void WorldToPose(double &wx, double &wy, double &wz) override
Convert to from pose coordinates.
vtkLightCollection * Lights
void ViewToWorld() override
Convert view point coordinates to world coordinates.
virtual void SetEnvironmentTexture(vtkTexture *texture, bool isSRGB=false)
Set/Get the environment texture used for image based lighting.
vtkTimeStamp RenderTime
virtual int UpdateTranslucentPolygonalGeometry()
Ask all props to update and draw any translucent polygonal geometry.
virtual void ClearLights()
Internal method temporarily removes lights before reloading them into graphics pipeline.
vtkLightCollection * GetLights()
Return the collection of lights.
vtkTypeBool LightFollowCamera
vtkFXAAOptions * FXAAOptions
Holds the FXAA configuration.
void ViewToPose(double &wx, double &wy, double &wz) override
Convert to from pose coordinates.
void WorldToView() override
Convert world point coordinates to view coordinates.
virtual void DeviceRenderOpaqueGeometry(vtkFrameBufferObjectBase *fbo=nullptr)
Render opaque polygonal geometry.
virtual void SetBackgroundTexture(vtkTexture *)
Set/Get the texture to be used for the monocular or stereo left eye background.
void WorldToView(double &wx, double &wy, double &wz) override
Convert world point coordinates to view coordinates.
virtual void Clear()
Clear the image to the background color.
void ComputeVisiblePropBounds(double bounds[6])
Compute the bounding box of all the visible props Used in ResetCamera() and ResetCameraClippingRange(...
virtual void DeviceRenderTranslucentPolygonalGeometry(vtkFrameBufferObjectBase *fbo=nullptr)
Render translucent polygonal geometry.
vtkTypeBool PreserveColorBuffer
vtkActorCollection * Actors
void SetDelegate(vtkRendererDelegate *d)
Set/Get a custom Render call.
vtkTypeBool Interactive
vtkInformation * Information
vtkAssemblyPath * PickProp(double selectionX, double selectionY) override
Return the prop (via a vtkAssemblyPath) that has the highest z value at the given x,...
vtkCamera * ActiveCamera
Hold a reference to a vtkObjectBase instance.
handles properties associated with a texture map
Definition vtkTexture.h:59
record modification and/or execution time
abstract specification for Viewports
Definition vtkViewport.h:46
virtual vtkAssemblyPath * PickProp(double selectionX, double selectionY)=0
Return the Prop that has the highest z value at the given x, y position in the viewport.
an ordered list of volumes
represents a volume (data & properties) in a rendered scene
Definition vtkVolume.h:41
window superclass for vtkRenderWindow
Definition vtkWindow.h:29
int vtkTypeBool
Definition vtkABI.h:64
vtkTypeUInt32 vtkMTimeType
Definition vtkType.h:270
#define VTK_MARSHALSETTER(property)
#define VTK_SIZEHINT(...)
#define VTK_MARSHALGETTER(property)
#define VTK_MARSHAL_EXCLUDE_REASON_IS_INTERNAL
#define VTK_MARSHAL_EXCLUDE_REASON_NOT_SUPPORTED
#define VTK_MARSHALAUTO
#define VTK_MARSHALEXCLUDE(reason)