#include <gepetto/viewer/window-manager.h>
|
static WindowManagerPtr_t | create () |
| Create and initialize a graphical engine of type OSG. More...
|
|
static WindowManagerPtr_t | create (const unsigned int &x, const unsigned int &y, const unsigned int &width, const unsigned int &height) |
| Create and initialize a graphical engine of type OSG with some parameters : position + dimension. More...
|
|
static WindowManagerPtr_t | createCopy (WindowManagerPtr_t other) |
| Static method for creating a clone of box other with the copy constructor. More...
|
|
virtual graphics::WindowManager::~WindowManager |
( |
| ) |
|
|
virtual |
virtual bool graphics::WindowManager::addNode |
( |
NodePtr_t |
graphical_object_ptr | ) |
|
|
virtual |
Add a graphical object to the scene.
virtual WindowManagerPtr_t graphics::WindowManager::clone |
( |
void |
| ) |
const |
|
virtual |
Proceed to a clonage of the current object defined by the copy constructor.
static WindowManagerPtr_t graphics::WindowManager::create |
( |
| ) |
|
|
static |
Create and initialize a graphical engine of type OSG.
static WindowManagerPtr_t graphics::WindowManager::create |
( |
const unsigned int & |
x, |
|
|
const unsigned int & |
y, |
|
|
const unsigned int & |
width, |
|
|
const unsigned int & |
height |
|
) |
| |
|
static |
Create and initialize a graphical engine of type OSG with some parameters : position + dimension.
static WindowManagerPtr_t graphics::WindowManager::createCopy |
( |
WindowManagerPtr_t |
other | ) |
|
|
static |
Static method for creating a clone of box other with the copy constructor.
virtual bool graphics::WindowManager::done |
( |
| ) |
|
|
virtual |
Return the current doing of procedure.
virtual bool graphics::WindowManager::frame |
( |
| ) |
|
|
virtual |
Generate a new frame rendering.
virtual GroupNodePtr_t graphics::WindowManager::getScene |
( |
| ) |
const |
|
inlinevirtual |
::osgViewer::ViewerRefPtr graphics::WindowManager::getViewerClone |
( |
| ) |
|
Return a ref to the viewer.
bool graphics::WindowManager::getWindowDecoration |
( |
| ) |
const |
|
inline |
Return the current window decoration status.
osgVector2 graphics::WindowManager::getWindowDimension |
( |
| ) |
const |
Return the window width and height as a 2D vector.
osgVector2 graphics::WindowManager::getWindowPosition |
( |
| ) |
const |
Return the window x and y position as a 2D vector.
virtual bool graphics::WindowManager::run |
( |
| ) |
|
|
virtual |
WindowManagerPtr_t graphics::WindowManager::self |
( |
void |
| ) |
const |
Return a shared pointer of the current object.
virtual void graphics::WindowManager::setWindowDecoration |
( |
bool |
window_decoration_status | ) |
|
|
virtual |
Define the window decoration state.
virtual void graphics::WindowManager::setWindowDimension |
( |
const unsigned int & |
width, |
|
|
const unsigned int & |
height |
|
) |
| |
|
virtual |
Define dimension of the window.
virtual void graphics::WindowManager::setWindowPosition |
( |
const unsigned int & |
x_position, |
|
|
const unsigned int & |
y_position |
|
) |
| |
|
virtual |
Define the window position.
void graphics::WindowManager::startCapture |
( |
const std::string & |
filename, |
|
|
const std::string & |
extension |
|
) |
| |
void graphics::WindowManager::stopCapture |
( |
| ) |
|