vtkPVRenderView.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright (c) Kitware Inc.
2 // SPDX-License-Identifier: BSD-3-Clause
15 #ifndef vtkPVRenderView_h
16 #define vtkPVRenderView_h
17 
18 #include "vtkBoundingBox.h" // needed for iVar
19 #include "vtkNew.h" // needed for iVar
20 #include "vtkPVView.h"
21 #include "vtkParaViewDeprecation.h"
22 #include "vtkRemotingViewsModule.h" //needed for exports
23 #include "vtkSmartPointer.h" // needed for iVar
24 #include "vtkWeakPointer.h" // needed for iVar
25 
26 class vtkAlgorithmOutput;
27 class vtkCamera;
28 class vtkCameraOrientationWidget;
29 class vtkCuller;
31 class vtkFloatArray;
32 class vtkFXAAOptions;
40 class vtkLight;
41 class vtkLightKit;
42 class vtkMatrix4x4;
44 class vtkProp;
45 class vtkPVAxesWidget;
54 class vtkRenderer;
55 class vtkRenderViewBase;
56 class vtkRenderWindow;
58 class vtkSkybox;
60 class vtkTexture;
61 class vtkTimerLog;
63 
64 class VTKREMOTINGVIEWS_EXPORT vtkPVRenderView : public vtkPVView
65 {
66  //*****************************************************************
67 public:
68  static vtkPVRenderView* New();
69  vtkTypeMacro(vtkPVRenderView, vtkPVView);
70  void PrintSelf(ostream& os, vtkIndent indent) override;
71 
73  {
74  INTERACTION_MODE_UNINTIALIZED = -1,
75  INTERACTION_MODE_3D = 0,
76  INTERACTION_MODE_2D, // not implemented yet.
79  INTERACTION_MODE_POLYGON
80  };
81 
83 
94  virtual void SetInteractionMode(int mode);
95  vtkGetMacro(InteractionMode, int);
97 
99 
103  void SetSize(int, int) override;
104  void SetPosition(int, int) override;
106 
108 
113  vtkGetObjectMacro(NonCompositedRenderer, vtkRenderer);
115 
119  enum
120  {
121  DEFAULT_RENDERER = 0,
122  NON_COMPOSITED_RENDERER = 1,
123  };
124 
130  virtual vtkRenderer* GetRenderer(int rendererType = DEFAULT_RENDERER);
131 
133 
137  vtkCamera* GetActiveCamera();
138  virtual void SetActiveCamera(vtkCamera*);
140 
144  vtkRenderWindowInteractor* GetInteractor();
145 
151  virtual void SetupInteractor(vtkRenderWindowInteractor*);
152 
154 
157  vtkGetObjectMacro(InteractorStyle, vtkPVInteractorStyle);
159 
161 
167  void ResetCamera();
168  void ResetCamera(double bounds[6]);
169  void ResetCameraScreenSpace(double offsetRatio = 0.9);
170  void ResetCameraScreenSpace(double* bounds, double offsetRatio = 0.9);
171  // void ResetCameraScreenSpace(double offsetRatio, double bounds[6]);
173 
175 
181  double* ComputeVisibleBounds(vtkPVDataRepresentation* pvrepr) VTK_SIZEHINT(6);
182  double LastRepresentationVisibleBounds[6];
184 
190  void StillRender() override;
191 
198  void InteractiveRender() override;
199 
201 
209  vtkSetMacro(SuppressRendering, bool);
210  vtkGetMacro(SuppressRendering, bool);
211  vtkBooleanMacro(SuppressRendering, bool);
213 
215 
223  vtkSetClampMacro(StillRenderImageReductionFactor, int, 1, 20);
224  vtkGetMacro(StillRenderImageReductionFactor, int);
226 
228 
234  vtkSetClampMacro(InteractiveRenderImageReductionFactor, int, 1, 20);
235  vtkGetMacro(InteractiveRenderImageReductionFactor, int);
237 
239 
244  vtkSetMacro(RemoteRenderingThreshold, double);
245  vtkGetMacro(RemoteRenderingThreshold, double);
247 
249 
254  vtkSetMacro(LODRenderingThreshold, double);
255  vtkGetMacro(LODRenderingThreshold, double);
257 
259 
265  vtkSetClampMacro(LODResolution, double, 0.0, 1.0);
266  vtkGetMacro(LODResolution, double);
268 
270 
276  vtkSetMacro(UseOutlineForLODRendering, bool);
277  vtkGetMacro(UseOutlineForLODRendering, bool);
279 
288  void ConfigureCompressor(const char* configuration);
289 
294  virtual void ResetCameraClippingRange();
295 
297 
301  void SetUseLightKit(bool enable);
302  vtkGetMacro(UseLightKit, bool);
303  vtkBooleanMacro(UseLightKit, bool);
305 
307  void StreamingUpdate(const double view_planes[24]);
308  void DeliverStreamedPieces(unsigned int size, unsigned int* representation_ids);
310 
314  static vtkInformationIntegerKey* USE_LOD();
315 
319  static vtkInformationDoubleKey* LOD_RESOLUTION();
320 
325  static vtkInformationIntegerKey* USE_OUTLINE_FOR_LOD();
326 
333  static vtkInformationIntegerKey* RENDER_EMPTY_IMAGES();
334 
339  static vtkInformationIntegerKey* NEED_ORDERED_COMPOSITING();
340 
345  static vtkInformationDoubleVectorKey* VIEW_PLANES();
346 
350  static vtkInformationRequestKey* REQUEST_STREAMING_UPDATE();
351 
355  static vtkInformationRequestKey* REQUEST_PROCESS_STREAMED_PIECE();
356 
358 
365  void SelectCells(int region[4], const char* array = nullptr);
366  void SelectCells(int region0, int region1, int region2, int region3, const char* array = nullptr)
367  {
368  int r[4] = { region0, region1, region2, region3 };
369  this->SelectCells(r, array);
370  }
371  void SelectPoints(int region[4], const char* array = nullptr);
372  void SelectPoints(int region0, int region1, int region2, int region3, const char* array = nullptr)
373  {
374  int r[4] = { region0, region1, region2, region3 };
375  this->SelectPoints(r, array);
376  }
377  void Select(int field_association, int region[4], const char* array = nullptr);
379 
381 
391  void SelectPolygonPoints(int* polygon2DArray, vtkIdType arrayLen);
392  void SelectPolygonCells(int* polygon2DArray, vtkIdType arrayLen);
393  void SelectPolygon(int field_association, int* polygon2DArray, vtkIdType arrayLen);
395 
397 
401  vtkGetObjectMacro(LastSelection, vtkSelection);
403 
405 
409  vtkSetMacro(UseInteractiveRenderingForScreenshots, bool);
410  vtkBooleanMacro(UseInteractiveRenderingForScreenshots, bool);
411  vtkGetMacro(UseInteractiveRenderingForScreenshots, bool);
413 
415 
418  vtkGetMacro(RemoteRenderingAvailable, bool);
419  void RemoteRenderingAvailableOff() { this->RemoteRenderingAvailable = false; }
421 
423 
426  void NVPipeAvailableOn();
427  void NVPipeAvailableOff();
429 
431 
434  vtkGetMacro(UsedLODForLastRender, bool);
436 
442  void InvalidateCachedSelection();
443 
445 
450  static vtkAlgorithmOutput* GetPieceProducer(
451  vtkInformation* info, vtkPVDataRepresentation* repr, int port = 0);
452  static vtkAlgorithmOutput* GetPieceProducerLOD(
453  vtkInformation* info, vtkPVDataRepresentation* repr, int port = 0);
454  static void SetRedistributionMode(
455  vtkInformation* info, vtkPVDataRepresentation* repr, int mode, int port = 0);
456  static void SetRedistributionModeToSplitBoundaryCells(
457  vtkInformation* info, vtkPVDataRepresentation* repr, int port = 0);
458  static void SetRedistributionModeToDuplicateBoundaryCells(
459  vtkInformation* info, vtkPVDataRepresentation* repr, int port = 0);
460  static void SetRedistributionModeToUniquelyAssignBoundaryCells(
461  vtkInformation* info, vtkPVDataRepresentation* repr, int port = 0);
462  static void SetGeometryBounds(vtkInformation* info, vtkPVDataRepresentation* repr,
463  const double bounds[6], vtkMatrix4x4* transform = nullptr, int port = 0);
464  static void SetStreamable(vtkInformation* info, vtkPVDataRepresentation* repr, bool streamable);
465  static void SetNextStreamedPiece(
467  static vtkDataObject* GetCurrentStreamedPiece(
470 
472 
499  enum
500  {
501  USE_BOUNDS_FOR_REDISTRIBUTION = 0x01,
502  DATA_IS_REDISTRIBUTABLE = 0x02,
503  USE_DATA_FOR_LOAD_BALANCING = 0x40,
504  };
505  static void SetOrderedCompositingConfiguration(vtkInformation* info,
506  vtkPVDataRepresentation* repr, int config, const double* bounds = nullptr, int port = 0);
508 
513  void SetMaxClipBounds(double bds[6]);
514 
516 
520  void SetLockBounds(bool nv);
521  vtkGetMacro(LockBounds, bool);
523 
529  static void SetDeliverToAllProcesses(
530  vtkInformation* info, vtkPVDataRepresentation* repr, bool clone);
531 
541  static void SetDeliverToClientAndRenderingProcesses(vtkInformation* info,
542  vtkPVDataRepresentation* repr, bool deliver_to_client, bool gather_before_delivery,
543  int port = 0);
544 
546 
554  static void SetRequiresDistributedRendering(
555  vtkInformation* info, vtkPVDataRepresentation* repr, bool value, bool for_lod = false);
557  vtkInformation* info, vtkPVDataRepresentation* repr, bool value)
558  {
560  }
562 
564 
576  static void SetForceDataDistributionMode(vtkInformation* info, int flag);
577  bool IsForceDataDistributionModeSet() const { return this->ForceDataDistributionMode != -1; }
578  int GetForceDataDistributionMode() const { return this->ForceDataDistributionMode; }
580 
582 
587  int RegisterPropForHardwareSelection(vtkPVDataRepresentation* repr, vtkProp* prop);
588  void UnRegisterPropForHardwareSelection(vtkPVDataRepresentation* repr, vtkProp* prop);
590 
592 
595  void SetShowAnnotation(bool val);
596  vtkSetMacro(UpdateAnnotation, bool);
598 
600 
603  void SetAnnotationColor(double r, double g, double b);
605 
609  virtual void SetGridAxes3DActor(vtkPVGridAxes3DActor*);
610 
614  virtual void SetLegendGridActor(vtkLegendScaleActor*);
615 
617 
620  virtual void SetOrientationAxesInteractivity(bool);
621  virtual void SetOrientationAxesVisibility(bool);
622 
623  void SetOrientationAxesLabelColor(double r, double g, double b);
624  void SetOrientationAxesOutlineColor(double r, double g, double b);
625 
626  void SetOrientationAxesXColor(double r, double g, double b);
627  void SetOrientationAxesYColor(double r, double g, double b);
628  void SetOrientationAxesZColor(double r, double g, double b);
629 
630  void SetOrientationAxesXVisibility(bool vis);
631  void SetOrientationAxesYVisibility(bool vis);
632  void SetOrientationAxesZVisibility(bool vis);
633 
634  void SetOrientationAxesXLabelText(const char* text);
635  void SetOrientationAxesYLabelText(const char* text);
636  void SetOrientationAxesZLabelText(const char* text);
638 
640 
643  void SetCameraOrientationWidgetVisibility(bool visible);
644  void SetCameraOrientationWidgetSize(int size);
645  void SetCameraOrientationWidgetPadding(int padding[2]);
646  void SetCameraOrientationWidgetAnchor(int anchor);
648 
652  virtual void SetCenterAxesVisibility(bool);
653 
655 
658  virtual void SetCenterOfRotation(double x, double y, double z);
659  virtual void SetRotationFactor(double factor);
661 
663 
666  void SetKeyLightWarmth(double val);
667  void SetKeyLightIntensity(double val);
668  void SetKeyLightElevation(double val);
669  void SetKeyLightAzimuth(double val);
670  void SetFillLightWarmth(double val);
671  void SetKeyToFillRatio(double val);
672  void SetFillLightElevation(double val);
673  void SetFillLightAzimuth(double val);
674  void SetBackLightWarmth(double val);
675  void SetKeyToBackRatio(double val);
676  void SetBackLightElevation(double val);
677  void SetBackLightAzimuth(double val);
678  void SetHeadLightWarmth(double val);
679  void SetKeyToHeadRatio(double val);
680  void SetMaintainLuminance(int val);
682 
684 
687  vtkSetMacro(UseHiddenLineRemoval, bool);
688  virtual void SetUseDepthPeeling(int val);
689  virtual void SetUseDepthPeelingForVolumes(bool val);
690  virtual void SetMaximumNumberOfPeels(int val);
691  virtual void SetBackgroundTexture(vtkTexture* val);
693 
695 
699  vtkSetMacro(UseRenderViewSettingsForBackground, bool);
700  vtkGetMacro(UseRenderViewSettingsForBackground, bool);
702 
704  {
710  };
711 
713 
718  vtkSetClampMacro(BackgroundColorMode, int, DEFAULT, STEREO_SKYBOX);
719  vtkSetVector3Macro(Background, double);
720  vtkGetVector3Macro(Background, double);
721  vtkSetVector3Macro(Background2, double);
722  vtkGetVector3Macro(Background2, double);
723  vtkSetMacro(UseEnvironmentLighting, bool);
725 
727 
730  virtual void SetEnvironmentalBG(double r, double g, double b);
731  virtual void SetEnvironmentalBG2(double r, double g, double b);
732  virtual void SetEnvironmentalBGTexture(vtkTexture* val);
733  virtual void SetGradientEnvironmentalBG(int val);
734  virtual void SetTexturedEnvironmentalBG(int val);
735  virtual void SetBackgroundMode(int val);
737 
739 
742  void AddLight(vtkLight*);
743  void RemoveLight(vtkLight*);
745 
747 
750  void SetStereoCapableWindow(int val);
751  void SetStereoRender(int val);
752  vtkSetMacro(StereoType, int);
753  vtkSetMacro(ServerStereoType, int);
754  void SetMultiSamples(int val);
755  void SetAlphaBitPlanes(int val);
756  void SetStencilCapable(int val);
758 
762  void SetParallelProjection(int mode);
763 
765 
768  virtual void SetCamera2DManipulators(const int manipulators[9]);
769  virtual void SetCamera3DManipulators(const int manipulators[9]);
770  void SetCameraManipulators(vtkPVInteractorStyle* style, const int manipulators[9]);
771  virtual void SetReverseMouseWheelZoomDirection(bool reverse);
772  virtual void SetMouseWheelZoomsToCursor(bool value);
773  virtual void SetCamera2DMouseWheelMotionFactor(double factor);
774  virtual void SetCamera3DMouseWheelMotionFactor(double factor);
776 
782  virtual void SynchronizeGeometryBounds();
783 
791  void Update() override;
792 
796  virtual void UpdateLOD();
797 
799 
804  vtkGetMacro(UseLODForInteractiveRender, bool);
806 
808 
813  vtkGetMacro(UseDistributedRenderingForRender, bool);
815 
817 
822  vtkGetMacro(UseDistributedRenderingForLODRender, bool);
824 
826 
831  vtkGetMacro(StillRenderProcesses, vtkTypeUInt32);
833 
835 
840  vtkGetMacro(InteractiveRenderProcesses, vtkTypeUInt32);
842 
846  int GetDataDistributionMode(bool low_res);
847 
853  void Deliver(int use_lod, unsigned int size, unsigned int* representation_ids) override;
854 
863  bool GetUseOrderedCompositing();
864 
869  bool GetRenderEmptyImages();
870 
872 
875  vtkSetMacro(UseFXAA, bool);
876  vtkGetMacro(UseFXAA, bool);
878 
880 
883  void SetFXAARelativeContrastThreshold(double val);
884  void SetFXAAHardContrastThreshold(double val);
885  void SetFXAASubpixelBlendLimit(double val);
886  void SetFXAASubpixelContrastThreshold(double val);
887  void SetFXAAUseHighQualityEndpoints(bool val);
888  void SetFXAAEndpointSearchIterations(int val);
890 
895  {
896  Custom = 0,
897  Default = 1,
898  Uncharted2 = 2
899  };
900 
902 
905  void SetUseToneMapping(bool v);
906  vtkGetMacro(UseToneMapping, bool);
907  void SetToneMappingType(int);
908  void SetExposure(double);
909  void SetContrast(double);
910  void SetShoulder(double);
911  void SetMidIn(double);
912  void SetMidOut(double);
913  void SetHdrMax(double);
914  void SetUseACES(bool);
915  void SetGenericFilmicPresets(int t);
917 
919 
922  vtkSetMacro(UseSSAO, bool);
923  vtkGetMacro(UseSSAO, bool);
924  vtkSetMacro(UseSSAODefaultPresets, bool);
925  vtkSetMacro(Radius, double);
926  vtkSetMacro(KernelSize, int);
927  vtkSetMacro(Bias, double);
928  vtkSetMacro(Blur, bool);
930 
937  void CopyViewUpdateOptions(vtkPVRenderView* otherView);
938 
940 
943  void AddPropToRenderer(vtkProp* prop);
944  void RemovePropFromRenderer(vtkProp* prop);
946 
948 
962  bool BeginValuePassForRendering(int fieldAssociation, const char* arrayName, int component);
963  void EndValuePassForRendering();
964  vtkSmartPointer<vtkFloatArray> GrabValuePassResult();
966 
968 
971  void CaptureZBuffer();
972  vtkFloatArray* GetCapturedZBuffer();
974 
976 
979  void SetEnableOSPRay(bool);
980  bool GetEnableOSPRay();
983 
986  void SetShadows(bool);
987  bool GetShadows();
990 
993  void SetAmbientOcclusionSamples(int);
994  int GetAmbientOcclusionSamples();
997 
1000  void SetRouletteDepth(int);
1001  int GetRouletteDepth();
1004 
1007  PARAVIEW_DEPRECATED_IN_5_11_0("Use vtkVolumeProperty::SetScatteringAnisotropy instead")
1008  void SetVolumeAnisotropy(double);
1009  PARAVIEW_DEPRECATED_IN_5_11_0("Use vtkVolumeProperty::GetScatteringAnisotropy instead")
1010  double GetVolumeAnisotropy();
1012 
1014 
1017  void SetSamplesPerPixel(int);
1018  int GetSamplesPerPixel();
1021 
1024  void SetMaxFrames(int);
1025  int GetMaxFrames();
1027 
1030  bool GetOSPRayContinueStreaming();
1032 
1035  void SetDenoise(bool);
1036  bool GetDenoise();
1038 
1040 
1043  void SetLightScale(double);
1044  double GetLightScale();
1046 
1050  void SetOSPRayRendererType(std::string);
1052 
1055  void SetBackgroundNorth(double x, double y, double z);
1056  void SetBackgroundEast(double x, double y, double z);
1058 
1061  virtual void SetMaterialLibrary(vtkPVMaterialLibrary*);
1062  void SetViewTime(double value) override;
1064 
1067  void SetTimeCacheSize(int);
1068  int GetTimeCacheSize();
1070 
1072 
1096  static vtkPVCameraCollection* GetDiscreteCameras(
1098  static void SetDiscreteCameras(
1101 
1102  // Get the RenderViewBase used by this
1103  vtkGetObjectMacro(RenderView, vtkRenderViewBase);
1104 
1108  void ScaleRendererViewports(const double viewport[4]) override;
1109 
1114  void SynchronizeMaximumIds(vtkIdType* maxPointId, vtkIdType* maxCellId);
1115 
1119  void SetHardwareSelector(vtkPVHardwareSelector* selector);
1120 
1121 protected:
1122  vtkPVRenderView();
1123  ~vtkPVRenderView() override;
1124 
1128  virtual void Render(bool interactive, bool skip_rendering);
1129 
1134  virtual void AboutToRenderOnLocalProcess(bool interactive) { (void)interactive; }
1135 
1142  bool ShouldUseDistributedRendering(double geometry_size, bool using_lod);
1143 
1147  bool ShouldUseLODRendering(double geometry);
1148 
1153  bool IsProcessRenderingGeometriesForCompositing(bool using_distributed_rendering);
1154 
1158  void SetLastSelection(vtkSelection*);
1159 
1164  virtual void UpdateCenterAxes();
1165 
1170  bool GetLocalProcessDoesRendering(bool using_distributed_rendering);
1171 
1176  bool TestCollaborationCounter();
1177 
1182  void SynchronizeForCollaboration();
1183 
1188  virtual void BuildAnnotationText(ostream& str);
1189 
1191 
1195  vtkGetMacro(SynchronizationCounter, unsigned int);
1197 
1199 
1202  vtkGetMacro(MakingSelection, bool);
1204 
1209  virtual bool PrepareSelect(int fieldAssociation, const char* array = nullptr);
1210 
1214  virtual void PostSelect(vtkSelection* sel, const char* array = nullptr);
1215 
1220  virtual void UpdateBackground(vtkRenderer* renderer = nullptr);
1221 
1225  void ConfigureTexture(vtkTexture* texture);
1226 
1232  virtual void SetupAndSetRenderer(vtkRenderer* ren);
1233 
1250 
1256 
1257  // this ivar can be used to suppress the render within
1258  // a StillRender or InteractiveRender. This is useful
1259  // in cases where you want the representations mappers
1260  // to be setup for rendering and have their data ready
1261  // but not actually do the render. For example if you
1262  // want to export the scene but not render it you must
1263  // turn on SuppressRendering and then call StillRender
1265 
1266  // 2D and 3D interactor style
1269 
1270  bool ReverseMouseWheelZoomDirection = false;
1271 
1272  // Active interactor style either [TwoDInteractorStyle, ThreeDInteractorStyle]
1274 
1276 
1277  // Used in collaboration mode to ensure that views are in the same state
1278  // (as far as representations added/removed goes) before rendering.
1280 
1281  // In mega-bytes.
1285 
1289 
1290  bool UseFXAA;
1292 
1294 
1295  bool UseSSAO;
1297  double Radius;
1299  double Bias;
1300  bool Blur;
1301 
1304 
1310 
1311  vtkTypeUInt32 StillRenderProcesses;
1313 
1319 
1321 
1322 private:
1323  vtkPVRenderView(const vtkPVRenderView&) = delete;
1324  void operator=(const vtkPVRenderView&) = delete;
1325 
1326  bool MakingSelection;
1327  int PreviousSwapBuffers;
1328  void OnSelectionChangedEvent();
1329  void OnPolygonSelectionEvent();
1330  void FinishSelection(vtkSelection*, const char*);
1331 
1332  // This flag is set to false when not all processes cannot render e.g. cannot
1333  // open the DISPLAY etc.
1334  bool RemoteRenderingAvailable;
1335 
1336  // Flags used to maintain rendering modes requested by representations.
1337  bool DistributedRenderingRequired;
1338  bool NonDistributedRenderingRequired;
1339  bool DistributedRenderingRequiredLOD;
1340  bool NonDistributedRenderingRequiredLOD;
1341 
1342  // Cached value for parallel projection set on camera.
1343  int ParallelProjection;
1344 
1345  // Cached state. Is currently ignored for distributed rendering.
1346  bool UseHiddenLineRemoval;
1347 
1348  class vtkInternals;
1349  vtkInternals* Internals;
1350 
1351  vtkNew<vtkTextRepresentation> Annotation;
1352  void UpdateAnnotationText();
1353 
1354  vtkNew<vtkOrderedCompositingHelper> OrderedCompositingHelper;
1355 
1356  int StereoType;
1357  int ServerStereoType;
1358  void UpdateStereoProperties();
1359 
1360  int BackgroundColorMode;
1361  bool UseEnvironmentLighting;
1362  bool UseRenderViewSettingsForBackground;
1363  double Background[3];
1364  double Background2[3];
1365 
1367  vtkNew<vtkTimerLog> Timer;
1368 
1369  int ForceDataDistributionMode;
1370  int PreviousDiscreteCameraIndex;
1371  vtkSmartPointer<vtkTexture> EnvironmentalBGTexture;
1372  bool UseTexturedEnvironmentalBG;
1373 };
1374 
1375 #endif
vtkPVRenderView::LightKit
vtkLightKit * LightKit
Definition: vtkPVRenderView.h:1234
vtkPVRenderView::StillRenderProcesses
vtkTypeUInt32 StillRenderProcesses
Definition: vtkPVRenderView.h:1311
vtkPVRenderView::Blur
bool Blur
Definition: vtkPVRenderView.h:1300
vtkOrderedCompositingHelper
helper to assist in determine process order when rendering
Definition: vtkOrderedCompositingHelper.h:23
vtkPVRenderView::OrientationWidget
vtkPVAxesWidget * OrientationWidget
Definition: vtkPVRenderView.h:1243
vtkPVRenderView::DiscreteCameras
vtkWeakPointer< vtkPVCameraCollection > DiscreteCameras
Definition: vtkPVRenderView.h:1275
vtkPVView::InteractiveRender
virtual void InteractiveRender()=0
Triggers a interactive render.
vtkLight
vtkPVRenderView::STEREO_SKYBOX
@ STEREO_SKYBOX
Definition: vtkPVRenderView.h:709
vtkPVRenderView::SynchronizedRenderers
vtkPVSynchronizedRenderer * SynchronizedRenderers
Definition: vtkPVRenderView.h:1237
vtkPVRenderView::InteractorStyle
vtkPVInteractorStyle * InteractorStyle
Definition: vtkPVRenderView.h:1273
value
value
vtkIdType
int vtkIdType
vtkPVRenderView::GenericFilmicPresets
GenericFilmicPresets
Defines tone mapping generic filmic presets.
Definition: vtkPVRenderView.h:894
vtkPVRenderView::DEFAULT
@ DEFAULT
Definition: vtkPVRenderView.h:705
vtkPVRenderView::LockBounds
bool LockBounds
Definition: vtkPVRenderView.h:1320
vtkPVRenderView::IMAGE
@ IMAGE
Definition: vtkPVRenderView.h:707
vtkFloatArray
vtkPVRenderView::TwoDInteractorStyle
vtkPVInteractorStyle * TwoDInteractorStyle
Definition: vtkPVRenderView.h:1267
vtkPVView::StillRender
virtual void StillRender()=0
Triggers a high-resolution render.
vtkPVRenderView::SKYBOX
@ SKYBOX
Definition: vtkPVRenderView.h:708
vtkTimeStamp
vtkWindowToImageFilter
vtkPVRenderView::NeedsOrderedCompositing
bool NeedsOrderedCompositing
Definition: vtkPVRenderView.h:1287
vtkPVRenderView::RubberBandStyle
vtkInteractorStyleRubberBand3D * RubberBandStyle
Definition: vtkPVRenderView.h:1239
vtkPVInteractorStyle
interactive manipulation of the camera
Definition: vtkPVInteractorStyle.h:24
vtkPVRenderView::InteractiveRenderImageReductionFactor
int InteractiveRenderImageReductionFactor
Definition: vtkPVRenderView.h:1252
vtkSmartPointer< vtkFloatArray >
vtkPVRenderView::SelectCells
void SelectCells(int region0, int region1, int region2, int region3, const char *array=nullptr)
Make a selection.
Definition: vtkPVRenderView.h:366
vtkPVHardwareSelector
vtkHardwareSelector subclass with paraview specific logic to avoid recapturing buffers unless needed.
Definition: vtkPVHardwareSelector.h:24
vtkPVRenderView::GridAxes3DActor
vtkSmartPointer< vtkPVGridAxes3DActor > GridAxes3DActor
Definition: vtkPVRenderView.h:1246
vtkPVView::Deliver
virtual void Deliver(int use_lod, unsigned int size, unsigned int *representation_ids)
Called on all processes to request data-delivery for the list of representations.
vtkPVRenderView::UseToneMapping
bool UseToneMapping
Definition: vtkPVRenderView.h:1293
vtkSelection
vtkPVRenderView::InteractiveRenderProcesses
vtkTypeUInt32 InteractiveRenderProcesses
Definition: vtkPVRenderView.h:1312
vtkPVView
baseclass for all ParaView views.
Definition: vtkPVView.h:32
vtkPVRenderView::GRADIENT
@ GRADIENT
Definition: vtkPVRenderView.h:706
vtkInformationDoubleKey
vtkPVRenderView::UseDistributedRenderingForLODRender
bool UseDistributedRenderingForLODRender
Definition: vtkPVRenderView.h:1309
vtkPVRenderView::ShowAnnotation
bool ShowAnnotation
Definition: vtkPVRenderView.h:1254
vtkPVRenderView::RemoteRenderingAvailableOff
void RemoteRenderingAvailableOff()
Returns if remote-rendering is possible on the current group of processes.
Definition: vtkPVRenderView.h:419
vtkPVRenderView::FXAAOptions
vtkNew< vtkFXAAOptions > FXAAOptions
Definition: vtkPVRenderView.h:1291
vtkPVRenderView::UseSSAO
bool UseSSAO
Definition: vtkPVRenderView.h:1295
vtkPVView::Update
void Update() override
Overridden to not call Update() directly on the input representations, instead use ProcessViewRequest...
vtkPVRenderView::UseInteractiveRenderingForScreenshots
bool UseInteractiveRenderingForScreenshots
Definition: vtkPVRenderView.h:1286
vtkPVCenterAxesActor
Definition: vtkPVCenterAxesActor.h:19
vtkPVRenderView::RenderEmptyImages
bool RenderEmptyImages
Definition: vtkPVRenderView.h:1288
vtkBoundingBox
vtkPVGridAxes3DActor
ParaView extensions for vtkGridAxes3DActor.
Definition: vtkPVGridAxes3DActor.h:34
vtkTexture
vtkExtentTranslator
vtkPVRenderView::UseLightKit
bool UseLightKit
Definition: vtkPVRenderView.h:1303
vtkInteractorStyleDrawPolygon
vtkPVRenderView::ThreeDInteractorStyle
vtkPVInteractorStyle * ThreeDInteractorStyle
Definition: vtkPVRenderView.h:1268
Background
Background
vtkLegendScaleActor
vtkPVRenderView::RubberBandZoom
vtkInteractorStyleRubberBandZoom * RubberBandZoom
Definition: vtkPVRenderView.h:1240
vtkPVRenderView::StillRenderImageReductionFactor
int StillRenderImageReductionFactor
Definition: vtkPVRenderView.h:1251
vtkPVRenderView::Radius
double Radius
Definition: vtkPVRenderView.h:1297
vtkPVRenderView::INTERACTION_MODE_ZOOM
@ INTERACTION_MODE_ZOOM
Definition: vtkPVRenderView.h:78
vtkPVRenderView::CenterAxes
vtkPVCenterAxesActor * CenterAxes
Definition: vtkPVRenderView.h:1242
vtkPVRenderView::SuppressRendering
bool SuppressRendering
Definition: vtkPVRenderView.h:1264
vtkTextRepresentation
vtkPVRenderView::InteractionMode
int InteractionMode
Definition: vtkPVRenderView.h:1253
vtkPVView::SetPosition
virtual void SetPosition(int, int)
Set the position on this view in the multiview configuration.
vtkPVMaterialLibrary
manages visual material definitions
Definition: vtkPVMaterialLibrary.h:22
vtkInformationIntegerKey
vtkPVRenderView::SetRequiresDistributedRendering
static void SetRequiresDistributedRendering(vtkInformation *info, vtkPVDataRepresentation *repr, bool value, bool for_lod=false)
Some representation only work when remote rendering or local rendering.
vtkPVView::SetSize
virtual void SetSize(int, int)
Set the size of this view in the multiview configuration.
vtkCuller
vtkIndent
vtkMatrix4x4
vtkPVRenderView::UpdateAnnotation
bool UpdateAnnotation
Definition: vtkPVRenderView.h:1255
vtkCamera
vtkInteractorStyleRubberBandZoom
vtkPVRenderView::LODResolution
double LODResolution
Definition: vtkPVRenderView.h:1302
vtkPVAxesWidget
A widget to manipulate vtkPVAxesWidget.
Definition: vtkPVAxesWidget.h:29
vtkSmartPointer.h
vtkInformationRequestKey
vtkPVRenderView::Bias
double Bias
Definition: vtkPVRenderView.h:1299
vtkNew< vtkSkybox >
vtkPVRenderView::Skybox
vtkNew< vtkSkybox > Skybox
Definition: vtkPVRenderView.h:1248
vtkPVRenderView::LastSelection
vtkSelection * LastSelection
Definition: vtkPVRenderView.h:1245
vtkWeakPointer.h
vtkRenderViewBase
vtkRenderWindowInteractor
vtkParaViewDeprecation.h
vtkView::New
static vtkView * New()
vtkPVRenderView::LODRenderingThreshold
double LODRenderingThreshold
Definition: vtkPVRenderView.h:1283
vtkBoundingBox.h
vtkPVRenderView::UsedLODForLastRender
bool UsedLODForLastRender
Definition: vtkPVRenderView.h:1305
vtkInformation
vtkPVRenderView::INTERACTION_MODE_SELECTION
@ INTERACTION_MODE_SELECTION
Definition: vtkPVRenderView.h:77
vtkPVRenderView::UseDistributedRenderingForRender
bool UseDistributedRenderingForRender
Definition: vtkPVRenderView.h:1308
vtkPVCameraCollection
collection of cameras used by vtkPVRenderView for cases where one wants to limit interactions to a fi...
Definition: vtkPVCameraCollection.h:28
vtkProp
info
info
vtkTimerLog
vtkPVRenderView::RemoteRenderingThreshold
double RemoteRenderingThreshold
Definition: vtkPVRenderView.h:1282
vtkPVRenderView::LegendGridActor
vtkSmartPointer< vtkLegendScaleActor > LegendGridActor
Definition: vtkPVRenderView.h:1247
vtkNew.h
PARAVIEW_DEPRECATED_IN_5_11_0
#define PARAVIEW_DEPRECATED_IN_5_11_0(reason)
Definition: vtkParaViewDeprecation.h:109
vtkInformationDoubleVectorKey
vtkPVRenderView::UseFXAA
bool UseFXAA
Definition: vtkPVRenderView.h:1290
vtkPVSynchronizedRenderer
coordinates rendering between corresponding renderers across multiple processes
Definition: vtkPVSynchronizedRenderer.h:33
vtkPVRenderView::SelectPoints
void SelectPoints(int region0, int region1, int region2, int region3, const char *array=nullptr)
Make a selection.
Definition: vtkPVRenderView.h:372
vtkAlgorithmOutput
vtkRenderer
vtkPVRenderView::UseSSAODefaultPresets
bool UseSSAODefaultPresets
Definition: vtkPVRenderView.h:1296
vtkPVRenderView::PriorityQueueBuildTimeStamp
vtkTimeStamp PriorityQueueBuildTimeStamp
Keeps track of the time when the priority-queue for streaming was generated.
Definition: vtkPVRenderView.h:1318
vtkPVRenderView::KernelSize
int KernelSize
Definition: vtkPVRenderView.h:1298
vtkPVRenderView::GeometryBounds
vtkBoundingBox GeometryBounds
Definition: vtkPVRenderView.h:1284
vtkPVRenderView::Selector
vtkSmartPointer< vtkPVHardwareSelector > Selector
Definition: vtkPVRenderView.h:1244
vtkPVRenderView::IsForceDataDistributionModeSet
bool IsForceDataDistributionModeSet() const
This is an temporary/experimental option and may be removed without notice.
Definition: vtkPVRenderView.h:577
vtkPVRenderView::InteractionModes
InteractionModes
Definition: vtkPVRenderView.h:72
vtkPVRenderView::INTERACTION_MODE_2D
@ INTERACTION_MODE_2D
Definition: vtkPVRenderView.h:76
vtkPVRenderView::UseOutlineForLODRendering
bool UseOutlineForLODRendering
Definition: vtkPVRenderView.h:1307
vtkPVView.h
vtkPVRenderView::NonCompositedRenderer
vtkRenderer * NonCompositedRenderer
Definition: vtkPVRenderView.h:1236
vtkPVRenderView
Render View for ParaView.
Definition: vtkPVRenderView.h:64
vtkPVRenderView::UseLODForInteractiveRender
bool UseLODForInteractiveRender
Definition: vtkPVRenderView.h:1306
vtkPVRenderView::GetForceDataDistributionMode
int GetForceDataDistributionMode() const
This is an temporary/experimental option and may be removed without notice.
Definition: vtkPVRenderView.h:578
vtkPVRenderView::RenderView
vtkRenderViewBase * RenderView
Definition: vtkPVRenderView.h:1235
vtkRenderWindow
vtkPVDataRepresentation
Definition: vtkPVDataRepresentation.h:23
vtkInteractorStyleRubberBand3D
vtkPVView::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
vtkPVRenderView::CameraOrientationWidget
vtkNew< vtkCameraOrientationWidget > CameraOrientationWidget
Definition: vtkPVRenderView.h:1249
vtkDataObject
vtkPVRenderView::BackgroundMode
BackgroundMode
Definition: vtkPVRenderView.h:703
vtkPVRenderView::SynchronizationCounter
unsigned int SynchronizationCounter
Definition: vtkPVRenderView.h:1279
vtkPVRenderView::PolygonStyle
vtkInteractorStyleDrawPolygon * PolygonStyle
Definition: vtkPVRenderView.h:1241
vtkWeakPointer< vtkPVCameraCollection >
vtkPVRenderView::SetRequiresDistributedRenderingLOD
static void SetRequiresDistributedRenderingLOD(vtkInformation *info, vtkPVDataRepresentation *repr, bool value)
Some representation only work when remote rendering or local rendering.
Definition: vtkPVRenderView.h:556
vtkVolumeProperty
vtkPVRenderView::Interactor
vtkSmartPointer< vtkRenderWindowInteractor > Interactor
Definition: vtkPVRenderView.h:1238
vtkLightKit