pqPipelineRepresentation.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright (c) Kitware Inc.
2 // SPDX-FileCopyrightText: Copyright (c) Sandia Corporation
3 // SPDX-License-Identifier: BSD-3-Clause
4 
10 #ifndef pqPipelineRepresentation_h
11 #define pqPipelineRepresentation_h
12 
13 #include "pqDataRepresentation.h"
14 #include <QPair>
15 
16 class pqPipelineSource;
17 class pqRenderViewModule;
18 class pqServer;
23 
30 class PQCORE_EXPORT pqPipelineRepresentation : public pqDataRepresentation
31 {
32  Q_OBJECT
34 
35 public:
36  // Constructor.
37  // \c group :- smgroup in which the proxy has been registered.
38  // \c name :- smname as which the proxy has been registered.
39  // \c repr :- the representation proxy.
40  // \c server:- server on which the proxy is created.
41  // \c parent:- QObject parent.
42  pqPipelineRepresentation(const QString& group, const QString& name, vtkSMProxy* repr,
43  pqServer* server, QObject* parent = nullptr);
44  ~pqPipelineRepresentation() override;
45 
46  // Get the internal display proxy.
47  vtkSMRepresentationProxy* getRepresentationProxy() const;
48 
49 protected:
50  // Overridden to set up some additional Qt connections
51  void setView(pqView* view) override;
52 
53 public Q_SLOTS:
54  // If lookuptable is set up and is used for coloring,
55  // then calling this method resets the table ranges to match the current
56  // range of the selected array.
57  void resetLookupTableScalarRange();
58 
59  // If lookuptable is set up and is used for coloring,
60  // then calling this method resets the table ranges to match the
61  // range of the selected array over time. This can potentially be a slow
62  // processes hence use with caution!!!
63  void resetLookupTableScalarRangeOverTime();
64 };
65 
66 #endif
pqPipelineRepresentation
This is PQ representation for a single display.
Definition: pqPipelineRepresentation.h:30
vtkSMRepresentationProxy
Proxy for a representations.
Definition: vtkSMRepresentationProxy.h:76
pqView
This is a PQ abstraction of a generic view module.
Definition: pqView.h:26
pqDataRepresentation
pqDataRepresentation is the superclass for a display for a pqPipelineSource i.e.
Definition: pqDataRepresentation.h:24
pqRepresentation::setView
virtual void setView(pqView *)
Called by pqView when this representation gets added to / removed from the view.
vtkPVDataSetAttributesInformation
List of array info.
Definition: vtkPVDataSetAttributesInformation.h:24
vtkSMProxy
proxy for a VTK object(s) on a server
Definition: vtkSMProxy.h:140
pqRepresentation
This is PQ representation for a single representation.
Definition: pqRepresentation.h:19
pqServer
pqServer (should be renamed to pqSession) is a pqServerManagerModelItem subclass that represents a vt...
Definition: pqServer.h:35
pqPipelineSource
PQ representation for a vtkSMProxy that can be involved in a pipeline.
Definition: pqPipelineSource.h:32
name
name
vtkPVArrayInformation
provides meta data about arrays.
Definition: vtkPVArrayInformation.h:30
pqDataRepresentation.h