SOFA API  c76874b7
Open source framework for multi-physics simuation
sofa::gui::qt::viewer::GLBackend Class Reference

#include <GLBackend.h>

Inheritance diagram for sofa::gui::qt::viewer::GLBackend:

Public Member Functions

 GLBackend ()
 
virtual ~GLBackend ()
 
void setPickingMethod (sofa::gui::PickHandler *pick, sofa::component::configurationsetting::ViewerSetting *viewerConf)
 
void setPrefix (const std::string &prefix)
 
const std::string screenshotName ()
 
void screenshot (const std::string &filename, int compression_level=-1)
 
void setBackgroundImage (helper::io::Image *image)
 
void drawBackgroundImage (const int screenWidth, const int screenHeight)
 
bool initRecorder (int width, int height, unsigned int framerate, unsigned int bitrate, const std::string &codecExtension="", const std::string &codecName="")
 
void endRecorder ()
 
void addFrameRecorder ()
 
- Public Member Functions inherited from sofa::gui::qt::viewer::EngineBackend
 EngineBackend ()
 

Constructor details

sofa::gui::qt::viewer::GLBackend::GLBackend ( )
sofa::gui::qt::viewer::GLBackend::~GLBackend ( )
virtual

Function details

void sofa::gui::qt::viewer::GLBackend::addFrameRecorder ( )
virtual
void sofa::gui::qt::viewer::GLBackend::drawBackgroundImage ( const int  screenWidth,
const int  screenHeight 
)
virtual
void sofa::gui::qt::viewer::GLBackend::endRecorder ( )
virtual
bool sofa::gui::qt::viewer::GLBackend::initRecorder ( int  width,
int  height,
unsigned int  framerate,
unsigned int  bitrate,
const std::string &  codecExtension = "",
const std::string &  codecName = "" 
)
virtual
void sofa::gui::qt::viewer::GLBackend::screenshot ( const std::string &  filename,
int  compression_level = -1 
)
virtual
const std::string sofa::gui::qt::viewer::GLBackend::screenshotName ( )
virtual
void sofa::gui::qt::viewer::GLBackend::setBackgroundImage ( helper::io::Image image)
virtual
void sofa::gui::qt::viewer::GLBackend::setPickingMethod ( sofa::gui::PickHandler pick,
sofa::component::configurationsetting::ViewerSetting viewerConf 
)
virtual
void sofa::gui::qt::viewer::GLBackend::setPrefix ( const std::string &  prefix)
virtual