RenderCamera Class Reference
RenderCamera class. More...

Public Member Functions | |
| RenderCamera (WCamera *wcamera, WObject *attachTo, unsigned int width, unsigned int height) | |
| void | initializeGL () |
| Called by the Constructor. | |
| void | moveRotatePointOfView (const wMatrix &tm) |
| Setup the modelViewMatrix in order to view from the specified point. | |
| void | paintGL () |
| Update the content of the RenderCamera. | |
DeviceDriver Interface | |
| virtual bool | open (yarp::os::Searchable &config) |
| open | |
| virtual bool | close () |
| close | |
| virtual bool | configure (yarp::os::Searchable &config) |
| configure | |
IFrameGrabberImage Interface | |
| virtual bool | getImage (yarp::sig::ImageOf< yarp::sig::PixelRgb > &image) |
| virtual int | height () const |
| virtual int | width () const |
Detailed Description
Member Function Documentation
| bool close | ( | ) | [virtual] |
close
Definition at line 141 of file wcamera.cpp.
| bool configure | ( | yarp::os::Searchable & | config | ) | [virtual] |
configure
Definition at line 145 of file wcamera.cpp.
| void initializeGL | ( | ) |
Called by the Constructor.
Definition at line 81 of file wcamera.cpp.
| void moveRotatePointOfView | ( | const wMatrix & | tm | ) |
Setup the modelViewMatrix in order to view from the specified point.
Definition at line 70 of file wcamera.cpp.
References RenderWObjectContainer::mutex, and wVectorT< Shared >::scale().
Referenced by RenderCamera::paintGL().
| bool open | ( | yarp::os::Searchable & | config | ) | [virtual] |
open
Definition at line 137 of file wcamera.cpp.
| void paintGL | ( | ) |
Update the content of the RenderCamera.
Definition at line 96 of file wcamera.cpp.
References RenderWObjectContainer::drawSkyGroundBox(), RenderWObjectContainer::graphics(), WObject::isInvisible(), RenderCamera::moveRotatePointOfView(), RenderWObjectContainer::mutex, RenderWObject::object(), and Ownable::owner().
Referenced by WCamera::postUpdate().
The documentation for this class was generated from the following files:
- worldsim/include/wcamera.h
- worldsim/src/wcamera.cpp