Go to the documentation of this file.
   29 #ifndef VECTOR_PROPERTY_H 
   30 #define VECTOR_PROPERTY_H 
   35 #include <rviz/rviz_export.h> 
   48   template <
typename Func, 
typename R>
 
   50                  const Ogre::Vector3& default_value,
 
   51                  const QString& description,
 
   57     connect(receiver, std::forward<Func>(changed_slot));
 
   61   template <
typename Func, 
typename P>
 
   63                  const Ogre::Vector3& default_value,
 
   64                  const QString& description,
 
   69     connect(parent, std::forward<Func>(changed_slot));
 
   72   virtual bool setVector(
const Ogre::Vector3& vector);
 
   77   bool add(
const Ogre::Vector3& offset)
 
   79     return setVector(getVector() + offset);
 
   82   bool setValue(
const QVariant& new_value) 
override;
 
   84   void load(
const Config& config) 
override;
 
   85   void save(
Config config) 
const override;
 
   88   void setReadOnly(
bool read_only) 
override;
 
   91   void updateFromChildren();
 
   92   void emitAboutToChange();
 
  107 #endif // VECTOR_PROPERTY_H 
  
VectorProperty(const QString &name, const Ogre::Vector3 &default_value, const QString &description, Property *parent, Func &&changed_slot, const R *receiver)
VectorProperty(const QString &name, const Ogre::Vector3 &default_value, const QString &description, P *parent, Func &&changed_slot)
A single element of a property tree, with a name, value, description, and possibly children.
bool ignore_child_updates_
virtual Ogre::Vector3 getVector() const
Configuration data storage class.
bool add(const Ogre::Vector3 &offset)
rviz
Author(s): Dave Hershberger, David Gossow, Josh Faust, William Woodall 
autogenerated on Sun May 4 2025 02:31:27