openscenegraph
|
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 |
Additional Inherited Members | |
![]() | |
static OpenThreads::Mutex * | getGlobalReferencedMutex () |
static void | setThreadSafeReferenceCounting (bool enableThreadSafeReferenceCounting) |
static bool | getThreadSafeReferenceCounting () |
static void | setDeleteHandler (DeleteHandler *handler) |
static DeleteHandler * | getDeleteHandler () |
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 |
||
) |
|
inline |
|
virtual |
|
inlineprotected |
|
inline |
|
protected |
|
protected |
|
protected |
|
protected |