Extension of RenderWidget to support lighting mode selection & toolbar.
More...
#include <scenewidget.hpp>
Extension of RenderWidget to support lighting mode selection & toolbar.
CSVRender::SceneWidget::~SceneWidget |
( |
| ) |
|
|
virtual |
void CSVRender::SceneWidget::focusToolbarRequest |
( |
| ) |
|
|
signal |
- Attention
- The created tool is not added to the toolbar (via addTool). Doing that is the responsibility of the calling function.
- Todo:
- replace icons
void CSVRender::SceneWidget::mouseMoveEvent |
( |
QMouseEvent * |
event | ) |
|
|
protectedvirtual |
void CSVRender::SceneWidget::selectLightingMode |
( |
const std::string & |
mode | ) |
|
|
privateslot |
void CSVRender::SceneWidget::selectNavigationMode |
( |
const std::string & |
mode | ) |
|
|
protectedslot |
void CSVRender::SceneWidget::setAmbient |
( |
const osg::Vec4f & |
ambient | ) |
|
|
protected |
void CSVRender::SceneWidget::setDefaultAmbient |
( |
const osg::Vec4f & |
colour | ) |
|
- Note
- The actual ambient colour may differ based on lighting settings.
void CSVRender::SceneWidget::setLighting |
( |
Lighting * |
lighting | ) |
|
|
protected |
- Attention
- The ownership of lighting is not transferred to *this.
void CSVRender::SceneWidget::update |
( |
double |
dt | ) |
|
|
slot |
void CSVRender::SceneWidget::wheelEvent |
( |
QWheelEvent * |
event | ) |
|
|
protectedvirtual |
bool CSVRender::SceneWidget::mCamPositionSet |
|
protected |
Tells update that camera isn't set.
osg::Vec4f CSVRender::SceneWidget::mDefaultAmbient |
|
protected |
bool CSVRender::SceneWidget::mHasDefaultAmbient |
|
protected |
Lighting* CSVRender::SceneWidget::mLighting |
|
protected |
int CSVRender::SceneWidget::mPrevMouseX |
|
protected |
int CSVRender::SceneWidget::mPrevMouseY |
|
protected |
The documentation for this class was generated from the following files: