Developer Documentation
|
Public Member Functions | |
bool | postProcessorExists (QString _name) |
Check if a post processor with the given name exists. More... | |
PostProcessorInfo * | newPostProcessor (QString _name) |
Get a new post processor Instance. More... | |
PostProcessorInfo * | getPostProcessor (QString _name) |
get post processor with the given name More... | |
PostProcessorInfo * | operator[] (unsigned int _id) |
Get the post processor with the given id. More... | |
unsigned int | available () |
number of available post processor More... | |
void | setActive (unsigned int _active, int _viewerId) |
set the active post processor for viewer More... | |
void | setActive (QString _active, int _id) |
Set the active post processor for viewer. More... | |
unsigned int | activeId (int _id, int _chainIdx=0) |
Get the id of the active post processor for viewer at chain index. More... | |
PostProcessorInfo * | active (int _id, int _chainIdx=0) |
Get the current active post processor for viewer at chain index. More... | |
Support for multiple post-processors per viewer | |
void | append (unsigned int _active, int _viewerId) |
Append the active post processor to the chain for viewer. More... | |
void | append (QString _active, int _id) |
Append the active post processor to the chain for viewer. More... | |
void | insert (unsigned int _active, int _chainIdx, int _viewerId) |
Insert the active post processor to the chain for viewer. More... | |
void | insert (QString _active, int _chainIdx, int _id) |
Insert the active post processor to the chain for viewer. More... | |
void | remove (int _id, int _chainIdx) |
Remove a post processor at the specified chain index. More... | |
int | numActive (int _id) |
Get the number of active post processors for viewer. More... | |
Private Attributes | |
std::vector< PostProcessorInfo > | availablePostProcessors_ |
Vector holding all available post processors. | |
std::vector< std::vector < unsigned int > > | activePostProcessors_ |
The currently active post processor chain. | |
Definition at line 220 of file RendererInfo.hh.
PostProcessorInfo * PostProcessorManager::active | ( | int | _id, |
int | _chainIdx = 0 |
||
) |
Get the current active post processor for viewer at chain index.
_id | ViewerId |
_chainIdx | Post processor chain index |
Definition at line 326 of file RendererInfo.cc.
unsigned int PostProcessorManager::activeId | ( | int | _id, |
int | _chainIdx = 0 |
||
) |
Get the id of the active post processor for viewer at chain index.
_id | ViewerId |
_chainIdx | Post processor chain index |
Definition at line 342 of file RendererInfo.cc.
void PostProcessorManager::append | ( | unsigned int | _active, |
int | _viewerId | ||
) |
Append the active post processor to the chain for viewer.
_viewerId | viewer id |
_active | id of the post processor |
Definition at line 371 of file RendererInfo.cc.
void PostProcessorManager::append | ( | QString | _active, |
int | _id | ||
) |
Append the active post processor to the chain for viewer.
_id | viewer id |
_active | name of the post processor |
Definition at line 390 of file RendererInfo.cc.
unsigned int PostProcessorManager::available | ( | ) |
number of available post processor
Definition at line 283 of file RendererInfo.cc.
PostProcessorInfo * PostProcessorManager::getPostProcessor | ( | QString | _name | ) |
get post processor with the given name
_name | Name of the post processor |
Definition at line 265 of file RendererInfo.cc.
void PostProcessorManager::insert | ( | unsigned int | _active, |
int | _chainIdx, | ||
int | _viewerId | ||
) |
Insert the active post processor to the chain for viewer.
_viewerId | viewer id |
_chainIdx | Post processor chain index |
_active | id of the post processor |
Definition at line 410 of file RendererInfo.cc.
void PostProcessorManager::insert | ( | QString | _active, |
int | _chainIdx, | ||
int | _id | ||
) |
Insert the active post processor to the chain for viewer.
_active | name of the post processor |
_chainIdx | Post processor chain index |
_id | viewer id |
Definition at line 429 of file RendererInfo.cc.
PostProcessorInfo * PostProcessorManager::newPostProcessor | ( | QString | _name | ) |
Get a new post processor Instance.
_name | Name of the new post processor |
Definition at line 253 of file RendererInfo.cc.
int PostProcessorManager::numActive | ( | int | _id | ) |
Get the number of active post processors for viewer.
_id | ViewerId |
Definition at line 358 of file RendererInfo.cc.
PostProcessorInfo * PostProcessorManager::operator[] | ( | unsigned int | _id | ) |
Get the post processor with the given id.
_id | Id of the post processor |
Definition at line 274 of file RendererInfo.cc.
bool PostProcessorManager::postProcessorExists | ( | QString | _name | ) |
Check if a post processor with the given name exists.
_name | Name of the post processor |
Definition at line 243 of file RendererInfo.cc.
void PostProcessorManager::remove | ( | int | _id, |
int | _chainIdx | ||
) |
Remove a post processor at the specified chain index.
_id | viewer id |
_chainIdx | Post processor chain index |
Definition at line 448 of file RendererInfo.cc.
void PostProcessorManager::setActive | ( | unsigned int | _active, |
int | _viewerId | ||
) |
set the active post processor for viewer
_viewerId | viewer id |
_active | id of the post processor |
Definition at line 287 of file RendererInfo.cc.
void PostProcessorManager::setActive | ( | QString | _active, |
int | _id | ||
) |
Set the active post processor for viewer.
This will reset the current post processor chain to one active post processor (the given one)
_id | viewer id |
_active | name of the post processor |
Definition at line 304 of file RendererInfo.cc.