VR-Forces 4.10 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. More...
 
virtual void takeScreenCapture (DtChannel *channel) override
 \ Takes a screen capture from the channel's view port and stores it into the hard drive More...
 
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 More...
 
- Public Member Functions inherited from makVrv::DtScreenCapture
virtual ~DtScreenCapture ()
 Protected DCTOR. More...
 
virtual const DtUnicodescreenCaptureFileName ()
 \ Returns the screen capture image file name managed by the API More...
 
virtual void setScreenCaptureFileName (DtUnicode &val, bool makeUnique=true)
 \ Sets the screen capture image file name managed by the API More...
 
virtual const DtUnicodescreenCaptureFileExtension ()
 \ Returns the screen capture image file name extension More...
 
virtual void setScreenCaptureFileExtension (DtUnicode &val)
 \ Sets the screen capture image file name extension \ supported/tested extensions: png, tiff, bmp, dds More...
 
virtual void takeScreenCapture ()
 \ Lookups up the observer and takes a screen capture from the active channel More...
 
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 More...
 
virtual DtUnicode fileNameUniqueIdentifier ()
 \ Returns a unique identifier for the file name More...
 
virtual DtUnicode generateFileName ()
 
- Public Member Functions inherited from makVrv::DtVirtualBaseClass
 DtVirtualBaseClass ()
 Do nothing constructor. More...
 
virtual ~DtVirtualBaseClass ()
 Virtual do nothing destructor. More...
 

Protected Member Functions

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

Friends

class DtOsgScreenCaptureCreator
 

Additional Inherited Members

- Static Public Member Functions inherited from makVrv::DtScreenCapture
static DtScreenCaptureinstance (DtDe &de)
 an instance of DtScreenCaptureUtility More...
 
- 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 Tue Sep 21 17:42:52 EDT 2021 from SVN revision 234861
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)