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 
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
Proxy for a representations.
pqDataRepresentation is the superclass for a display for a pqPipelineSource i.e.
This is PQ representation for a single representation.
This is PQ representation for a single display.
This is a PQ abstraction of a generic view module.
Definition: pqView.h:26
name
#define PQCORE_EXPORT
Definition: pqCoreModule.h:15
proxy for a VTK object(s) on a server
Definition: vtkSMProxy.h:140
provides meta data about arrays.
PQ representation for a vtkSMProxy that can be involved in a pipeline.
virtual void setView(pqView *)
Called by pqView when this representation gets added to / removed from the view.
pqServer (should be renamed to pqSession) is a pqServerManagerModelItem subclass that represents a vt...
Definition: pqServer.h:35