Go to the documentation of this file.
4 #ifndef pqObjectBuilder_h
5 #define pqObjectBuilder_h
7 #include "pqCoreModule.h"
45 typedef QObject Superclass;
70 return this->createServer(resource, connectionTimeout, result);
93 const QString& sm_group,
const QString& sm_name,
pqServer* server);
101 virtual pqPipelineSource* createFilter(
const QString& group,
const QString& name,
102 QMap<QString, QList<pqOutputPort*>> namedInputs,
pqServer* server);
108 const QString& group,
const QString& name,
pqPipelineSource* input,
int output_port = 0);
116 const QString& sm_group,
const QString& sm_name,
const QStringList& files,
pqServer* server);
121 virtual pqView* createView(
const QString& type,
pqServer* server);
127 virtual void destroy(
pqView* view);
134 virtual void addToLayout(
pqView* view,
pqProxy* layout =
nullptr);
150 const QString& sm_group,
const QString& sm_name,
pqServer* server,
const QString& reg_group);
177 virtual void destroy(
pqProxy* proxy);
182 virtual void destroySources(
pqServer* server =
nullptr);
187 virtual void destroyLookupTables(
pqServer* server =
nullptr);
193 virtual void destroyPipelineProxies(
pqServer* server =
nullptr);
199 virtual void destroyAllProxies(
pqServer* server);
210 static QString getFileNamePropertyName(
vtkSMProxy*);
217 return this->ForceWaitingForConnection ? true : this->WaitingForConnection;
226 bool forceWaitingForConnection(
bool force);
232 void abortPendingConnections();
239 void finishedAddingServer(
pqServer* server);
269 void aboutToCreateView(
pqServer* server);
277 void viewCreated(
pqView*);
309 void destroying(
pqView* view);
336 void destroying(
pqProxy* proxy);
342 virtual void destroyProxyInternal(
pqProxy* proxy);
347 bool ForceWaitingForConnection;
348 bool WaitingForConnection;
pqScalarsToColors is a represents a vtkScalarsToColors proxy.
bool waitingForConnection() const
Returns true while pqObjectBuilder is in createServer() call.
This is a PQ abstraction of a generic view module.
pqDataRepresentation is the superclass for a display for a pqPipelineSource i.e.
ConnectionResult
Possible result of connection when creating a new connection CONNECTION_SUCCESS: Connection was suces...
pqObjectBuilder is loosely based on the Builder design pattern.
proxy for a VTK object(s) on a server
This is PQ representation for a single representation.
pqServer (should be renamed to pqSession) is a pqServerManagerModelItem subclass that represents a vt...
pqServerResource encapsulates a resource in ParaView.
pqServer * createServer(const pqServerResource &resource, int connectionTimeout=60)
Create a server connection give a server resource.
PQ representation for a vtkSMProxy that can be involved in a pipeline.
This class represents any registered Server Manager proxy.
pqScalarBarRepresentation is created for "ScalarBarWidgetRepresentation" proxies.
pqOutputPort is a server manager model item for an output port of any pqPipelineSource item.
pqAnimationCue is the pqProxy wrapping an animation proxy.