Output filter that splits rgb images into separate r/g/b components. More...
#include <Transport/SplitRgbOfilt.H>
Public Member Functions | |
SplitRgbOfilt (OptionManager &mgr, const std::string &descrName="RGB-splitting output filter", const std::string &tagName="SplitRgbOfilt") | |
Constructor. | |
virtual | ~SplitRgbOfilt () |
Destructor. | |
Protected Member Functions | |
virtual void | filterFrame (FrameOstream &dest, const GenericFrame &frame, const std::string &shortname, const FrameInfo &auxinfo) |
Subclasses implement their filtering here. |
Output filter that splits rgb images into separate r/g/b components.
Definition at line 44 of file SplitRgbOfilt.H.
SplitRgbOfilt::SplitRgbOfilt | ( | OptionManager & | mgr, | |
const std::string & | descrName = "RGB-splitting output filter" , |
|||
const std::string & | tagName = "SplitRgbOfilt" | |||
) |
Constructor.
Definition at line 50 of file SplitRgbOfilt.C.
SplitRgbOfilt::~SplitRgbOfilt | ( | ) | [virtual] |
Destructor.
Definition at line 58 of file SplitRgbOfilt.C.
void SplitRgbOfilt::filterFrame | ( | FrameOstream & | dest, | |
const GenericFrame & | frame, | |||
const std::string & | shortname, | |||
const FrameInfo & | auxinfo | |||
) | [protected, virtual] |
Subclasses implement their filtering here.
A trivial pass-through implementation would be dest.writeFrame(frame, shortname, auxinfo)
Implements FrameOfilt.
Definition at line 62 of file SplitRgbOfilt.C.
References getComponents(), and FrameOstream::writeFrame().