VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Protected Member Functions | Friends
makVrv::DtOsgScreenCapture Class Reference
Inheritance diagram for makVrv::DtOsgScreenCapture:
Inheritance graph
[legend]

Public Member Functions

virtual ~DtOsgScreenCapture ()
 
virtual void takeScreenCapture (DtChannel *channel) override
 
virtual void readImage (osg::Image *image, int x, int y, int z, int h, GLenum format, GLenum type) const
 
- Public Member Functions inherited from makVrv::DtScreenCapture
virtual ~DtScreenCapture ()
 
virtual const DtUnicode & screenCaptureFileName ()
 
virtual void setScreenCaptureFileName (DtUnicode &val, bool makeUnique=true)
 
virtual const DtUnicode & screenCaptureFileExtension ()
 
virtual void setScreenCaptureFileExtension (DtUnicode &val)
 
virtual void takeScreenCapture ()
 
virtual void takeScreenCapture (const DtObserver &observer)
 
virtual DtUnicode fileNameUniqueIdentifier ()
 
virtual DtUnicode generateFileName ()
 
- Public Member Functions inherited from makVrv::DtVirtualBaseClass
 DtVirtualBaseClass ()
 
virtual ~DtVirtualBaseClass ()
 

Protected Member Functions

 DtOsgScreenCapture (DtDe &de)
 
- Protected Member Functions inherited from makVrv::DtScreenCapture
 DtScreenCapture (DtDe &de)
 

Friends

class DtOsgScreenCaptureCreator
 

Additional Inherited Members

- Static Public Member Functions inherited from makVrv::DtScreenCapture
static DtScreenCapture & instance (DtDe &de)
 
- Protected Attributes inherited from makVrv::DtScreenCapture
DtDe & myDe
 
DtUnicode myScreenCaptureFileName
 
DtUnicode myScreenCaptureFileExtension
 
int myScreenCaptureCounter
 
std::string myLastFileNameIdentifierUsed
 
bool myMakeUnique
 

Constructor & Destructor Documentation

virtual makVrv::DtOsgScreenCapture::~DtOsgScreenCapture ( )
virtual

Protected DCTOR.

makVrv::DtOsgScreenCapture::DtOsgScreenCapture ( DtDe &  de)
protected

Protected CTOR. Must be called by creator.

Member Function Documentation

virtual void makVrv::DtOsgScreenCapture::takeScreenCapture ( DtChannel *  channel)
overridevirtual

\ Takes a screen capture from the channel's view port and stores it into the hard drive

Implements makVrv::DtScreenCapture.

virtual void makVrv::DtOsgScreenCapture::readImage ( osg::Image *  image,
int  x,
int  y,
int  z,
int  h,
GLenum  format,
GLenum  type 
) const
virtual

\ Read pixels from current frame buffer at specified position and size. it uses glReadPixels

Friends And Related Function Documentation

friend class DtOsgScreenCaptureCreator
friend

The documentation for this class was generated from the following file:

Document ID: Generated on Thu Oct 15 21:27:02 EDT 2026 from SVN revision 296421
Copyright © 2005-2026 MAK Technologies. All Rights Reserved (www.mak.com)