gazebo / gazebo / gui / model_editor / EditorItem.hh

#ifndef _EDITOR_ITEM_HH_
#define _EDITOR_ITEM_HH_

#include "gui/qt.h"

namespace gazebo
{
  namespace gui
  {
    class EditorItem : public QObject
    {
        Q_OBJECT

        public: EditorItem();

        public: ~EditorItem();

 /*       public: virtual void AttachItem(EditorItem *_item);

        public: virtual void DetachItem(EditorItem *_item);*/

        public: virtual QVector3D GetSize();

        public: virtual QVector3D GetScenePosition();

        public: virtual double GetSceneRotation();

        public: virtual std::string GetType();

        signals: void sizeChanged(double _width, double _depth,
            double _height);

        signals: void poseChanged(double _x, double _y, double _z,
            double _roll, double _pitch, double _yaw);

        signals: void poseOriginTransformed(double _x, double _y, double _z,
            double _roll, double _pitch, double _yaw);

        signals: void positionChanged(double _x, double _y, double _z);

        signals: void rotationChanged(double _roll, double _pitch, double _yaw);

        signals: void widthChanged(double _width);

        signals: void depthChanged(double _depth);

        signals: void heightChanged(double _height);

        signals: void posXChanged(double _posX);

        signals: void posYChanged(double _posY);

        signals: void posZChanged(double _posX);

        signals: void yawChanged(double _yaw);

        signals: void originChanged(double _xRatio, double _yRatio,
            double _zRatio);

        signals: void itemDeleted();

        protected: std::string editorType;

//        protected: std::vector<EditorItem *> attachedItems;
    };
  }
}

#endif
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.