Inherits QWidget, and CompositeViewer.
|
void | addTactor (int id, osg::Vec3d point) |
|
void | patternAdd (QString id) |
|
void | patternDelete (QString id) |
|
void | sendTextToLog (QString text) |
|
|
osg::Node * | human |
|
osg::Geode * | spheres |
|
osg::Geode * | labels |
|
QMap< osg::Drawable *, Node * > | drawableNodeMap |
|
QMap< osgText::Text *, QString > | drawableLabelMap |
|
NodeManager * | tactorManager |
|
QTimer | _timer |
|
ConfigurationWidget::ConfigurationWidget |
( |
QWidget * |
parent, |
|
|
NodeManager * |
tactorManager |
|
) |
| |
|
explicit |
void ConfigurationWidget::buildNodeMenu |
( |
QString |
text, |
|
|
NodeManager * |
manager, |
|
|
QMenu * |
parent |
|
) |
| |
|
staticprotected |
Builds a context menu when right clicking on this window
- Parameters
-
text | The name of the menu |
manager | The desired NodeManager |
parent | The container of this widget |
void ConfigurationWidget::changeLabelFont |
( |
const QString |
id | ) |
|
|
slot |
Changes label font to green
- Parameters
-
id | Desired id to change font |
bool ConfigurationWidget::eventFilter |
( |
QObject * |
obj, |
|
|
QEvent * |
event |
|
) |
| |
|
protected |
Filter the OSGviewer widget's mouse events. Redirect them to this parent widget so we can manipulate the mouse clicks.
- Parameters
-
obj | The object being redirected |
event | The event being redirected |
- Returns
void ConfigurationWidget::initializeViewer |
( |
QList< Node * > |
nodes | ) |
|
Add placed nodes onto the viewer from the tactor manager
void ConfigurationWidget::pick |
( |
int |
x, |
|
|
int |
y |
|
) |
| |
|
protected |
Detects what you right click (blank space, tactor, or the model)
- Parameters
-
x | x-coordinate |
y | y-coordinate |
void ConfigurationWidget::removeNode |
( |
Node * |
node | ) |
|
|
slot |
Removes node from drawable space on the widget
- Parameters
-
void ConfigurationWidget::toggleLabels |
( |
| ) |
|
Toggles on and off on whether to show labels on nodes
The documentation for this class was generated from the following files: