36 #ifndef _pqPipelineSource_h 37 #define _pqPipelineSource_h 39 #include "pqCoreModule.h" 44 class pqPipelineSourceInternal;
47 class vtkPVDataInformation;
48 class vtkSMSourceProxy;
61 QObject* parent=NULL);
66 int getNumberOfOutputPorts()
const;
72 pqOutputPort* getOutputPort(
const QString& portName)
const;
75 QList<pqOutputPort*> getOutputPorts()
const;
78 int getNumberOfConsumers(
int outputport)
const;
83 {
return this->getNumberOfConsumers(0); }
91 {
return this->getConsumer(0, index); }
94 QList<pqPipelineSource*> getAllConsumers()
const;
98 QList<pqDataRepresentation*> getRepresentations(
int outputport,
pqView* view)
const;
100 {
return this->getRepresentations(0, view); }
106 {
return this->getRepresentation(0, view); }
110 QList<pqView*> getViews()
const;
115 void renderAllViews(
bool force=
false);
118 void updatePipeline();
122 vtkSMSourceProxy* getSourceProxy();
156 void onRepresentationVisibilityChanged();
178 pqPipelineSourceInternal *Internal;
pqDataRepresentation is the superclass for a display for a pqPipelineSource i.e.
QList< pqDataRepresentation * > getRepresentations(pqView *view) const
pqOutputPort is a server manager model item for an output port of any pqPipelineSource item...
int getNumberOfConsumers() const
Get the number of consumers connected to output port 0.
void addConsumer(int outputport, pqPipelineSource *)
This is a PQ abstraction of a generic view module.
pqPipelineSource * getConsumer(int index) const
Get consumer at a particular index on output port 0.
pqDataRepresentation * getRepresentation(pqView *view) const
void removeConsumer(int outputport, pqPipelineSource *)
called by pqPipelineFilter when the connections change.
This class represents any registered Server Manager proxy.
PQ representation for a vtkSMProxy that can be involved in a pipeline.
pqServer (should be renamed to pqSession) is a pqServerManagerModelItem subclass that represents a vt...