17 #ifndef _GAZEBO_GUI_BUILDING_MODEL_MANIP_HH_ 18 #define _GAZEBO_GUI_BUILDING_MODEL_MANIP_HH_ 40 class BuildingModelManipPrivate;
59 public: std::string Name()
const;
67 public:
double Transparency()
const;
75 public: std::string Texture()
const;
79 public:
void SetName(
const std::string &_name);
96 public:
void SetPose(
double _x,
double _y,
double _z,
97 double _roll,
double _pitch,
double _yaw);
103 public:
void SetPosition(
double _x,
double _y,
double _z);
109 public:
void SetRotation(
double _roll,
double _pitch,
double _yaw);
115 public:
void SetSize(
double _width,
double _depth,
double _height);
119 public:
void SetColor(QColor _color);
123 public:
void SetTexture(QString _texture);
127 public:
void SetTransparency(
float _transparency);
131 public:
void SetVisible(
bool _visible);
135 public:
void SetLevel(
const int _level);
139 public:
int Level()
const;
149 Q_SIGNALS:
void TextureChanged(
const std::string &_texture);
159 private slots:
void OnPoseChanged(
double _x,
double _y,
double _z,
160 double _roll,
double _pitch,
double _yaw);
170 private slots:
void OnPoseOriginTransformed(
double _x,
double _y,
171 double _z,
double _roll,
double _pitch,
double _yaw);
178 private slots:
void OnPositionChanged(
double _x,
double _y,
double _z);
185 private slots:
void OnRotationChanged(
double _roll,
double _pitch,
193 private slots:
void OnSizeChanged(
double _width,
double _depth,
199 private slots:
void OnWidthChanged(
double _width);
204 private slots:
void OnHeightChanged(
double _height);
209 private slots:
void OnDepthChanged(
double _depth);
214 private slots:
void OnPosXChanged(
double _posX);
219 private slots:
void OnPosYChanged(
double _posY);
224 private slots:
void OnPosZChanged(
double _posZ);
229 private slots:
void OnYawChanged(
double _yaw);
234 private slots:
void OnLevelChanged(
int _level);
239 private slots:
void OnColorChanged(
const common::Color &_color);
244 private slots:
void OnTextureChanged(
const std::string &_texture);
249 private slots:
void OnTransparencyChanged(
float _transparency);
252 private slots:
void OnDeleted();
258 private:
void OnChangeLevel(
int _level);
262 private: std::unique_ptr<BuildingModelManipPrivate> dataPtr;
Forward declarations for the common classes.
Definition: Animation.hh:33
Create and manage 3D visuals of a building.
Definition: BuildingMaker.hh:48
A convenient structure for storing level information.
Definition: EditorView.hh:45
Defines a color.
Definition: Color.hh:36
std::shared_ptr< Visual > VisualPtr
Definition: RenderTypes.hh:112
Manipulate a 3D visual associated to a 2D editor item.
Definition: BuildingModelManip.hh:47