Concrete implementation of a CaptureOperation that writes the screen capture to a file.
More...
Detailed Description
Concrete implementation of a CaptureOperation that writes the screen capture to a file.
Member Enumeration Documentation
- Enumerator:
| OVERWRITE |
|
| SEQUENTIAL_NUMBER |
|
Constructor & Destructor Documentation
| osgViewer::ScreenCaptureHandler::WriteToFile::WriteToFile |
( |
const std::string & |
filename, |
|
|
const std::string & |
extension, |
|
|
SavePolicy |
savePolicy = SEQUENTIAL_NUMBER |
|
) |
| |
Member Function Documentation
| SavePolicy osgViewer::ScreenCaptureHandler::WriteToFile::getSavePolicy |
( |
| ) |
const |
|
inline |
| virtual void osgViewer::ScreenCaptureHandler::WriteToFile::operator() |
( |
const osg::Image & |
image, |
|
|
const unsigned int |
context_id |
|
) |
| |
|
virtual |
| void osgViewer::ScreenCaptureHandler::WriteToFile::setSavePolicy |
( |
SavePolicy |
savePolicy | ) |
|
|
inline |
Member Data Documentation
| 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 |
| SavePolicy osgViewer::ScreenCaptureHandler::WriteToFile::_savePolicy |
|
protected |
The documentation for this class was generated from the following file: