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 "vtkRemotingViewsModule.h" //needed for exports
22 #include "vtkSmartPointer.h" // needed for iVar
23 #include "vtkWeakPointer.h" // needed for iVar
24 
25 class vtkAlgorithmOutput;
26 class vtkCamera;
27 class vtkCameraOrientationWidget;
28 class vtkCuller;
30 class vtkFloatArray;
31 class vtkFXAAOptions;
39 class vtkLight;
40 class vtkLightKit;
41 class vtkMatrix4x4;
43 class vtkPolarAxesActor2D;
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 
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(
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  {
559  vtkPVRenderView::SetRequiresDistributedRendering(info, repr, value, true);
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 
619  virtual void SetPolarGridActor(vtkPolarAxesActor2D*);
620 
622 
625  virtual void SetOrientationAxesInteractivity(bool);
626  virtual void SetOrientationAxesVisibility(bool);
627 
628  void SetOrientationAxesLabelColor(double r, double g, double b);
629  void SetOrientationAxesOutlineColor(double r, double g, double b);
630 
631  void SetOrientationAxesXColor(double r, double g, double b);
632  void SetOrientationAxesYColor(double r, double g, double b);
633  void SetOrientationAxesZColor(double r, double g, double b);
634 
635  void SetOrientationAxesXVisibility(bool vis);
636  void SetOrientationAxesYVisibility(bool vis);
637  void SetOrientationAxesZVisibility(bool vis);
638 
639  void SetOrientationAxesXLabelText(const char* text);
640  void SetOrientationAxesYLabelText(const char* text);
641  void SetOrientationAxesZLabelText(const char* text);
643 
645 
648  void SetCameraOrientationWidgetVisibility(bool visible);
649  void SetCameraOrientationWidgetSize(int size);
650  void SetCameraOrientationWidgetPadding(int padding[2]);
651  void SetCameraOrientationWidgetAnchor(int anchor);
653 
657  virtual void SetCenterAxesVisibility(bool);
658 
660 
663  virtual void SetCenterOfRotation(double x, double y, double z);
664  virtual void SetRotationFactor(double factor);
666 
668 
671  void SetKeyLightWarmth(double val);
672  void SetKeyLightIntensity(double val);
673  void SetKeyLightElevation(double val);
674  void SetKeyLightAzimuth(double val);
675  void SetFillLightWarmth(double val);
676  void SetKeyToFillRatio(double val);
677  void SetFillLightElevation(double val);
678  void SetFillLightAzimuth(double val);
679  void SetBackLightWarmth(double val);
680  void SetKeyToBackRatio(double val);
681  void SetBackLightElevation(double val);
682  void SetBackLightAzimuth(double val);
683  void SetHeadLightWarmth(double val);
684  void SetKeyToHeadRatio(double val);
685  void SetMaintainLuminance(int val);
687 
689 
692  vtkSetMacro(UseHiddenLineRemoval, bool);
693  virtual void SetUseDepthPeeling(int val);
694  virtual void SetUseDepthPeelingForVolumes(bool val);
695  virtual void SetMaximumNumberOfPeels(int val);
696  virtual void SetBackgroundTexture(vtkTexture* val);
698 
700 
704  vtkSetMacro(UseRenderViewSettingsForBackground, bool);
705  vtkGetMacro(UseRenderViewSettingsForBackground, bool);
707 
709  {
715  };
716 
718 
723  vtkSetClampMacro(BackgroundColorMode, int, DEFAULT, STEREO_SKYBOX);
724  vtkSetVector3Macro(Background, double);
725  vtkGetVector3Macro(Background, double);
726  vtkSetVector3Macro(Background2, double);
727  vtkGetVector3Macro(Background2, double);
728  vtkSetMacro(UseEnvironmentLighting, bool);
730 
732 
735  virtual void SetEnvironmentalBG(double r, double g, double b);
736  virtual void SetEnvironmentalBG2(double r, double g, double b);
737  virtual void SetEnvironmentalBGTexture(vtkTexture* val);
738  virtual void SetGradientEnvironmentalBG(int val);
739  virtual void SetTexturedEnvironmentalBG(int val);
740  virtual void SetBackgroundMode(int val);
742 
744 
747  void AddLight(vtkLight*);
748  void RemoveLight(vtkLight*);
750 
752 
755  void SetStereoCapableWindow(int val);
756  void SetStereoRender(int val);
757  vtkSetMacro(StereoType, int);
758  vtkSetMacro(ServerStereoType, int);
759  void SetMultiSamples(int val);
760  void SetAlphaBitPlanes(int val);
761  void SetStencilCapable(int val);
763 
767  void SetParallelProjection(int mode);
768 
770 
773  virtual void SetCamera2DManipulators(const int manipulators[9]);
774  virtual void SetCamera3DManipulators(const int manipulators[9]);
775  void SetCameraManipulators(vtkPVInteractorStyle* style, const int manipulators[9]);
776  virtual void SetReverseMouseWheelZoomDirection(bool reverse);
777  virtual void SetMouseWheelZoomsToCursor(bool value);
778  virtual void SetCamera2DMouseWheelMotionFactor(double factor);
779  virtual void SetCamera3DMouseWheelMotionFactor(double factor);
781 
787  virtual void SynchronizeGeometryBounds();
788 
796  void Update() override;
797 
801  virtual void UpdateLOD();
802 
804 
809  vtkGetMacro(UseLODForInteractiveRender, bool);
811 
813 
818  vtkGetMacro(UseDistributedRenderingForRender, bool);
820 
822 
827  vtkGetMacro(UseDistributedRenderingForLODRender, bool);
829 
831 
836  vtkGetMacro(StillRenderProcesses, vtkTypeUInt32);
838 
840 
845  vtkGetMacro(InteractiveRenderProcesses, vtkTypeUInt32);
847 
851  int GetDataDistributionMode(bool low_res);
852 
858  void Deliver(int use_lod, unsigned int size, unsigned int* representation_ids) override;
859 
868  bool GetUseOrderedCompositing();
869 
874  bool GetRenderEmptyImages();
875 
877 
880  vtkSetMacro(UseFXAA, bool);
881  vtkGetMacro(UseFXAA, bool);
883 
885 
888  void SetFXAARelativeContrastThreshold(double val);
889  void SetFXAAHardContrastThreshold(double val);
890  void SetFXAASubpixelBlendLimit(double val);
891  void SetFXAASubpixelContrastThreshold(double val);
892  void SetFXAAUseHighQualityEndpoints(bool val);
893  void SetFXAAEndpointSearchIterations(int val);
895 
900  {
901  Custom = 0,
902  Default = 1,
903  Uncharted2 = 2
904  };
905 
907 
910  void SetUseToneMapping(bool v);
911  vtkGetMacro(UseToneMapping, bool);
912  void SetToneMappingType(int);
913  void SetExposure(double);
914  void SetContrast(double);
915  void SetShoulder(double);
916  void SetMidIn(double);
917  void SetMidOut(double);
918  void SetHdrMax(double);
919  void SetUseACES(bool);
920  void SetGenericFilmicPresets(int t);
922 
924 
927  vtkSetMacro(UseSSAO, bool);
928  vtkGetMacro(UseSSAO, bool);
929  vtkSetMacro(UseSSAODefaultPresets, bool);
930  vtkSetMacro(Radius, double);
931  vtkSetMacro(KernelSize, int);
932  vtkSetMacro(Bias, double);
933  vtkSetMacro(Blur, bool);
935 
942  void CopyViewUpdateOptions(vtkPVRenderView* otherView);
943 
945 
948  void AddPropToRenderer(vtkProp* prop);
949  void RemovePropFromRenderer(vtkProp* prop);
951 
953 
967  bool BeginValuePassForRendering(int fieldAssociation, const char* arrayName, int component);
968  void EndValuePassForRendering();
969  vtkSmartPointer<vtkFloatArray> GrabValuePassResult();
971 
973 
976  void CaptureZBuffer();
977  vtkFloatArray* GetCapturedZBuffer();
979 
981 
984  void SetEnableOSPRay(bool);
985  bool GetEnableOSPRay();
988 
991  void SetShadows(bool);
992  bool GetShadows();
995 
998  void SetAmbientOcclusionSamples(int);
999  int GetAmbientOcclusionSamples();
1002 
1005  void SetRouletteDepth(int);
1006  int GetRouletteDepth();
1008 
1010 
1013  void SetSamplesPerPixel(int);
1014  int GetSamplesPerPixel();
1017 
1020  void SetMaxFrames(int);
1021  int GetMaxFrames();
1023 
1026  bool GetOSPRayContinueStreaming();
1028 
1031  void SetDenoise(bool);
1032  bool GetDenoise();
1034 
1036 
1039  void SetLightScale(double);
1040  double GetLightScale();
1042 
1046  void SetOSPRayRendererType(std::string);
1048 
1051  void SetBackgroundNorth(double x, double y, double z);
1052  void SetBackgroundEast(double x, double y, double z);
1054 
1057  virtual void SetMaterialLibrary(vtkPVMaterialLibrary*);
1058  void SetViewTime(double value) override;
1060 
1063  void SetTimeCacheSize(int);
1064  int GetTimeCacheSize();
1066 
1068 
1092  static vtkPVCameraCollection* GetDiscreteCameras(
1094  static void SetDiscreteCameras(
1097 
1098  // Get the RenderViewBase used by this
1099  vtkGetObjectMacro(RenderView, vtkRenderViewBase);
1100 
1104  void ScaleRendererViewports(const double viewport[4]) override;
1105 
1110  void SynchronizeMaximumIds(vtkIdType* maxPointId, vtkIdType* maxCellId);
1111 
1115  void SetHardwareSelector(vtkPVHardwareSelector* selector);
1116 
1117 protected:
1118  vtkPVRenderView();
1119  ~vtkPVRenderView() override;
1120 
1124  virtual void Render(bool interactive, bool skip_rendering);
1125 
1130  virtual void AboutToRenderOnLocalProcess(bool interactive) { (void)interactive; }
1131 
1138  bool ShouldUseDistributedRendering(double geometry_size, bool using_lod);
1139 
1143  bool ShouldUseLODRendering(double geometry);
1144 
1149  bool IsProcessRenderingGeometriesForCompositing(bool using_distributed_rendering);
1150 
1154  void SetLastSelection(vtkSelection*);
1155 
1160  virtual void UpdateCenterAxes();
1161 
1166  bool GetLocalProcessDoesRendering(bool using_distributed_rendering);
1167 
1172  bool TestCollaborationCounter();
1173 
1178  void SynchronizeForCollaboration();
1179 
1184  virtual void BuildAnnotationText(ostream& str);
1185 
1187 
1191  vtkGetMacro(SynchronizationCounter, unsigned int);
1193 
1195 
1198  vtkGetMacro(MakingSelection, bool);
1200 
1205  virtual bool PrepareSelect(int fieldAssociation, const char* array = nullptr);
1206 
1210  virtual void PostSelect(vtkSelection* sel, const char* array = nullptr);
1211 
1216  virtual void UpdateBackground(vtkRenderer* renderer = nullptr);
1217 
1221  void ConfigureTexture(vtkTexture* texture);
1222 
1228  virtual void SetupAndSetRenderer(vtkRenderer* ren);
1229 
1247 
1253 
1254  // this ivar can be used to suppress the render within
1255  // a StillRender or InteractiveRender. This is useful
1256  // in cases where you want the representations mappers
1257  // to be setup for rendering and have their data ready
1258  // but not actually do the render. For example if you
1259  // want to export the scene but not render it you must
1260  // turn on SuppressRendering and then call StillRender
1262 
1263  // 2D and 3D interactor style
1266 
1267  bool ReverseMouseWheelZoomDirection = false;
1268 
1269  // Active interactor style either [TwoDInteractorStyle, ThreeDInteractorStyle]
1271 
1273 
1274  // Used in collaboration mode to ensure that views are in the same state
1275  // (as far as representations added/removed goes) before rendering.
1277 
1278  // In mega-bytes.
1282 
1286 
1287  bool UseFXAA;
1289 
1291 
1292  bool UseSSAO;
1294  double Radius;
1296  double Bias;
1297  bool Blur;
1298 
1301 
1307 
1308  vtkTypeUInt32 StillRenderProcesses;
1310 
1316 
1318 
1319 private:
1320  vtkPVRenderView(const vtkPVRenderView&) = delete;
1321  void operator=(const vtkPVRenderView&) = delete;
1322 
1323  bool MakingSelection;
1324  int PreviousSwapBuffers;
1325  void OnSelectionChangedEvent();
1326  void OnPolygonSelectionEvent();
1327  void FinishSelection(vtkSelection*, const char*);
1328 
1329  // This flag is set to false when not all processes cannot render e.g. cannot
1330  // open the DISPLAY etc.
1331  bool RemoteRenderingAvailable;
1332 
1333  // Flags used to maintain rendering modes requested by representations.
1334  bool DistributedRenderingRequired;
1335  bool NonDistributedRenderingRequired;
1336  bool DistributedRenderingRequiredLOD;
1337  bool NonDistributedRenderingRequiredLOD;
1338 
1339  // Cached value for parallel projection set on camera.
1340  int ParallelProjection;
1341 
1342  // Cached state. Is currently ignored for distributed rendering.
1343  bool UseHiddenLineRemoval;
1344 
1345  class vtkInternals;
1346  vtkInternals* Internals;
1347 
1348  vtkNew<vtkTextRepresentation> Annotation;
1349  void UpdateAnnotationText();
1350 
1351  vtkNew<vtkOrderedCompositingHelper> OrderedCompositingHelper;
1352 
1353  int StereoType;
1354  int ServerStereoType;
1355  void UpdateStereoProperties();
1356 
1357  int BackgroundColorMode;
1358  bool UseEnvironmentLighting;
1359  bool UseRenderViewSettingsForBackground;
1360  double Background[3];
1361  double Background2[3];
1362 
1364  vtkNew<vtkTimerLog> Timer;
1365 
1366  int ForceDataDistributionMode;
1367  int PreviousDiscreteCameraIndex;
1368  vtkSmartPointer<vtkTexture> EnvironmentalBGTexture;
1369  bool UseTexturedEnvironmentalBG;
1370 };
1371 
1372 #endif
static void SetRequiresDistributedRenderingLOD(vtkInformation *info, vtkPVDataRepresentation *repr, bool value)
Some representation only work when remote rendering or local rendering.
vtkSmartPointer< vtkPolarAxesActor2D > PolarAxesActor
vtkPVInteractorStyle * InteractorStyle
coordinates rendering between corresponding renderers across multiple processes
static vtkView * New()
vtkPVInteractorStyle * TwoDInteractorStyle
vtkSelection * LastSelection
vtkSmartPointer< vtkPVHardwareSelector > Selector
#define VTKREMOTINGVIEWS_EXPORT
virtual void SetViewTime(double value)
Get/Set the time this view is showing.
manages visual material definitions
vtkPVDataRepresentation adds some ParaView specific API to data representations.
vtkRenderViewBase * RenderView
virtual void AboutToRenderOnLocalProcess(bool interactive)
Called just before the local process renders.
bool UseDistributedRenderingForLODRender
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. ...
double RemoteRenderingThreshold
vtkPVSynchronizedRenderer * SynchronizedRenderers
void Update() override
Overridden to not call Update() directly on the input representations, instead use ProcessViewRequest...
info
virtual void ScaleRendererViewports(const double viewport[4])
vtkViewLayout calls this method to update the total viewport available for this view.
int vtkIdType
vtkHardwareSelector subclass with paraview specific logic to avoid recapturing buffers unless needed...
vtkSmartPointer< vtkPVGridAxes3DActor > GridAxes3DActor
int GetForceDataDistributionMode() const
This is an temporary/experimental option and may be removed without notice.
baseclass for all ParaView views.
Definition: vtkPVView.h:32
int InteractiveRenderImageReductionFactor
void SelectCells(int region0, int region1, int region2, int region3, const char *array=nullptr)
Make a selection.
void RemoteRenderingAvailableOff()
Returns if remote-rendering is possible on the current group of processes.
vtkSmartPointer< vtkLegendScaleActor > LegendGridActor
virtual void SetSize(int, int)
Set the size of this view in the multiview configuration.
bool UseInteractiveRenderingForScreenshots
vtkNew< vtkFXAAOptions > FXAAOptions
bool IsForceDataDistributionModeSet() const
This is an temporary/experimental option and may be removed without notice.
vtkTypeUInt32 StillRenderProcesses
A widget to manipulate vtkPVAxesWidget.
vtkNew< vtkSkybox > Skybox
vtkInteractorStyleRubberBandZoom * RubberBandZoom
vtkPVAxesWidget * OrientationWidget
double LODRenderingThreshold
vtkNew< vtkCameraOrientationWidget > CameraOrientationWidget
static void SetRequiresDistributedRendering(vtkInformation *info, vtkPVDataRepresentation *repr, bool value, bool for_lod=false)
Some representation only work when remote rendering or local rendering.
size
mode
unsigned int SynchronizationCounter
collection of cameras used by vtkPVRenderView for cases where one wants to limit interactions to a fi...
vtkInteractorStyleDrawPolygon * PolygonStyle
void SelectPoints(int region0, int region1, int region2, int region3, const char *array=nullptr)
Make a selection.
GenericFilmicPresets
Defines tone mapping generic filmic presets.
vtkTimeStamp PriorityQueueBuildTimeStamp
Keeps track of the time when the priority-queue for streaming was generated.
Background
vtkBoundingBox GeometryBounds
virtual void SetPosition(int, int)
Set the position on this view in the multiview configuration.
vtkRenderer * NonCompositedRenderer
vtkWeakPointer< vtkPVCameraCollection > DiscreteCameras
bool UseDistributedRenderingForRender
int StillRenderImageReductionFactor
vtkPVCenterAxesActor * CenterAxes
void PrintSelf(ostream &os, vtkIndent indent) override
virtual void StillRender()=0
Triggers a high-resolution render.
vtkPVCenterAxesActor is an actor for the center-axes used in ParaView.
port
Render View for ParaView.
interactive manipulation of the camera
vtkLightKit * LightKit
virtual void InteractiveRender()=0
Triggers a interactive render.
vtkSmartPointer< vtkRenderWindowInteractor > Interactor
vtkInteractorStyleRubberBand3D * RubberBandStyle
vtkPVInteractorStyle * ThreeDInteractorStyle
ParaView extensions for vtkGridAxes3DActor.
helper to assist in determine process order when rendering
vtkTypeUInt32 InteractiveRenderProcesses