sofa::helper::gl::Capture Class Reference

#include <Capture.h>

Collaboration diagram for sofa::helper::gl::Capture:

Collaboration graph
[legend]

Public Member Functions

 Capture ()
const std::string & getPrefix () const
int getCounter () const
void setPrefix (const std::string v)
void setCounter (int v=-1)
std::string findFilename ()
bool saveScreen (const std::string &filename, int compression_level=-1)
bool saveScreen (int compression_level=-1)

Protected Attributes

std::string prefix
int counter

Detailed Description

Definition at line 45 of file Capture.h.


Constructor & Destructor Documentation

sofa::helper::gl::Capture::Capture (  ) 

Definition at line 46 of file Capture.cpp.


Member Function Documentation

std::string sofa::helper::gl::Capture::findFilename (  ) 

int sofa::helper::gl::Capture::getCounter (  )  const [inline]

Definition at line 56 of file Capture.h.

References counter.

const std::string& sofa::helper::gl::Capture::getPrefix (  )  const [inline]

Definition at line 55 of file Capture.h.

References prefix.

bool sofa::helper::gl::Capture::saveScreen ( int  compression_level = -1  ) 

Definition at line 106 of file Capture.cpp.

References findFilename(), and saveScreen().

bool sofa::helper::gl::Capture::saveScreen ( const std::string &  filename,
int  compression_level = -1 
)

void sofa::helper::gl::Capture::setCounter ( int  v = -1  )  [inline]

void sofa::helper::gl::Capture::setPrefix ( const std::string  v  )  [inline]


Field Documentation

Definition at line 49 of file Capture.h.

Referenced by findFilename(), getCounter(), and setCounter().

std::string sofa::helper::gl::Capture::prefix [protected]

Definition at line 48 of file Capture.h.

Referenced by findFilename(), getPrefix(), and setPrefix().


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

Generated on Sun Nov 23 04:24:18 2008 for Sofa by  doxygen 1.5.7.1