#include <gepetto/viewer/node-property.h>
|
| virtual void | setDirty (bool dirty=true)=0 |
| | Called when a property is modified.
|
| |
◆ PropertyMap_t
◆ addProperty() [1/4]
| void gepetto::viewer::Properties::addProperty |
( |
const PropertyPtr_t & |
prop | ) |
|
Add a property and take ownership.
◆ addProperty() [2/4]
| void gepetto::viewer::Properties::addProperty |
( |
const std::string & |
name, |
|
|
const PropertyPtr_t & |
prop |
|
) |
| |
Add a property and take ownership.
◆ addProperty() [3/4]
| void gepetto::viewer::Properties::addProperty |
( |
const std::string & |
name, |
|
|
Property * |
prop |
|
) |
| |
Add a property and leave ownership.
◆ addProperty() [4/4]
| void gepetto::viewer::Properties::addProperty |
( |
Property * |
prop | ) |
|
Add a property and leave ownership.
◆ callVoidProperty()
| bool gepetto::viewer::Properties::callVoidProperty |
( |
const std::string & |
name | ) |
const |
|
inline |
◆ getProperty()
template<typename T >
| bool gepetto::viewer::Properties::getProperty |
( |
const std::string & |
name, |
|
|
T & |
value |
|
) |
| const |
|
inline |
◆ guiEditor()
| QWidget * gepetto::viewer::Properties::guiEditor |
( |
| ) |
|
◆ hasProperty()
| bool gepetto::viewer::Properties::hasProperty |
( |
const std::string & |
name | ) |
const |
◆ properties()
| const PropertyMap_t & gepetto::viewer::Properties::properties |
( |
| ) |
const |
|
inline |
◆ property()
| Property * gepetto::viewer::Properties::property |
( |
const std::string & |
name | ) |
const |
Access a property
- Note
- do not use this to set the property value as it won't set the current node as dirty.
◆ setDirty()
| virtual void gepetto::viewer::Properties::setDirty |
( |
bool |
dirty = true | ) |
|
|
protectedpure virtual |
◆ setProperty()
template<typename T >
| bool gepetto::viewer::Properties::setProperty |
( |
const std::string & |
name, |
|
|
const T & |
value |
|
) |
| |
|
inline |
Set a property and set this object as dirty.
◆ properties_
The documentation for this class was generated from the following file: