VTK  9.5.2
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
134
135#ifndef vtkRenderer_h
136#define vtkRenderer_h
137
138#include "vtkRenderingCoreModule.h" // For export macro
139#include "vtkViewport.h"
140#include "vtkWrappingHints.h" // For VTK_MARSHALAUTO
141
142#include "vtkActorCollection.h" // Needed for access in inline members
143#include "vtkVolumeCollection.h" // Needed for access in inline members
144
145#include <array> // To store matrices
146
147VTK_ABI_NAMESPACE_BEGIN
148class vtkFXAAOptions;
149class vtkRenderWindow;
150class vtkVolume;
151class vtkCuller;
152class vtkActor;
153class vtkActor2D;
154class vtkCamera;
156class vtkInformation;
159class vtkLight;
162class vtkRenderPass;
163class vtkTexture;
164
165class vtkRecti;
166class vtkVector3d;
167
168class VTKRENDERINGCORE_EXPORT VTK_MARSHALAUTO vtkRenderer : public vtkViewport
169{
170public:
171 vtkTypeMacro(vtkRenderer, vtkViewport);
172 void PrintSelf(ostream& os, vtkIndent indent) override;
173
179 static vtkRenderer* New();
180
182
196
202
208
214
219
227
232
238 virtual vtkLight* MakeLight();
239
241
249 vtkBooleanMacro(TwoSidedLighting, vtkTypeBool);
251
253
270
272
284
291
297
303
308
315
322
324
330 vtkSetMacro(Erase, vtkTypeBool);
331 vtkGetMacro(Erase, vtkTypeBool);
332 vtkBooleanMacro(Erase, vtkTypeBool);
334
336
341 vtkSetMacro(Draw, vtkTypeBool);
342 vtkGetMacro(Draw, vtkTypeBool);
343 vtkBooleanMacro(Draw, vtkTypeBool);
345
351
358
364
370
375
377
380 vtkSetVector3Macro(Ambient, double);
381 vtkGetVectorMacro(Ambient, double, 3);
383
385
389 vtkSetMacro(AllocatedRenderTime, double);
390 virtual double GetAllocatedRenderTime();
392
399 virtual double GetTimeFactor();
400
407 virtual void Render();
408
412 virtual void DeviceRender() {}
413
421
432
437 virtual void ClearLights() {}
438
442 virtual void Clear() {}
443
448
453
458 void ComputeVisiblePropBounds(double bounds[6]);
459
464
470
472
475 virtual void ResetCameraClippingRange(const double bounds[6]);
477 double xmin, double xmax, double ymin, double ymax, double zmin, double zmax);
479
481
486 vtkSetClampMacro(NearClippingPlaneTolerance, double, 0, 0.99);
487 vtkGetMacro(NearClippingPlaneTolerance, double);
489
491
496 vtkSetClampMacro(ClippingRangeExpansion, double, 0, 0.99);
497 vtkGetMacro(ClippingRangeExpansion, double);
499
506 virtual void ResetCamera();
507
517 virtual void ResetCamera(const double bounds[6]);
518
522 virtual void ResetCamera(
523 double xmin, double xmax, double ymin, double ymax, double zmin, double zmax);
524
532 virtual void ResetCameraScreenSpace(double offsetRatio = 0.9);
533
542 virtual void ResetCameraScreenSpace(const double bounds[6], double offsetRatio = 0.9);
543
545
550
556 void ZoomToBoxUsingViewAngle(const vtkRecti& box, double offsetRatio = 1.0);
557
564 virtual void ResetCameraScreenSpace(double xmin, double xmax, double ymin, double ymax,
565 double zmin, double zmax, double offsetRatio = 0.9);
566
568
577
579
587 vtkBooleanMacro(BackingStore, vtkTypeBool);
589
591
598 vtkBooleanMacro(Interactive, vtkTypeBool);
600
602
613 virtual void SetLayer(int layer);
614 vtkGetMacro(Layer, int);
616
618
632
634
642
648
652 void WorldToView() override;
653
655
658 void ViewToWorld() override;
659 void ViewToWorld(double& wx, double& wy, double& wz) override;
661
665 void WorldToView(double& wx, double& wy, double& wz) override;
666
668
671 void WorldToPose(double& wx, double& wy, double& wz) override;
672 void PoseToWorld(double& wx, double& wy, double& wz) override;
673 void ViewToPose(double& wx, double& wy, double& wz) override;
674 void PoseToView(double& wx, double& wy, double& wz) override;
676
686 double GetZ(int x, int y);
687
689
696 vtkSetMacro(SafeGetZ, bool);
697 vtkGetMacro(SafeGetZ, bool);
698 vtkBooleanMacro(SafeGetZ, bool);
700
705
707
710 vtkGetMacro(LastRenderTimeInSeconds, double);
712
714
720 vtkGetMacro(NumberOfPropsRendered, int);
722
724
731 vtkAssemblyPath* PickProp(double selectionX, double selectionY) override
732 {
733 return this->PickProp(selectionX, selectionY, selectionX, selectionY);
734 }
736 double selectionX1, double selectionY1, double selectionX2, double selectionY2) override;
738
740
750 vtkAssemblyPath* PickProp(double selectionX, double selectionY, int fieldAssociation,
751 vtkSmartPointer<vtkSelection> selection) override
752 {
753 return this->PickProp(
754 selectionX, selectionY, selectionX, selectionY, fieldAssociation, selection);
755 }
756 vtkAssemblyPath* PickProp(double selectionX1, double selectionY1, double selectionX2,
757 double selectionY2, int fieldAssociation, vtkSmartPointer<vtkSelection> selection) override;
759
765 virtual void StereoMidpoint() {}
766
774
780 vtkTypeBool IsActiveCameraCreated() { return (this->ActiveCamera != nullptr); }
781
783
795 vtkBooleanMacro(UseDepthPeeling, vtkTypeBool);
797
803 vtkSetMacro(UseDepthPeelingForVolumes, bool);
804 vtkGetMacro(UseDepthPeelingForVolumes, bool);
805 vtkBooleanMacro(UseDepthPeelingForVolumes, bool);
806
808
817 vtkSetClampMacro(OcclusionRatio, double, 0.0, 0.5);
818 vtkGetMacro(OcclusionRatio, double);
820
822
827 vtkSetMacro(MaximumNumberOfPeels, int);
828 vtkGetMacro(MaximumNumberOfPeels, int);
830
832
839
841
845 vtkSetMacro(UseSSAO, bool);
846 vtkGetMacro(UseSSAO, bool);
847 vtkBooleanMacro(UseSSAO, bool);
849
851
855 vtkSetMacro(SSAORadius, double);
856 vtkGetMacro(SSAORadius, double);
858
860
864 vtkSetMacro(SSAOBias, double);
865 vtkGetMacro(SSAOBias, double);
867
869
873 vtkSetMacro(SSAOKernelSize, unsigned int);
874 vtkGetMacro(SSAOKernelSize, unsigned int);
876
878
883 vtkSetMacro(SSAOBlur, bool);
884 vtkGetMacro(SSAOBlur, bool);
885 vtkBooleanMacro(SSAOBlur, bool);
887
889
896 vtkGetObjectMacro(Delegate, vtkRendererDelegate);
898
900
905 vtkGetObjectMacro(Selector, vtkHardwareSelector);
907
909
917 vtkGetObjectMacro(BackgroundTexture, vtkTexture);
919
921
928
930
934 vtkSetMacro(TexturedBackground, bool);
935 vtkGetMacro(TexturedBackground, bool);
936 vtkBooleanMacro(TexturedBackground, bool);
938
939 // method to release graphics resources in any derived renderers.
941
943
946 vtkSetMacro(UseFXAA, bool);
947 vtkGetMacro(UseFXAA, bool);
948 vtkBooleanMacro(UseFXAA, bool);
950
952
955 vtkGetObjectMacro(FXAAOptions, vtkFXAAOptions);
958
960
964 vtkSetMacro(UseShadows, vtkTypeBool);
965 vtkGetMacro(UseShadows, vtkTypeBool);
966 vtkBooleanMacro(UseShadows, vtkTypeBool);
968
970
978
979 // Set/Get a custom render pass.
980 // Initial value is NULL.
982 vtkGetObjectMacro(Pass, vtkRenderPass);
983
985
988 vtkGetObjectMacro(Information, vtkInformation);
991
993
999 vtkSetMacro(UseImageBasedLighting, bool);
1000 vtkGetMacro(UseImageBasedLighting, bool);
1001 vtkBooleanMacro(UseImageBasedLighting, bool);
1003
1005
1010 VTK_MARSHALGETTER(EnvironmentTextureProperty)
1011 vtkGetObjectMacro(EnvironmentTexture, vtkTexture);
1012 VTK_MARSHALSETTER(EnvironmentTextureProperty)
1014 virtual void SetEnvironmentTexture(vtkTexture* texture, bool isSRGB = false);
1016
1018
1021 vtkGetVector3Macro(EnvironmentUp, double);
1022 vtkSetVector3Macro(EnvironmentUp, double);
1024
1026
1029 vtkGetVector3Macro(EnvironmentRight, double);
1030 vtkSetVector3Macro(EnvironmentRight, double);
1032
1034
1045 vtkSetMacro(UseOIT, bool);
1046 vtkGetMacro(UseOIT, bool);
1047 vtkBooleanMacro(UseOIT, bool);
1049
1050protected:
1052 ~vtkRenderer() override;
1053
1054 // internal method to expand bounding box to consider model transform
1055 // matrix or model view transform matrix based on whether or not deering
1056 // frustum is used. 'bounds' buffer is mutated to the expanded box.
1057 virtual void ExpandBounds(double bounds[6], vtkMatrix4x4* matrix);
1058
1061
1064
1067
1068 double Ambient[3];
1075 unsigned char* BackingImage;
1078
1080
1082
1083 // Allocate the time for each prop
1085
1086 // Internal variables indicating the number of props
1087 // that have been or will be rendered in each category.
1089
1090 // A temporary list of props used for culling, and traversal
1091 // of all props when rendering
1094
1095 // Indicates if the renderer should receive events from an interactor.
1096 // Typically only used in conjunction with transparent renderers.
1098
1099 // Shows what layer this renderer belongs to. Only of interested when
1100 // there are layered renderers.
1104
1105 // Holds the result of ComputeVisiblePropBounds so that it is visible from
1106 // wrapped languages
1108
1117
1123
1131
1138
1143
1148 const std::array<double, 16>& GetCompositeProjectionTransformationMatrix();
1149
1154 const std::array<double, 16>& GetProjectionTransformationMatrix();
1155
1160 const std::array<double, 16>& GetViewTransformMatrix();
1161
1167 virtual int UpdateGeometry(vtkFrameBufferObjectBase* fbo = nullptr);
1168
1177
1184
1189 virtual int UpdateCamera();
1190
1197
1202 virtual int UpdateLights() { return 0; }
1203
1210
1216
1221
1227
1233
1241
1247
1258
1265
1266 bool UseSSAO = false;
1267 double SSAORadius = 0.5;
1268 double SSAOBias = 0.01;
1269 unsigned int SSAOKernelSize = 32;
1270 bool SSAOBlur = false;
1271
1283 bool UseOIT = true;
1284
1291
1292 // HARDWARE SELECTION ----------------------------------------
1294
1299 {
1300 this->Selector = selector;
1301 this->Modified();
1302 }
1303
1304 // End Ivars for visible cell selecting.
1306
1307 //---------------------------------------------------------------
1310
1314
1315 friend class vtkRenderPass;
1317
1318 // Arbitrary extra information associated with this renderer
1320
1323
1324 double EnvironmentUp[3];
1326
1327private:
1331 std::array<double, 16> CompositeProjectionTransformationMatrix;
1332
1336 double LastCompositeProjectionTransformationMatrixTiledAspectRatio;
1337
1341 vtkMTimeType LastCompositeProjectionTransformationMatrixCameraModified;
1342
1346 std::array<double, 16> ProjectionTransformationMatrix;
1347
1351 double LastProjectionTransformationMatrixTiledAspectRatio;
1352
1356 vtkMTimeType LastProjectionTransformationMatrixCameraModified;
1357
1361 std::array<double, 16> ViewTransformMatrix;
1362
1366 vtkMTimeType LastViewTransformCameraModified;
1367
1371 bool SafeGetZ = false;
1372
1373 vtkRenderer(const vtkRenderer&) = delete;
1374 void operator=(const vtkRenderer&) = delete;
1375};
1376
1378{
1379 return this->Lights;
1380}
1381
1386{
1387 return this->Cullers;
1388}
1389
1390VTK_ABI_NAMESPACE_END
1391#endif
a actor that draws 2D data
Definition vtkActor2D.h:145
an ordered list of actors
represents an object (geometry & properties) in a rendered scene
Definition vtkActor.h:151
a list of nodes that form an assembly path
a virtual camera for 3D rendering
Definition vtkCamera.h:151
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:108
Store vtkAlgorithm input/output information.
an ordered list of lights
a virtual light for 3D rendering
Definition vtkLight.h:159
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:63
Perform part of the rendering of a vtkRenderer.
create a window for renderers to draw into
Render the props of a vtkRenderer.
void RemoveVolume(vtkProp *p)
Add/Remove different types of props to the renderer.
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,...
friend class vtkRendererDelegate
vtkCamera * GetActiveCamera()
Get the current camera.
void AddCuller(vtkCuller *)
Add an culler to the list of cullers.
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.
double SSAOBias
vtkActorCollection * GetActors()
Return any actors in this renderer.
virtual void ResetCameraScreenSpace(double offsetRatio=0.9)
Automatically set up the camera based on the visible actors.
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.
void CreateLight()
Create and add a light to renderer.
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,...
void AddLight(vtkLight *)
Add a light to the list of lights.
vtkCullerCollection * GetCullers()
Return the collection of cullers.
virtual vtkCamera * MakeCamera()
Create a new Camera sutible for use with this type of Renderer.
virtual void SetRightBackgroundTexture(vtkTexture *)
Set/Get the texture to be used for the right eye background.
virtual void SetInformation(vtkInformation *)
Set/Get the information object associated with this algorithm.
~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.
vtkVector3d DisplayToWorld(const vtkVector3d &display)
Convert a vtkVector3d from display space to world space.
double ComputedVisiblePropBounds[6]
vtkTypeBool BackingStore
const std::array< double, 16 > & GetCompositeProjectionTransformationMatrix()
Gets the ActiveCamera CompositeProjectionTransformationMatrix, only computing it if necessary.
virtual vtkLight * MakeLight()
Create a new Light sutible for use with this type of Renderer.
vtkTexture * EnvironmentTexture
void RemoveLight(vtkLight *)
Remove a light from the list of lights.
bool UseDepthPeelingForVolumes
This flag is on and the GPU supports it, depth-peel volumes along with the translucent geometry.
void RemoveActor(vtkProp *p)
Add/Remove different types of props to the renderer.
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
double Ambient[3]
virtual void StereoMidpoint()
Do anything necessary between rendering the left and right viewpoints in a stereo render.
double EnvironmentRight[3]
virtual int UpdateOpaquePolygonalGeometry()
Ask all props to update and draw any opaque polygonal geometry.
void SetEnvironmentTextureProperty(vtkTexture *texture)
Set/Get the environment texture used for image based lighting.
double TimeFactor
bool TexturedBackground
vtkVolumeCollection * Volumes
bool UseOIT
If UseOIT is on and there are translucent props in the scene, the renderer will use the OrderIndepend...
vtkWindow * GetVTKWindow() override
Specify the rendering window in which to draw.
virtual void ExpandBounds(double bounds[6], vtkMatrix4x4 *matrix)
void RemoveCuller(vtkCuller *)
Remove an actor from the list of cullers.
virtual void ResetCameraClippingRange()
Reset the camera clipping range based on the bounds of the visible actors.
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.
friend class vtkRenderPass
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.
vtkVolumeCollection * GetVolumes()
Return the collection of volumes.
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,...
double EnvironmentUp[3]
void ZoomToBoxUsingViewAngle(const vtkRecti &box, double offsetRatio=1.0)
Automatically set up the camera focal point and zoom factor to observe the box in display coordinates...
int CaptureGL2PSSpecialProp(vtkProp *)
This function is called to capture an instance of vtkProp that requires special handling during vtkRe...
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...
int BackingStoreSize[2]
unsigned char * BackingImage
static vtkRenderer * New()
Create a vtkRenderer with a black background, a white ambient light, two-sided lighting turned on,...
vtkRendererDelegate * Delegate
void SetLightCollection(vtkLightCollection *lights)
Set the collection of lights.
virtual void ReleaseGraphicsResources(vtkWindow *)
void PoseToWorld(double &wx, double &wy, double &wz) override
Convert to from pose coordinates.
void RemoveAllLights()
Remove all lights from the list of lights.
vtkTexture * BackgroundTexture
double GetZ(int x, int y)
Given a pixel location, return the Z value.
friend class vtkHardwareSelector
vtkProp ** PropArray
double * ComputeVisiblePropBounds()
Wrapper-friendly version of ComputeVisiblePropBounds.
vtkCullerCollection * Cullers
void AddActor(vtkProp *p)
Add/Remove different types of props to the renderer.
virtual double GetTimeFactor()
Get the ratio between allocated time and actual render time.
double AllocatedRenderTime
vtkRenderWindow * GetRenderWindow()
Specify the rendering window in which to draw.
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
virtual void DeviceRender()
Create an image.
vtkTypeBool TwoSidedLighting
vtkTexture * RightBackgroundTexture
virtual vtkTypeBool UpdateLightsGeometryToFollowCamera()
Ask the lights in the scene that are not in world space (for instance, Headlights or CameraLights tha...
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.
void SetActiveCamera(vtkCamera *)
Specify the camera to use for this renderer.
virtual void SetEnvironmentTexture(vtkTexture *texture, bool isSRGB=false)
Set/Get the environment texture used for image based lighting.
vtkTimeStamp RenderTime
virtual void Render()
CALLED BY vtkRenderWindow ONLY.
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 SetRenderWindow(vtkRenderWindow *)
Specify the rendering window in which to draw.
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 ResetCamera()
Automatically set up the camera based on the visible actors.
virtual void SetBackgroundTexture(vtkTexture *)
Set/Get the texture to be used for the monocular or stereo left eye background.
void AddVolume(vtkProp *p)
Add/Remove different types of props to the renderer.
void WorldToView(double &wx, double &wy, double &wz) override
Convert world point coordinates to view coordinates.
virtual double GetAllocatedRenderTime()
Set/Get the amount of time this renderer is allowed to spend rendering its scene.
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
void SetGL2PSSpecialPropCollection(vtkPropCollection *)
Set the prop collection object used during vtkRenderWindow::CaptureGL2PSSpecialProps().
double SSAORadius
unsigned int SSAOKernelSize
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:168
record modification and/or execution time
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:130
window superclass for vtkRenderWindow
Definition vtkWindow.h:45
int vtkTypeBool
Definition vtkABI.h:64
vtkTypeUInt32 vtkMTimeType
Definition vtkType.h:287
#define VTK_MARSHALSETTER(property)
#define VTK_SIZEHINT(...)
#define VTK_MARSHALGETTER(property)
#define VTK_MARSHAL_EXCLUDE_REASON_IS_INTERNAL
#define VTK_MARSHALAUTO
#define VTK_MARSHALEXCLUDE(reason)