32 #ifndef pqActiveObjects_h 33 #define pqActiveObjects_h 35 #include "pqComponentsModule.h" 47 class vtkEventQtSlotConnect;
48 class vtkSMProxySelectionModel;
49 class vtkSMSessionProxyManager;
59 typedef QObject Superclass;
78 {
return this->ActiveRepresentation; }
82 return this->activeServer()?
83 this->activeServer()->activeSourcesSelectionModel() : NULL;
88 {
return this->Selection; }
92 vtkSMSessionProxyManager* proxyManager()
const;
95 void setActiveView(
pqView * view);
99 void onActiveServerChanged();
111 void viewChanged(
pqView* view);
137 void updateRepresentation();
139 void sourceSelectionChanged();
140 void viewSelectionChanged();
148 void triggerSignals();
156 QPointer<pqServer> ActiveServer;
157 QPointer<pqPipelineSource> ActiveSource;
158 QPointer<pqOutputPort> ActivePort;
159 QPointer<pqView> ActiveView;
160 QPointer<pqDataRepresentation> ActiveRepresentation;
168 void* CachedRepresentation;
171 vtkEventQtSlotConnect* VTKConnector;
pqView * activeView() const
Returns the active view.
pqDataRepresentation is the superclass for a display for a pqPipelineSource i.e.
pqOutputPort is a server manager model item for an output port of any pqPipelineSource item...
This is PQ representation for a single representation.
const pqProxySelection & selection() const
Returns the current source selection.
pqServerManagerModelItem is a element maintained by pqServerManagerModel.
pqProxySelection is used to specify a selection comprising proxies.
This is a PQ abstraction of a generic view module.
pqActiveObjects is a singleton that keeps track of "active objects" including active view...
pqPipelineSource * activeSource() const
Returns the active source.
pqDataRepresentation * activeRepresentation() const
Returns the active representation.
PQ representation for a vtkSMProxy that can be involved in a pipeline.
pqServer * activeServer() const
Returns the active server.
vtkSMProxySelectionModel * activeSourcesSelectionModel() const
pqOutputPort * activePort() const
Returns the active port.
pqServer (should be renamed to pqSession) is a pqServerManagerModelItem subclass that represents a vt...