SpawnPreviewModel Class Reference
Event called to spawn a preview model. Used by plugins that spawn models. More...
#include <GuiEvents.hh>
Public Member Functions | |
SpawnPreviewModel (std::string &_modelSdfString) | |
Constructor. More... | |
std::string | ModelSdfString () const |
Get the sdf string of the model. More... | |
Public Attributes | |
std::string | modelSdfString |
The sdf string of the model to be previewed. More... | |
Static Public Attributes | |
static const QEvent::Type | kType = QEvent::Type(QEvent::User + 4) |
Unique type for this event. More... | |
Detailed Description
Event called to spawn a preview model. Used by plugins that spawn models.
Constructor & Destructor Documentation
◆ SpawnPreviewModel()
|
inlineexplicit |
Constructor.
- Parameters
-
[in] _modelSdfString The model's SDF file as a string.
Member Function Documentation
◆ ModelSdfString()
|
inline |
Get the sdf string of the model.
- Returns
- The model sdf string
References SpawnPreviewModel::modelSdfString.
Member Data Documentation
◆ kType
|
static |
Unique type for this event.
◆ modelSdfString
std::string modelSdfString |
The sdf string of the model to be previewed.
Referenced by SpawnPreviewModel::ModelSdfString().
The documentation for this class was generated from the following file: