VTK  9.4.20241209
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
138#ifndef vtkRenderer_h
139#define vtkRenderer_h
140
141#include "vtkRenderingCoreModule.h" // For export macro
142#include "vtkViewport.h"
143#include "vtkWrappingHints.h" // For VTK_MARSHALAUTO
144
145#include "vtkActorCollection.h" // Needed for access in inline members
146#include "vtkVolumeCollection.h" // Needed for access in inline members
147
148#include <array> // To store matrices
149
150VTK_ABI_NAMESPACE_BEGIN
151class vtkFXAAOptions;
152class vtkRenderWindow;
153class vtkVolume;
154class vtkCuller;
155class vtkActor;
156class vtkActor2D;
157class vtkCamera;
159class vtkInformation;
162class vtkLight;
165class vtkRenderPass;
166class vtkTexture;
167
168class vtkRecti;
169class vtkVector3d;
170
171class VTKRENDERINGCORE_EXPORT VTK_MARSHALAUTO vtkRenderer : public vtkViewport
172{
173public:
174 vtkTypeMacro(vtkRenderer, vtkViewport);
175 void PrintSelf(ostream& os, vtkIndent indent) override;
176
182 static vtkRenderer* New();
183
185
191 void AddActor(vtkProp* p);
193 void AddVolume(vtkProp* p);
195 void RemoveActor(vtkProp* p);
197 void RemoveVolume(vtkProp* p);
199
204 void AddLight(vtkLight*);
205
210 void RemoveLight(vtkLight*);
211
216 void RemoveAllLights();
217
221 vtkLightCollection* GetLights();
222
229 void SetLightCollection(vtkLightCollection* lights);
230
234 void CreateLight();
235
241 virtual vtkLight* MakeLight();
242
244
250 vtkGetMacro(TwoSidedLighting, vtkTypeBool);
251 vtkSetMacro(TwoSidedLighting, vtkTypeBool);
252 vtkBooleanMacro(TwoSidedLighting, vtkTypeBool);
254
256
269 vtkSetMacro(LightFollowCamera, vtkTypeBool);
270 vtkGetMacro(LightFollowCamera, vtkTypeBool);
271 vtkBooleanMacro(LightFollowCamera, vtkTypeBool);
273
275
283 vtkGetMacro(AutomaticLightCreation, vtkTypeBool);
284 vtkSetMacro(AutomaticLightCreation, vtkTypeBool);
285 vtkBooleanMacro(AutomaticLightCreation, vtkTypeBool);
287
293 virtual vtkTypeBool UpdateLightsGeometryToFollowCamera();
294
299 vtkVolumeCollection* GetVolumes();
300
305 vtkActorCollection* GetActors();
306
310 void SetActiveCamera(vtkCamera*);
311
317 vtkCamera* GetActiveCamera();
318
324 virtual vtkCamera* MakeCamera();
325
327
333 vtkSetMacro(Erase, vtkTypeBool);
334 vtkGetMacro(Erase, vtkTypeBool);
335 vtkBooleanMacro(Erase, vtkTypeBool);
337
339
344 vtkSetMacro(Draw, vtkTypeBool);
345 vtkGetMacro(Draw, vtkTypeBool);
346 vtkBooleanMacro(Draw, vtkTypeBool);
348
353 int CaptureGL2PSSpecialProp(vtkProp*);
354
360 void SetGL2PSSpecialPropCollection(vtkPropCollection*);
361
366 void AddCuller(vtkCuller*);
367
372 void RemoveCuller(vtkCuller*);
373
377 vtkCullerCollection* GetCullers();
378
380
383 vtkSetVector3Macro(Ambient, double);
384 vtkGetVectorMacro(Ambient, double, 3);
386
388
392 vtkSetMacro(AllocatedRenderTime, double);
393 virtual double GetAllocatedRenderTime();
395
402 virtual double GetTimeFactor();
403
410 virtual void Render();
411
415 virtual void DeviceRender() {}
416
424
435
440 virtual void ClearLights() {}
441
445 virtual void Clear() {}
446
451
456
461 void ComputeVisiblePropBounds(double bounds[6]);
462
467
472 virtual void ResetCameraClippingRange();
473
475
478 virtual void ResetCameraClippingRange(const double bounds[6]);
479 virtual void ResetCameraClippingRange(
480 double xmin, double xmax, double ymin, double ymax, double zmin, double zmax);
482
484
489 vtkSetClampMacro(NearClippingPlaneTolerance, double, 0, 0.99);
490 vtkGetMacro(NearClippingPlaneTolerance, double);
492
494
499 vtkSetClampMacro(ClippingRangeExpansion, double, 0, 0.99);
500 vtkGetMacro(ClippingRangeExpansion, double);
502
509 virtual void ResetCamera();
510
520 virtual void ResetCamera(const double bounds[6]);
521
525 virtual void ResetCamera(
526 double xmin, double xmax, double ymin, double ymax, double zmin, double zmax);
527
535 virtual void ResetCameraScreenSpace(double offsetRatio = 0.9);
536
545 virtual void ResetCameraScreenSpace(const double bounds[6], double offsetRatio = 0.9);
546
547 using vtkViewport::DisplayToWorld;
548
552 vtkVector3d DisplayToWorld(const vtkVector3d& display);
553
559 void ZoomToBoxUsingViewAngle(const vtkRecti& box, double offsetRatio = 1.0);
560
567 virtual void ResetCameraScreenSpace(double xmin, double xmax, double ymin, double ymax,
568 double zmin, double zmax, double offsetRatio = 0.9);
569
571
576 void SetRenderWindow(vtkRenderWindow*);
577 vtkRenderWindow* GetRenderWindow() { return this->RenderWindow; }
580
582
588 vtkSetMacro(BackingStore, vtkTypeBool);
589 vtkGetMacro(BackingStore, vtkTypeBool);
590 vtkBooleanMacro(BackingStore, vtkTypeBool);
592
594
599 vtkSetMacro(Interactive, vtkTypeBool);
600 vtkGetMacro(Interactive, vtkTypeBool);
601 vtkBooleanMacro(Interactive, vtkTypeBool);
603
605
616 virtual void SetLayer(int layer);
617 vtkGetMacro(Layer, int);
619
621
631 vtkGetMacro(PreserveColorBuffer, vtkTypeBool);
632 vtkSetMacro(PreserveColorBuffer, vtkTypeBool);
633 vtkBooleanMacro(PreserveColorBuffer, vtkTypeBool);
635
637
641 vtkSetMacro(PreserveDepthBuffer, vtkTypeBool);
642 vtkGetMacro(PreserveDepthBuffer, vtkTypeBool);
643 vtkBooleanMacro(PreserveDepthBuffer, vtkTypeBool);
645
651
655 void WorldToView() override;
656
658
661 void ViewToWorld() override;
662 void ViewToWorld(double& wx, double& wy, double& wz) override;
664
668 void WorldToView(double& wx, double& wy, double& wz) override;
669
671
674 void WorldToPose(double& wx, double& wy, double& wz) override;
675 void PoseToWorld(double& wx, double& wy, double& wz) override;
676 void ViewToPose(double& wx, double& wy, double& wz) override;
677 void PoseToView(double& wx, double& wy, double& wz) override;
679
689 double GetZ(int x, int y);
690
692
699 vtkSetMacro(SafeGetZ, bool);
700 vtkGetMacro(SafeGetZ, bool);
701 vtkBooleanMacro(SafeGetZ, bool);
703
708
710
713 vtkGetMacro(LastRenderTimeInSeconds, double);
715
717
723 vtkGetMacro(NumberOfPropsRendered, int);
725
727
734 vtkAssemblyPath* PickProp(double selectionX, double selectionY) override
735 {
736 return this->PickProp(selectionX, selectionY, selectionX, selectionY);
737 }
739 double selectionX1, double selectionY1, double selectionX2, double selectionY2) override;
741
743
753 vtkAssemblyPath* PickProp(double selectionX, double selectionY, int fieldAssociation,
754 vtkSmartPointer<vtkSelection> selection) override
755 {
756 return this->PickProp(
757 selectionX, selectionY, selectionX, selectionY, fieldAssociation, selection);
758 }
759 vtkAssemblyPath* PickProp(double selectionX1, double selectionY1, double selectionX2,
760 double selectionY2, int fieldAssociation, vtkSmartPointer<vtkSelection> selection) override;
762
768 virtual void StereoMidpoint() {}
769
777
783 vtkTypeBool IsActiveCameraCreated() { return (this->ActiveCamera != nullptr); }
784
786
796 vtkSetMacro(UseDepthPeeling, vtkTypeBool);
797 vtkGetMacro(UseDepthPeeling, vtkTypeBool);
798 vtkBooleanMacro(UseDepthPeeling, vtkTypeBool);
800
806 vtkSetMacro(UseDepthPeelingForVolumes, bool);
807 vtkGetMacro(UseDepthPeelingForVolumes, bool);
808 vtkBooleanMacro(UseDepthPeelingForVolumes, bool);
809
811
820 vtkSetClampMacro(OcclusionRatio, double, 0.0, 0.5);
821 vtkGetMacro(OcclusionRatio, double);
823
825
830 vtkSetMacro(MaximumNumberOfPeels, int);
831 vtkGetMacro(MaximumNumberOfPeels, int);
833
835
840 vtkGetMacro(LastRenderingUsedDepthPeeling, vtkTypeBool);
842
844
848 vtkSetMacro(UseSSAO, bool);
849 vtkGetMacro(UseSSAO, bool);
850 vtkBooleanMacro(UseSSAO, bool);
852
854
858 vtkSetMacro(SSAORadius, double);
859 vtkGetMacro(SSAORadius, double);
861
863
867 vtkSetMacro(SSAOBias, double);
868 vtkGetMacro(SSAOBias, double);
870
872
876 vtkSetMacro(SSAOKernelSize, unsigned int);
877 vtkGetMacro(SSAOKernelSize, unsigned int);
879
881
886 vtkSetMacro(SSAOBlur, bool);
887 vtkGetMacro(SSAOBlur, bool);
888 vtkBooleanMacro(SSAOBlur, bool);
890
892
899 vtkGetObjectMacro(Delegate, vtkRendererDelegate);
901
903
908 vtkGetObjectMacro(Selector, vtkHardwareSelector);
910
912
920 vtkGetObjectMacro(BackgroundTexture, vtkTexture);
922
924
929 vtkGetObjectMacro(RightBackgroundTexture, vtkTexture);
931
933
937 vtkSetMacro(TexturedBackground, bool);
938 vtkGetMacro(TexturedBackground, bool);
939 vtkBooleanMacro(TexturedBackground, bool);
941
942 // method to release graphics resources in any derived renderers.
944
946
949 vtkSetMacro(UseFXAA, bool);
950 vtkGetMacro(UseFXAA, bool);
951 vtkBooleanMacro(UseFXAA, bool);
953
955
958 vtkGetObjectMacro(FXAAOptions, vtkFXAAOptions);
961
963
967 vtkSetMacro(UseShadows, vtkTypeBool);
968 vtkGetMacro(UseShadows, vtkTypeBool);
969 vtkBooleanMacro(UseShadows, vtkTypeBool);
971
973
977 vtkSetMacro(UseHiddenLineRemoval, vtkTypeBool);
978 vtkGetMacro(UseHiddenLineRemoval, vtkTypeBool);
979 vtkBooleanMacro(UseHiddenLineRemoval, vtkTypeBool);
981
982 // Set/Get a custom render pass.
983 // Initial value is NULL.
985 vtkGetObjectMacro(Pass, vtkRenderPass);
986
988
992 vtkGetObjectMacro(Information, vtkInformation);
994 virtual void SetInformation(vtkInformation*);
996
998
1004 vtkSetMacro(UseImageBasedLighting, bool);
1005 vtkGetMacro(UseImageBasedLighting, bool);
1006 vtkBooleanMacro(UseImageBasedLighting, bool);
1008
1010
1015 VTK_MARSHALGETTER(EnvironmentTextureProperty)
1016 vtkGetObjectMacro(EnvironmentTexture, vtkTexture);
1017 VTK_MARSHALSETTER(EnvironmentTextureProperty)
1018 void SetEnvironmentTextureProperty(vtkTexture* texture) { this->SetEnvironmentTexture(texture); }
1019 virtual void SetEnvironmentTexture(vtkTexture* texture, bool isSRGB = false);
1021
1023
1026 vtkGetVector3Macro(EnvironmentUp, double);
1027 vtkSetVector3Macro(EnvironmentUp, double);
1029
1031
1034 vtkGetVector3Macro(EnvironmentRight, double);
1035 vtkSetVector3Macro(EnvironmentRight, double);
1037
1038protected:
1040 ~vtkRenderer() override;
1041
1042 // internal method to expand bounding box to consider model transform
1043 // matrix or model view transform matrix based on whether or not deering
1044 // frustum is used. 'bounds' buffer is mutated to the expanded box.
1045 virtual void ExpandBounds(double bounds[6], vtkMatrix4x4* matrix);
1046
1049
1052
1055
1056 double Ambient[3];
1063 unsigned char* BackingImage;
1064 int BackingStoreSize[2];
1066
1068
1070
1071 // Allocate the time for each prop
1073
1074 // Internal variables indicating the number of props
1075 // that have been or will be rendered in each category.
1077
1078 // A temporary list of props used for culling, and traversal
1079 // of all props when rendering
1082
1083 // Indicates if the renderer should receive events from an interactor.
1084 // Typically only used in conjunction with transparent renderers.
1086
1087 // Shows what layer this renderer belongs to. Only of interested when
1088 // there are layered renderers.
1092
1093 // Holds the result of ComputeVisiblePropBounds so that it is visible from
1094 // wrapped languages
1095 double ComputedVisiblePropBounds[6];
1096
1105
1111
1119
1126
1131
1136 const std::array<double, 16>& GetCompositeProjectionTransformationMatrix();
1137
1142 const std::array<double, 16>& GetProjectionTransformationMatrix();
1143
1148 const std::array<double, 16>& GetViewTransformMatrix();
1149
1155 virtual int UpdateGeometry(vtkFrameBufferObjectBase* fbo = nullptr);
1156
1165
1172
1177 virtual int UpdateCamera();
1178
1185
1190 virtual int UpdateLights() { return 0; }
1191
1198
1204
1209
1215
1221
1229
1235
1246
1253
1254 bool UseSSAO = false;
1255 double SSAORadius = 0.5;
1256 double SSAOBias = 0.01;
1257 unsigned int SSAOKernelSize = 32;
1258 bool SSAOBlur = false;
1259
1266
1267 // HARDWARE SELECTION ----------------------------------------
1269
1274 {
1275 this->Selector = selector;
1276 this->Modified();
1277 }
1278
1279 // End Ivars for visible cell selecting.
1281
1282 //---------------------------------------------------------------
1285
1289
1290 friend class vtkRenderPass;
1292
1293 // Arbitrary extra information associated with this renderer
1295
1298
1299 double EnvironmentUp[3];
1300 double EnvironmentRight[3];
1301
1302private:
1306 std::array<double, 16> CompositeProjectionTransformationMatrix;
1307
1311 double LastCompositeProjectionTransformationMatrixTiledAspectRatio;
1312
1316 vtkMTimeType LastCompositeProjectionTransformationMatrixCameraModified;
1317
1321 std::array<double, 16> ProjectionTransformationMatrix;
1322
1326 double LastProjectionTransformationMatrixTiledAspectRatio;
1327
1331 vtkMTimeType LastProjectionTransformationMatrixCameraModified;
1332
1336 std::array<double, 16> ViewTransformMatrix;
1337
1341 vtkMTimeType LastViewTransformCameraModified;
1342
1346 bool SafeGetZ = false;
1347
1348 vtkRenderer(const vtkRenderer&) = delete;
1349 void operator=(const vtkRenderer&) = delete;
1350};
1351
1353{
1354 return this->Lights;
1355}
1356
1361{
1362 return this->Cullers;
1363}
1364
1365VTK_ABI_NAMESPACE_END
1366#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:66
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
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:168
record modification and/or execution time
abstract specification for Viewports
Definition vtkViewport.h:65
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:48
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)