Developer Documentation
|
Interface to add global image post processor functions from within plugins. More...
#include <OpenFlipper/BasePlugin/PostProcessorInterface.hh>
Public Slots | |
virtual void | postProcess (ACG::GLState *_glState, const std::vector< const PostProcessorInput *> &_input, const PostProcessorOutput &_output)=0 |
post processor function More... | |
virtual QString | postProcessorName ()=0 |
announce name for the postProcessor function More... | |
virtual bool | isStereoProcessor () |
does post processor resolve stereo buffer More... | |
virtual void | getFormatDesc (PostProcessorFormatDesc *_desc) |
virtual QAction * | optionsAction () |
Return options menu. More... | |
Public Member Functions | |
virtual | ~PostProcessorInterface () |
Destructor. | |
Private Slots | |
virtual QString | checkOpenGL ()=0 |
Check OpenGL capabilities. More... | |
Interface to add global image post processor functions from within plugins.
Detailed description
Interface for adding and controlling global image post processor functions from a plugin.
Definition at line 147 of file PostProcessorInterface.hh.
|
privatepure virtualslot |
Check OpenGL capabilities.
This function has to be implemented and checks, if all required OpenGL extensions are available. If this is not the case, the plugin will be refused by the core to avoid crashes due to insufficient OpenGL support.
You can get the version information in the following way:
|
inlinevirtualslot |
does post processor resolve stereo buffer
The post processor gets the left and right image as input and composes a combined stereo output.
Definition at line 174 of file PostProcessorInterface.hh.
|
inlinevirtualslot |
Return options menu.
If you want an options Menu or menu entry, you can return your action here. It will be shown on top of the post processors list in the options menu.
Definition at line 195 of file PostProcessorInterface.hh.
|
pure virtualslot |
post processor function
|
pure virtualslot |
announce name for the postProcessor function
Implemented in PostProcessorPhilipsStereoPlugin.