36 #ifndef _pqPipelineFilter_h 37 #define _pqPipelineFilter_h 39 #include "pqCoreModule.h" 51 QObject* parent=NULL);
55 static QList<const char*> getInputPorts(vtkSMProxy*);
60 static QList<const char*> getRequiredInputPorts(vtkSMProxy*);
63 int getNumberOfInputPorts()
const;
66 QString getInputPortName(
int index)
const;
69 int getNumberOfInputs(
const QString& portname)
const;
72 QList<pqOutputPort*> getInputs(
const QString& portname)
const;
75 QList<pqOutputPort*> getAllInputs()
const;
79 QMap<QString, QList<pqOutputPort*> > getNamedInputs()
const;
83 pqOutputPort* getInput(
const QString& portname,
int index)
const;
87 {
return this->getNumberOfInputs(this->getInputPortName(0)); }
91 {
return this->getInputs(this->getInputPortName(0)); }
102 int replaceInput()
const;
106 void producerChanged(
const QString& inputportname);
110 void inputChanged(vtkObject*,
unsigned long,
void* client_data);
120 void inputChanged(
const QString& portname);
123 pqInternal* Internal;
pqOutputPort is a server manager model item for an output port of any pqPipelineSource item...
QList< pqOutputPort * > getInputs() const
virtual void initialize()
int getInputCount() const
Get number of inputs.
PQ representation for a vtkSMProxy that can be involved in a pipeline.
friend class pqPipelineFilter
pqServer (should be renamed to pqSession) is a pqServerManagerModelItem subclass that represents a vt...