17#ifndef GAZEBO_GUI_BUILDING_BUILDINGMODELMANIP_HH_
18#define GAZEBO_GUI_BUILDING_BUILDINGMODELMANIP_HH_
21#include <ignition/math/Color.hh>
36 class BuildingModelManipPrivate;
55 public: std::string
Name()
const;
67 public: ignition::math::Color
Color()
const;
75 public:
void SetName(
const std::string &_name);
92 public:
void SetPose(
double _x,
double _y,
double _z,
93 double _roll,
double _pitch,
double _yaw);
105 public:
void SetRotation(
double _roll,
double _pitch,
double _yaw);
111 public:
void SetSize(
double _width,
double _depth,
double _height);
155 private slots:
void OnPoseChanged(
double _x,
double _y,
double _z,
156 double _roll,
double _pitch,
double _yaw);
166 private slots:
void OnPoseOriginTransformed(
double _x,
double _y,
167 double _z,
double _roll,
double _pitch,
double _yaw);
174 private slots:
void OnPositionChanged(
double _x,
double _y,
double _z);
181 private slots:
void OnRotationChanged(
double _roll,
double _pitch,
189 private slots:
void OnSizeChanged(
double _width,
double _depth,
195 private slots:
void OnWidthChanged(
double _width);
200 private slots:
void OnHeightChanged(
double _height);
205 private slots:
void OnDepthChanged(
double _depth);
210 private slots:
void OnPosXChanged(
double _posX);
215 private slots:
void OnPosYChanged(
double _posY);
220 private slots:
void OnPosZChanged(
double _posZ);
225 private slots:
void OnYawChanged(
double _yaw);
230 private slots:
void OnLevelChanged(
int _level);
235 private slots:
void OnColorChanged(
const ignition::math::Color &_color);
240 private slots:
void OnTextureChanged(
const std::string &_texture);
245 private slots:
void OnTransparencyChanged(
float _transparency);
248 private slots:
void OnDeleted();
254 private:
void OnChangeLevel(
int _level);
258 private: std::unique_ptr<BuildingModelManipPrivate> dataPtr;
gui
Definition KeyEventHandler.hh:29
Create and manage 3D visuals of a building.
Definition BuildingMaker.hh:49
Manipulate a 3D visual associated to a 2D editor item.
Definition BuildingModelManip.hh:44
int Level() const
Get the level for this manip.
virtual ~BuildingModelManip()
Destructor.
std::string Texture() const
Get the texture of the manip.
void SetName(const std::string &_name)
Set the name of the manip object.
void SetLevel(const int _level)
Set the level for this manip.
void SetColor(QColor _color)
Set the color of the manip.
ignition::math::Color Color() const
Get the color of the manip.
std::string Name() const
Get the name of the manip object.
void SetMaker(BuildingMaker *_maker)
Set the maker that the manip is managed by.
rendering::VisualPtr Visual() const
Get the visual this manip manages.
double Transparency() const
Get the transparency of the manip.
void SetTexture(QString _texture)
Set the texture of the manip.
void SetPosition(double _x, double _y, double _z)
Set the position of the manip.
void ColorChanged(const ignition::math::Color &_color)
Qt signal emitted when the manip's color has changed from the 3D view.
void SetRotation(double _roll, double _pitch, double _yaw)
Set the rotation of the manip.
void SetTransparency(float _transparency)
Set the transparency of the manip.
BuildingModelManip()
Constructor.
void SetVisible(bool _visible)
Set the visibility of the manip.
void SetSize(double _width, double _depth, double _height)
Set the size of the manip.
void SetPose(double _x, double _y, double _z, double _roll, double _pitch, double _yaw)
Set the pose of the manip.
void TextureChanged(const std::string &_texture)
Qt signal emitted when the manip's texture has changed from the 3D view.
void SetVisual(const rendering::VisualPtr &_visual)
Set the visual this manip manages.
std::shared_ptr< Visual > VisualPtr
Definition RenderTypes.hh:114
Forward declarations for the common classes.
Definition Animation.hh:27