![]() |
VR-Forces 4.1 Class Documentation
|
The "Examples" Menu item. More...

Public Member Functions | |
| DtCreateObjectMenuItem (DtDe &de) | |
| virtual | ~DtCreateObjectMenuItem () |
| virtual QAction * | createAction (DtDe &, QWidget *parent) |
| Build a menu item (via an action). | |
| virtual void | on_triggered () |
| When triggered, randomly pick a model definition to show then construct an entity visual definition around that. | |
| virtual void | on_aboutToShow () |
Public Member Functions inherited from makVrv::DtMenuItem | |
| DtMenuItem (const std::string &menuItemIdName) | |
| CTOR. | |
| virtual | ~DtMenuItem () |
| DTOR. | |
| virtual const std::string & | menuItemIdName () const |
| Get the menu id name, the menu id name is not the same thing as the visible menu text. | |
Protected Member Functions | |
| DtUnicode | modelDefFromVisualSet (const DtVisualizerDefinitionSet &set) |
| const DtUnicode * | chooseRandomString (const std::vector< DtUnicode > &definitions) |
Protected Attributes | |
| DtDe & | myDe |
| QAction * | myAction |
| DtRandomNumberGenerator | myRandomNumberGenerator |
Protected Attributes inherited from makVrv::DtMenuItem | |
| std::string | myMenuIdName |
Additional Inherited Members | |
Protected Slots inherited from makVrv::DtMenuItem | |
| virtual void | on_checkStateChanged (bool) |
The "Examples" Menu item.
| makVrv::DtCreateObjectMenuItem::DtCreateObjectMenuItem | ( | DtDe & | de | ) |
|
virtual |
Build a menu item (via an action).
Implements makVrv::DtMenuItem.
|
virtual |
When triggered, randomly pick a model definition to show then construct an entity visual definition around that.
That will then be passed to the DtEntityFacade to create an entity which will be randomly placed on the terrain
Reimplemented from makVrv::DtMenuItem.
|
virtual |
Reimplemented from makVrv::DtMenuItem.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |