VR-Forces 5.0.1 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 DtUnicodescreenCaptureFileName ()
 
virtual void setScreenCaptureFileName (DtUnicode &val, bool makeUnique=true)
 
virtual const DtUnicodescreenCaptureFileExtension ()
 
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 DtScreenCaptureinstance (DtDe &de)
 
- Protected Attributes inherited from makVrv::DtScreenCapture
DtDemyDe
 
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 Mon Jun 20 00:38:30 EDT 2022 from SVN revision 244029
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)