#include <TextureContainerActions.h>
Inheritance diagram for OpenGL::ChannelSelector:
Public Member Functions | |
ChannelSelector (TextureContainer *container) | |
std::string | run (const std::vector< std::string > ¶meters) |
The run() function can be called with the following arguments:
"range <minValue> <maxValue>" - calls setRange().
"<channel>" - calls activateSingleChannel().
"<channel><channel>" - calls activateDualChannels().
"<channel><channel><channel>" - calls activateTripleChannels().
<channel> must be a character with value 'r', 'g', 'b', or 'a'.
|
Creates a ChannelSelector for the given TextureContainer.
|
|
Implementation of handle, must be supplied by concrete subclasses.
Implements Console::Action. |