SOFA API  c76874b7
Open source framework for multi-physics simuation
sofa::helper::gl::Capture Class Reference

#include <Capture.h>

Protected Attributes

std::string prefix
 
int counter
 

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)
 

Attribute details

int sofa::helper::gl::Capture::counter
protected
std::string sofa::helper::gl::Capture::prefix
protected

Constructor details

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

Function details

std::string sofa::helper::gl::Capture::findFilename ( )
int sofa::helper::gl::Capture::getCounter ( ) const
inline
const std::string& sofa::helper::gl::Capture::getPrefix ( ) const
inline
bool sofa::helper::gl::Capture::saveScreen ( const std::string &  filename,
int  compression_level = -1 
)
bool sofa::helper::gl::Capture::saveScreen ( 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