29 #ifndef VECTOR_PROPERTY_H 30 #define VECTOR_PROPERTY_H 32 #include <OgreVector3.h> 35 #include "rviz/rviz_export.h" 47 const char* changed_slot =
nullptr,
48 QObject* receiver =
nullptr);
50 virtual bool setVector(
const Ogre::Vector3& vector);
55 bool add(
const Ogre::Vector3& offset)
57 return setVector(getVector() + offset);
60 bool setValue(
const QVariant& new_value)
override;
63 void save(
Config config)
const override;
66 void setReadOnly(
bool read_only)
override;
69 void updateFromChildren();
70 void emitAboutToChange();
85 #endif // VECTOR_PROPERTY_H
A single element of a property tree, with a name, value, description, and possibly children...
bool ignore_child_updates_
virtual Ogre::Vector3 getVector() const
bool add(const Ogre::Vector3 &offset)
Configuration data storage class.