Public Types | |
enum | SavePolicy { OVERWRITE, SEQUENTIAL_NUMBER } |
Public Member Functions | |
WriteToFile (const std::string &filename, const std::string &extension, SavePolicy savePolicy=SEQUENTIAL_NUMBER) | |
virtual void | operator() (const osg::Image &image, const unsigned int context_id) |
void | setSavePolicy (SavePolicy savePolicy) |
SavePolicy | getSavePolicy () const |
Protected Member Functions | |
WriteToFile & | operator= (const WriteToFile &) |
Protected Attributes | |
const std::string | _filename |
const std::string | _extension |
SavePolicy | _savePolicy |
std::vector< unsigned int > | _contextSaveCounter |
osgViewer::ScreenCaptureHandler::WriteToFile::WriteToFile | ( | const std::string & | filename, | |
const std::string & | extension, | |||
SavePolicy | savePolicy = SEQUENTIAL_NUMBER | |||
) |
virtual void osgViewer::ScreenCaptureHandler::WriteToFile::operator() | ( | const osg::Image & | image, | |
const unsigned int | context_id | |||
) | [virtual] |
void osgViewer::ScreenCaptureHandler::WriteToFile::setSavePolicy | ( | SavePolicy | savePolicy | ) | [inline] |
SavePolicy osgViewer::ScreenCaptureHandler::WriteToFile::getSavePolicy | ( | ) | const [inline] |
WriteToFile& osgViewer::ScreenCaptureHandler::WriteToFile::operator= | ( | const WriteToFile & | ) | [inline, protected] |
const std::string osgViewer::ScreenCaptureHandler::WriteToFile::_filename [protected] |
const std::string osgViewer::ScreenCaptureHandler::WriteToFile::_extension [protected] |
std::vector<unsigned int> osgViewer::ScreenCaptureHandler::WriteToFile::_contextSaveCounter [protected] |