OpenSceneGraph
3.0.1
|
Concrete implementation of a CaptureOperation that writes the screen capture to a file. More...
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 |
Concrete implementation of a CaptureOperation that writes the screen capture to a file.
osgViewer::ScreenCaptureHandler::WriteToFile::WriteToFile | ( | const std::string & | filename, |
const std::string & | extension, | ||
SavePolicy | savePolicy = SEQUENTIAL_NUMBER |
||
) |
SavePolicy osgViewer::ScreenCaptureHandler::WriteToFile::getSavePolicy | ( | ) | const [inline] |
virtual void osgViewer::ScreenCaptureHandler::WriteToFile::operator() | ( | const osg::Image & | image, |
const unsigned int | context_id | ||
) | [virtual] |
WriteToFile& osgViewer::ScreenCaptureHandler::WriteToFile::operator= | ( | const WriteToFile & | ) | [inline, protected] |
void osgViewer::ScreenCaptureHandler::WriteToFile::setSavePolicy | ( | SavePolicy | savePolicy | ) | [inline] |
std::vector<unsigned int> osgViewer::ScreenCaptureHandler::WriteToFile::_contextSaveCounter [protected] |
const std::string osgViewer::ScreenCaptureHandler::WriteToFile::_extension [protected] |
const std::string osgViewer::ScreenCaptureHandler::WriteToFile::_filename [protected] |
![]() | Generated at Mon Oct 3 2011 12:39:51 for the OpenSceneGraph by doxygen 1.7.5. |