|
| | PipelineLayout (const std::string &type) |
| | PipelineLayout constructor. More...
|
| |
| | PipelineLayout (const AbstractPipelineLayout &c) |
| | PipelineLayout constructor. More...
|
| |
| int | add (const AbstractFilterLayout &filterLayout, const std::string &name) |
| | Add a filter to the pipeline layout. More...
|
| |
| int | add (const AbstractPipelineLayout &pipelineLayout, const std::string &name) |
| | Add a subpipeline to the pipeline layout. More...
|
| |
| int | addInput (const std::string &name) |
| | Add an input port to the pipeline layout. More...
|
| |
| int | addOutput (const std::string &name) |
| | Add an output port to the pipeline layout. More...
|
| |
| void | connect (int filterOut, int portOut, int filterIn, int portIn) |
| | Create a connection between two elements or an element and this pipeline and raise an exception if any errors occur. More...
|
| |
| void | connect (const std::string &filterOut, const std::string &portOut, const std::string &filterIn, const std::string &portIn) |
| | Create a connection between two elements or an element and this pipeline and raise an exception if any errors occur. More...
|
| |
| void | connectToInput (int port, int filterIn, int portIn) |
| | Create a connection between an input port of this pipeline and one of its element and raise an exception if any errors occur. More...
|
| |
| void | connectToInput (const std::string &port, const std::string &filterIn, const std::string &portIn) |
| | Create a connection between an input port of this pipeline and one of its element and raise an exception if any errors occur. More...
|
| |
| void | connectToOutput (int filterOut, int portOut, int port) |
| | Create a connection between an output port of this pipeline and one of its element and raise an exception if any errors occur. More...
|
| |
| void | connectToOutput (const std::string &filterOut, const std::string &portOut, const std::string &port) |
| | Create a connection between an output port of this pipeline and one of its element and raise an exception if any errors occur. More...
|
| |
| void | autoConnect (void) |
| | Create automatically all connections based on the name of the input and output ports and the name of the input and output textures of all Filters. More...
|
| |
| | ComponentLayout (const std::string &_layoutName) |
| | ComponentLayout constructor. More...
|
| |
| | ComponentLayout (const AbstractComponentLayout &) |
| | ComponentLayout constructor. More...
|
| |
| void | setInputPortName (int i, const std::string &newName) |
| | Change the name of an input port. More...
|
| |
| void | setOutputPortName (int i, const std::string &newName) |
| | Change the name of an output port. More...
|
| |
| | AbstractComponentLayout (const AbstractComponentLayout &) |
| | AbstractComponentLayout constructor. More...
|
| |
| void | checkInputPort (int i) const |
| | Check the validity of an input port. Raise an exception if any errors occur. More...
|
| |
| void | checkOutputPort (int i) const |
| | Check the validity of an output port. Raise an exception if any errors occur. More...
|
| |
| virtual std::string | getFullName (void) const |
| | Returns the full name of this component (might be overloaded). More...
|
| |
| const std::string & | getLayoutName (void) const |
| | Returns the layout name of this component. More...
|
| |
| int | getNumInputPort (void) const |
| | Get the number of input ports. More...
|
| |
| const std::string & | getInputPortName (int i) const |
| | Return the name of an input port. Raise an exception if any errors occur. More...
|
| |
| int | getInputPortID (const std::string &name) const |
| | Get the index of an input port knowing its name. Raise an exception if any errors occur. More...
|
| |
| bool | doesInputPortExist (const std::string &name) const |
| | Check if an input port exists, knowing its name. More...
|
| |
| int | getNumOutputPort (void) const |
| | Get the number of output ports. More...
|
| |
| const std::string & | getOutputPortName (int i) const |
| | Return the name of an output port. Raise an exception if any errors occur. More...
|
| |
| int | getOutputPortID (const std::string &name) const |
| | Get the index of an output port knowing its name. Raise an exception if any errors occur. More...
|
| |
| bool | doesOutputPortExist (const std::string &name) const |
| | Check if an output port exists, knowing its name. More...
|
| |
| | AbstractPipelineLayout (const AbstractPipelineLayout &c) |
| | AbstractPipelineLayout constructor. More...
|
| |
| void | checkElement (int i) const |
| | Check if element exists and raise an exception if any errors occur. More...
|
| |
| int | getNumElements (void) const |
| | Get the number of elements. More...
|
| |
| int | getNumConnections (void) const |
| | Get the number of connections. More...
|
| |
| void | getInfoElements (int &numFilters, int &numPipelines, int &numUniformVariables) |
| | Get the total number of Filters and Pipelines contained by this pipeline. More...
|
| |
| int | getElementIndex (const std::string &name) const |
| | Get the ID of an element knowing its name. More...
|
| |
| bool | doesElementExist (const std::string &name) const |
| | Check if an element exists knowing its name. More...
|
| |
| ComponentKind | getElementKind (int i) const |
| | Get the kind of an element. More...
|
| |
| const std::string & | getElementName (int i) const |
| | Get the name of an element. More...
|
| |
| int | getElementID (int i) const |
| | Get element ID in global structure. More...
|
| |
| int | getElementID (const std::string &name) const |
| | Get element ID in global structure. More...
|
| |
| AbstractComponentLayout & | componentLayout (int i) const |
| | Get the component layout by its index. More...
|
| |
| AbstractComponentLayout & | componentLayout (const std::string &name) const |
| | Get the component layout by its name. More...
|
| |
| AbstractFilterLayout & | filterLayout (int i) const |
| | Get the filter layout by its index. More...
|
| |
| AbstractFilterLayout & | filterLayout (const std::string &name) const |
| | Get the filter layout by its name. More...
|
| |
| AbstractPipelineLayout & | pipelineLayout (int i) const |
| | Get the pipeline layout by its index. More...
|
| |
| AbstractPipelineLayout & | pipelineLayout (const std::string &name) const |
| | Get the pipeline layout by its name. More...
|
| |
| Connection | getConnection (int i) const |
| | Get the connection by its ID. More...
|
| |
| bool | check (bool exception=true) |
| | Check the validity of the pipeline layout. More...
|
| |
Pipeline layout.
How to create a pipeline layout :
sobelLayout.addInput("intputImage");
sobelLayout.addInput("imageDerivatives");
sobelLayout.add(sobelFilter, "instSobelFilter");
sobelLayout.connectToInput("inputImage", "sobelFilter", "inputTexture");
sobelLayout.connectToOutput("sobelFilter", "outputTexture", "imageDerivatives");