VTK  9.2.6
vtkRenderer.h
Go to the documentation of this file.
1/*=========================================================================
2
3 Program: Visualization Toolkit
4 Module: vtkRenderer.h
5
6 Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7 All rights reserved.
8 See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
9
10 This software is distributed WITHOUT ANY WARRANTY; without even
11 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12 PURPOSE. See the above copyright notice for more information.
13
14=========================================================================*/
50#ifndef vtkRenderer_h
51#define vtkRenderer_h
52
53#include "vtkRenderingCoreModule.h" // For export macro
54#include "vtkViewport.h"
55
56#include "vtkActorCollection.h" // Needed for access in inline members
57#include "vtkVolumeCollection.h" // Needed for access in inline members
58
59#include <array> // To store matrices
60
61class vtkFXAAOptions;
62class vtkRenderWindow;
63class vtkVolume;
64class vtkCuller;
65class vtkActor;
66class vtkActor2D;
67class vtkCamera;
69class vtkInformation;
72class vtkLight;
75class vtkRenderPass;
76class vtkTexture;
77
78class vtkRecti;
79class vtkVector3d;
80
81class VTKRENDERINGCORE_EXPORT vtkRenderer : public vtkViewport
82{
83public:
84 vtkTypeMacro(vtkRenderer, vtkViewport);
85 void PrintSelf(ostream& os, vtkIndent indent) override;
86
92 static vtkRenderer* New();
93
95
105
110
115
120
124 vtkLightCollection* GetLights();
125
133
137 void CreateLight(void);
138
144 virtual vtkLight* MakeLight();
145
147
153 vtkGetMacro(TwoSidedLighting, vtkTypeBool);
154 vtkSetMacro(TwoSidedLighting, vtkTypeBool);
155 vtkBooleanMacro(TwoSidedLighting, vtkTypeBool);
157
159
172 vtkSetMacro(LightFollowCamera, vtkTypeBool);
173 vtkGetMacro(LightFollowCamera, vtkTypeBool);
174 vtkBooleanMacro(LightFollowCamera, vtkTypeBool);
176
178
186 vtkGetMacro(AutomaticLightCreation, vtkTypeBool);
187 vtkSetMacro(AutomaticLightCreation, vtkTypeBool);
188 vtkBooleanMacro(AutomaticLightCreation, vtkTypeBool);
190
197
202
207
212
219
226
228
234 vtkSetMacro(Erase, vtkTypeBool);
235 vtkGetMacro(Erase, vtkTypeBool);
236 vtkBooleanMacro(Erase, vtkTypeBool);
238
240
245 vtkSetMacro(Draw, vtkTypeBool);
246 vtkGetMacro(Draw, vtkTypeBool);
247 vtkBooleanMacro(Draw, vtkTypeBool);
249
255
262
267
272
276 vtkCullerCollection* GetCullers();
277
279
282 vtkSetVector3Macro(Ambient, double);
283 vtkGetVectorMacro(Ambient, double, 3);
285
287
291 vtkSetMacro(AllocatedRenderTime, double);
292 virtual double GetAllocatedRenderTime();
294
301 virtual double GetTimeFactor();
302
309 virtual void Render();
310
314 virtual void DeviceRender(){};
315
323
334
339 virtual void ClearLights(void) {}
340
344 virtual void Clear() {}
345
350
355
360 void ComputeVisiblePropBounds(double bounds[6]);
361
366
371 virtual void ResetCameraClippingRange();
372
374
377 virtual void ResetCameraClippingRange(const double bounds[6]);
378 virtual void ResetCameraClippingRange(
379 double xmin, double xmax, double ymin, double ymax, double zmin, double zmax);
381
383
388 vtkSetClampMacro(NearClippingPlaneTolerance, double, 0, 0.99);
389 vtkGetMacro(NearClippingPlaneTolerance, double);
391
393
398 vtkSetClampMacro(ClippingRangeExpansion, double, 0, 0.99);
399 vtkGetMacro(ClippingRangeExpansion, double);
401
408 virtual void ResetCamera();
409
419 virtual void ResetCamera(const double bounds[6]);
420
424 virtual void ResetCamera(
425 double xmin, double xmax, double ymin, double ymax, double zmin, double zmax);
426
431 virtual void ResetCameraScreenSpace();
432
438 virtual void ResetCameraScreenSpace(const double bounds[6]);
439
440 using vtkViewport::DisplayToWorld;
441
445 vtkVector3d DisplayToWorld(const vtkVector3d& display);
446
452 void ZoomToBoxUsingViewAngle(const vtkRecti& box, const double offsetRatio = 1.0);
453
457 virtual void ResetCameraScreenSpace(
458 double xmin, double xmax, double ymin, double ymax, double zmin, double zmax);
459
461
466 void SetRenderWindow(vtkRenderWindow*);
467 vtkRenderWindow* GetRenderWindow() { return this->RenderWindow; }
470
472
478 vtkSetMacro(BackingStore, vtkTypeBool);
479 vtkGetMacro(BackingStore, vtkTypeBool);
480 vtkBooleanMacro(BackingStore, vtkTypeBool);
482
484
489 vtkSetMacro(Interactive, vtkTypeBool);
490 vtkGetMacro(Interactive, vtkTypeBool);
491 vtkBooleanMacro(Interactive, vtkTypeBool);
493
495
506 virtual void SetLayer(int layer);
507 vtkGetMacro(Layer, int);
509
511
521 vtkGetMacro(PreserveColorBuffer, vtkTypeBool);
522 vtkSetMacro(PreserveColorBuffer, vtkTypeBool);
523 vtkBooleanMacro(PreserveColorBuffer, vtkTypeBool);
525
527
531 vtkSetMacro(PreserveDepthBuffer, vtkTypeBool);
532 vtkGetMacro(PreserveDepthBuffer, vtkTypeBool);
533 vtkBooleanMacro(PreserveDepthBuffer, vtkTypeBool);
535
541
545 void WorldToView() override;
546
548
551 void ViewToWorld() override;
552 void ViewToWorld(double& wx, double& wy, double& wz) override;
554
558 void WorldToView(double& wx, double& wy, double& wz) override;
559
561
564 void WorldToPose(double& wx, double& wy, double& wz) override;
565 void PoseToWorld(double& wx, double& wy, double& wz) override;
566 void ViewToPose(double& wx, double& wy, double& wz) override;
567 void PoseToView(double& wx, double& wy, double& wz) override;
569
574 double GetZ(int x, int y);
575
580
582
585 vtkGetMacro(LastRenderTimeInSeconds, double);
587
589
595 vtkGetMacro(NumberOfPropsRendered, int);
597
599
606 vtkAssemblyPath* PickProp(double selectionX, double selectionY) override
607 {
608 return this->PickProp(selectionX, selectionY, selectionX, selectionY);
609 }
611 double selectionX1, double selectionY1, double selectionX2, double selectionY2) override;
613
615
624 vtkAssemblyPath* PickProp(double selectionX, double selectionY, int fieldAssociation,
625 vtkSmartPointer<vtkSelection> selection) override
626 {
627 return this->PickProp(
628 selectionX, selectionY, selectionX, selectionY, fieldAssociation, selection);
629 }
630 vtkAssemblyPath* PickProp(double selectionX1, double selectionY1, double selectionX2,
631 double selectionY2, int fieldAssociation, vtkSmartPointer<vtkSelection> selection) override;
633
639 virtual void StereoMidpoint() { return; }
640
648
654 vtkTypeBool IsActiveCameraCreated() { return (this->ActiveCamera != nullptr); }
655
657
667 vtkSetMacro(UseDepthPeeling, vtkTypeBool);
668 vtkGetMacro(UseDepthPeeling, vtkTypeBool);
669 vtkBooleanMacro(UseDepthPeeling, vtkTypeBool);
671
677 vtkSetMacro(UseDepthPeelingForVolumes, bool);
678 vtkGetMacro(UseDepthPeelingForVolumes, bool);
679 vtkBooleanMacro(UseDepthPeelingForVolumes, bool);
680
682
691 vtkSetClampMacro(OcclusionRatio, double, 0.0, 0.5);
692 vtkGetMacro(OcclusionRatio, double);
694
696
701 vtkSetMacro(MaximumNumberOfPeels, int);
702 vtkGetMacro(MaximumNumberOfPeels, int);
704
706
711 vtkGetMacro(LastRenderingUsedDepthPeeling, vtkTypeBool);
713
715
719 vtkSetMacro(UseSSAO, bool);
720 vtkGetMacro(UseSSAO, bool);
721 vtkBooleanMacro(UseSSAO, bool);
723
725
729 vtkSetMacro(SSAORadius, double);
730 vtkGetMacro(SSAORadius, double);
732
734
738 vtkSetMacro(SSAOBias, double);
739 vtkGetMacro(SSAOBias, double);
741
743
747 vtkSetMacro(SSAOKernelSize, unsigned int);
748 vtkGetMacro(SSAOKernelSize, unsigned int);
750
752
757 vtkSetMacro(SSAOBlur, bool);
758 vtkGetMacro(SSAOBlur, bool);
759 vtkBooleanMacro(SSAOBlur, bool);
761
763
770 vtkGetObjectMacro(Delegate, vtkRendererDelegate);
772
774
779 vtkGetObjectMacro(Selector, vtkHardwareSelector);
781
783
791 vtkGetObjectMacro(BackgroundTexture, vtkTexture);
793
795
800 vtkGetObjectMacro(RightBackgroundTexture, vtkTexture);
802
804
808 vtkSetMacro(TexturedBackground, bool);
809 vtkGetMacro(TexturedBackground, bool);
810 vtkBooleanMacro(TexturedBackground, bool);
812
813 // method to release graphics resources in any derived renderers.
815
817
820 vtkSetMacro(UseFXAA, bool);
821 vtkGetMacro(UseFXAA, bool);
822 vtkBooleanMacro(UseFXAA, bool);
824
826
829 vtkGetObjectMacro(FXAAOptions, vtkFXAAOptions);
832
834
838 vtkSetMacro(UseShadows, vtkTypeBool);
839 vtkGetMacro(UseShadows, vtkTypeBool);
840 vtkBooleanMacro(UseShadows, vtkTypeBool);
842
844
848 vtkSetMacro(UseHiddenLineRemoval, vtkTypeBool);
849 vtkGetMacro(UseHiddenLineRemoval, vtkTypeBool);
850 vtkBooleanMacro(UseHiddenLineRemoval, vtkTypeBool);
852
853 // Set/Get a custom render pass.
854 // Initial value is NULL.
856 vtkGetObjectMacro(Pass, vtkRenderPass);
857
859
862 vtkGetObjectMacro(Information, vtkInformation);
865
867
873 vtkSetMacro(UseImageBasedLighting, bool);
874 vtkGetMacro(UseImageBasedLighting, bool);
875 vtkBooleanMacro(UseImageBasedLighting, bool);
877
879
890 vtkGetObjectMacro(EnvironmentTexture, vtkTexture);
891 virtual void SetEnvironmentTexture(vtkTexture* texture, bool isSRGB = false);
893
895
898 vtkGetVector3Macro(EnvironmentUp, double);
899 vtkSetVector3Macro(EnvironmentUp, double);
901
903
906 vtkGetVector3Macro(EnvironmentRight, double);
907 vtkSetVector3Macro(EnvironmentRight, double);
909
910protected:
912 ~vtkRenderer() override;
913
914 // internal method to expand bounding box to consider model transform
915 // matrix or model view transform matrix based on whether or not deering
916 // frustum is used. 'bounds' buffer is mutated to the expanded box.
917 virtual void ExpandBounds(double bounds[6], vtkMatrix4x4* matrix);
918
921
924
927
928 double Ambient[3];
935 unsigned char* BackingImage;
936 int BackingStoreSize[2];
938
940
942
943 // Allocate the time for each prop
945
946 // Internal variables indicating the number of props
947 // that have been or will be rendered in each category.
949
950 // A temporary list of props used for culling, and traversal
951 // of all props when rendering
954
955 // Indicates if the renderer should receive events from an interactor.
956 // Typically only used in conjunction with transparent renderers.
958
959 // Shows what layer this renderer belongs to. Only of interested when
960 // there are layered renderers.
961 int Layer;
964
965 // Holds the result of ComputeVisiblePropBounds so that it is visible from
966 // wrapped languages
967 double ComputedVisiblePropBounds[6];
968
977
983
991
998
1003
1008 const std::array<double, 16>& GetCompositeProjectionTransformationMatrix();
1009
1014 const std::array<double, 16>& GetProjectionTransformationMatrix();
1015
1020 const std::array<double, 16>& GetViewTransformMatrix();
1021
1027 virtual int UpdateGeometry(vtkFrameBufferObjectBase* fbo = nullptr);
1028
1037
1044
1049 virtual int UpdateCamera(void);
1050
1057
1062 virtual int UpdateLights(void) { return 0; }
1063
1070
1076
1081
1087
1093
1101
1107
1118
1125
1126 bool UseSSAO = false;
1127 double SSAORadius = 0.5;
1128 double SSAOBias = 0.01;
1129 unsigned int SSAOKernelSize = 32;
1130 bool SSAOBlur = false;
1131
1138
1139 // HARDWARE SELECTION ----------------------------------------
1141
1146 {
1147 this->Selector = selector;
1148 this->Modified();
1149 }
1150
1151 // End Ivars for visible cell selecting.
1153
1154 //---------------------------------------------------------------
1157
1161
1162 friend class vtkRenderPass;
1164
1165 // Arbitrary extra information associated with this renderer
1167
1170
1171 double EnvironmentUp[3];
1172 double EnvironmentRight[3];
1173
1174private:
1178 std::array<double, 16> CompositeProjectionTransformationMatrix;
1179
1183 double LastCompositeProjectionTransformationMatrixTiledAspectRatio;
1184
1188 vtkMTimeType LastCompositeProjectionTransformationMatrixCameraModified;
1189
1193 std::array<double, 16> ProjectionTransformationMatrix;
1194
1198 double LastProjectionTransformationMatrixTiledAspectRatio;
1199
1203 vtkMTimeType LastProjectionTransformationMatrixCameraModified;
1204
1208 std::array<double, 16> ViewTransformMatrix;
1209
1213 vtkMTimeType LastViewTransformCameraModified;
1214
1215 vtkRenderer(const vtkRenderer&) = delete;
1216 void operator=(const vtkRenderer&) = delete;
1217};
1218
1220{
1221 return this->Lights;
1222}
1223
1228{
1229 return this->Cullers;
1230}
1231
1232#endif
a actor that draws 2D data
Definition vtkActor2D.h:55
an ordered list of actors
represents an object (geometry & properties) in a rendered scene
Definition vtkActor.h:61
a list of nodes that form an assembly path
a virtual camera for 3D rendering
Definition vtkCamera.h:61
an ordered list of Cullers
a superclass for prop cullers
Definition vtkCuller.h:41
Configuration for FXAA implementations.
abstract interface to OpenGL FBOs
a simple class to control print indentation
Definition vtkIndent.h:49
Store vtkAlgorithm input/output information.
an ordered list of lights
a virtual light for 3D rendering
Definition vtkLight.h:69
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
Definition vtkRenderer.h:82
void RemoveVolume(vtkProp *p)
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
These methods map from one coordinate system to another.
virtual void SetFXAAOptions(vtkFXAAOptions *)
virtual void ClearLights(void)
Internal method temporarily removes lights before reloading them into graphics pipeline.
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,...
vtkCamera * GetActiveCamera()
Get the current camera.
void AddCuller(vtkCuller *)
Add an culler to the list of cullers.
void SetPass(vtkRenderPass *p)
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.
vtkActorCollection * GetActors()
Return any actors in this renderer.
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 that has the highest z value at the given x1, y1 and x2,y2 positions in the viewport.
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 *)
virtual int UpdateLights(void)
Ask all lights to load themselves into rendering pipeline.
virtual vtkTypeBool UpdateLightsGeometryToFollowCamera(void)
Ask the lights in the scene that are not in world space (for instance, Headlights or CameraLights tha...
~vtkRenderer() override
virtual int UpdateGeometry(vtkFrameBufferObjectBase *fbo=nullptr)
Ask all props to update and draw any opaque and translucent geometry.
int Transparent()
Returns a boolean indicating if this renderer is transparent.
virtual int UpdateCamera(void)
Ask the active camera to do whatever it needs to do prior to rendering.
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.
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)
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 vtkTypeBool UpdateLightGeometry(void)
Update the geometry of the lights in the scene that are not in world space (for instance,...
virtual int UpdateOpaquePolygonalGeometry()
Ask all props to update and draw any opaque polygonal geometry.
double TimeFactor
bool TexturedBackground
vtkVolumeCollection * Volumes
vtkWindow * GetVTKWindow() override
Return the vtkWindow that owns this vtkViewport.
virtual void ExpandBounds(double bounds[6], vtkMatrix4x4 *matrix)
void RemoveCuller(vtkCuller *)
Remove an actor from the list of cullers.
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
These methods map from one coordinate system to another.
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()
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 that has the highest z value at the given x1, y1 and x2,y2 positions in the viewport.
int CaptureGL2PSSpecialProp(vtkProp *)
This function is called to capture an instance of vtkProp that requires special handling during vtkRe...
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
void SetLightCollection(vtkLightCollection *lights)
Set the collection of lights.
virtual void ReleaseGraphicsResources(vtkWindow *)
void PoseToWorld(double &wx, double &wy, double &wz) override
These methods map from one coordinate system to another.
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.
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
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
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 CreateLight(void)
Create and add a light to renderer.
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)
vtkTimeStamp RenderTime
virtual void Render()
CALLED BY vtkRenderWindow ONLY.
virtual int UpdateTranslucentPolygonalGeometry()
Ask all props to update and draw any translucent polygonal geometry.
vtkLightCollection * GetLights()
Return the collection of lights.
vtkTypeBool LightFollowCamera
vtkFXAAOptions * FXAAOptions
Holds the FXAA configuration.
void ViewToPose(double &wx, double &wy, double &wz) override
These methods map from one coordinate system to another.
void WorldToView() override
Convert world point coordinates to view coordinates.
virtual void DeviceRenderOpaqueGeometry(vtkFrameBufferObjectBase *fbo=nullptr)
Render opaque polygonal geometry.
virtual void SetBackgroundTexture(vtkTexture *)
void AddVolume(vtkProp *p)
void WorldToView(double &wx, double &wy, double &wz) override
Convert world point coordinates to view coordinates.
virtual double GetAllocatedRenderTime()
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().
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:78
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:60
window superclass for vtkRenderWindow
Definition vtkWindow.h:48
int vtkTypeBool
Definition vtkABI.h:69
vtkTypeUInt32 vtkMTimeType
Definition vtkType.h:287
#define VTK_SIZEHINT(...)