vtkPVCompositeRepresentation.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright (c) Kitware Inc.
2 // SPDX-License-Identifier: BSD-3-Clause
17 #ifndef vtkPVCompositeRepresentation_h
18 #define vtkPVCompositeRepresentation_h
19 
21 #include "vtkRemotingViewsModule.h" //needed for exports
22 
26 
27 class VTKREMOTINGVIEWS_EXPORT vtkPVCompositeRepresentation : public vtkCompositeRepresentation
28 {
29 public:
32  void PrintSelf(ostream& os, vtkIndent indent) override;
33 
38  void SetSelectionRepresentation(vtkSelectionRepresentation*);
39  void SetGridAxesRepresentation(vtkPVGridAxes3DRepresentation*);
40 
45  void SetPolarAxesRepresentation(vtkPolarAxesRepresentation*);
46 
50  void MarkModified() override;
51 
56  void SetVisibility(bool visible) override;
57 
61  virtual void SetSelectionVisibility(bool visible);
62 
66  virtual void SetPolarAxesVisibility(bool visible);
67 
69 
72  void SetUpdateTime(double time) override;
73  void SetForceUseCache(bool val) override;
74  void SetForcedCacheKey(double val) override;
75  void SetInputConnection(int port, vtkAlgorithmOutput* input) override;
76  void SetInputConnection(vtkAlgorithmOutput* input) override;
77  void AddInputConnection(int port, vtkAlgorithmOutput* input) override;
78  void AddInputConnection(vtkAlgorithmOutput* input) override;
79  void RemoveInputConnection(int port, vtkAlgorithmOutput* input) override;
80  void RemoveInputConnection(int port, int idx) override;
82 
84 
87  virtual void SetPointFieldDataArrayName(const char*);
88  virtual void SetCellFieldDataArrayName(const char*);
90 
95  unsigned int Initialize(unsigned int minIdAvailable, unsigned int maxIdAvailable) override;
96 
97 protected:
99  ~vtkPVCompositeRepresentation() override;
100 
106  bool AddToView(vtkView* view) override;
107 
113  bool RemoveFromView(vtkView* view) override;
114 
118 
120 
121 private:
123  void operator=(const vtkPVCompositeRepresentation&) = delete;
124 };
125 
126 #endif
vtkCompositeRepresentation::MarkModified
void MarkModified() override
Propagate the modification to all internal representations.
vtkCompositeRepresentation::AddInputConnection
void AddInputConnection(int port, vtkAlgorithmOutput *input) override
Overridden to simply pass the input to the internal representations.
vtkCompositeRepresentation::RemoveInputConnection
void RemoveInputConnection(int port, vtkAlgorithmOutput *input) override
Overridden to simply pass the input to the internal representations.
vtkPVCompositeRepresentation::SelectionRepresentation
vtkSelectionRepresentation * SelectionRepresentation
Definition: vtkPVCompositeRepresentation.h:115
vtkCompositeRepresentation.h
vtkCompositeRepresentation::SetForcedCacheKey
void SetForcedCacheKey(double val) override
Passed on to internal representations as well.
vtkPVDataRepresentation::Initialize
virtual unsigned int Initialize(unsigned int minIdAvailable, unsigned int maxIdAvailable)
Initialize the representation with an identifier range so each internal representation can own a uniq...
vtkCompositeRepresentation::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
vtkCompositeRepresentation::AddToView
bool AddToView(vtkView *view) override
Adds the representation to the view.
vtkPolarAxesRepresentation
Definition: vtkPolarAxesRepresentation.h:23
vtkCompositeRepresentation
combine multiple representations into one with only 1 representation active at a time.
Definition: vtkCompositeRepresentation.h:28
vtkCompositeRepresentation::SetVisibility
void SetVisibility(bool val) override
Methods overridden to propagate to the active representation.
vtkPVGridAxes3DRepresentation
Representation for vtkPVGridAxis3DActor.
Definition: vtkPVGridAxes3DRepresentation.h:20
vtkCompositeRepresentation::RemoveFromView
bool RemoveFromView(vtkView *view) override
Removes the representation to the view.
vtkView
vtkIndent
vtkSelectionRepresentation
Definition: vtkSelectionRepresentation.h:23
vtkCompositeRepresentation::SetInputConnection
void SetInputConnection(int port, vtkAlgorithmOutput *input) override
Overridden to simply pass the input to the internal representations.
vtkPVCompositeRepresentation::PolarAxesRepresentation
vtkPolarAxesRepresentation * PolarAxesRepresentation
Definition: vtkPVCompositeRepresentation.h:117
vtkPVCompositeRepresentation::SelectionVisibility
bool SelectionVisibility
Definition: vtkPVCompositeRepresentation.h:119
vtkCompositeRepresentation::SetUpdateTime
void SetUpdateTime(double time) override
Passed on to internal representations as well.
vtkCompositeRepresentation::SetForceUseCache
void SetForceUseCache(bool val) override
Passed on to internal representations as well.
vtkAlgorithmOutput
vtkPVCompositeRepresentation
a data-representation used by ParaView.
Definition: vtkPVCompositeRepresentation.h:27
vtkCompositeRepresentation::New
static vtkCompositeRepresentation * New()
vtkPVCompositeRepresentation::GridAxesRepresentation
vtkPVGridAxes3DRepresentation * GridAxesRepresentation
Definition: vtkPVCompositeRepresentation.h:116