VR-Forces 4.6 Class Documentation
 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 ()
 Protected DCTOR.
virtual void takeScreenCapture (const DtChannel *channel)
 \ Takes a screen capture from the channel's view port and stores it into the hard drive
virtual void readImage (osg::Image *image, int x, int y, int z, int h, GLenum format, GLenum type) const
 \ Read pixels from current frame buffer at specified position and size. it uses glReadPixels
- Public Member Functions inherited from makVrv::DtScreenCapture
virtual ~DtScreenCapture ()
 Protected DCTOR.
virtual const DtUnicodescreenCaptureFileName ()
 \ Returns the screen capture image file name managed by the API
virtual void setScreenCaptureFileName (DtUnicode &val, bool makeUnique=true)
 \ Sets the screen capture image file name managed by the API
virtual const DtUnicodescreenCaptureFileExtension ()
 \ Returns the screen capture image file name extension
virtual void setScreenCaptureFileExtension (DtUnicode &val)
 \ Sets the screen capture image file name extension \ supported/tested extensions: png, tiff, bmp, dds
virtual void takeScreenCapture ()
 \ Lookups up the observer and takes a screen capture from the active channel
virtual void takeScreenCapture (const DtObserver &observer)
 \ Takes a screen capture from the observer's active channel view port and stores it into the hard drive
virtual DtUnicode fileNameUniqueIdentifier ()
 \ Returns a unique identifier for the file name
virtual DtUnicode generateFileName ()
- Public Member Functions inherited from makVrv::DtVirtualBaseClass
 DtVirtualBaseClass ()
 Do nothing constructor.
virtual ~DtVirtualBaseClass ()
 Virtual do nothing destructor.

Protected Member Functions

 DtOsgScreenCapture (DtDe &de)
 Protected CTOR. Must be called by creator.
- Protected Member Functions inherited from makVrv::DtScreenCapture
 DtScreenCapture (DtDe &de)
 Protected CTOR. Must be called by creator.

Friends

class DtOsgScreenCaptureCreator

Additional Inherited Members

- Static Public Member Functions inherited from makVrv::DtScreenCapture
static DtScreenCaptureinstance (DtDe &de)
 an instance of DtScreenCaptureUtility
- 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 ( const DtChannel channel)
virtual

\ 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 Apr 12 03:15:37 EDT 2018 from SVN revision 187986
Copyright © 2005-2018 VT MÄK. All Rights Reserved (www.mak.com)