17 #ifndef _BUILDING_MODEL_MANIP_HH_ 
   18 #define _BUILDING_MODEL_MANIP_HH_ 
   53       public: std::string GetName() 
const;
 
   61       public: 
double GetTransparency() 
const;
 
   69       public: std::string GetTexture() 
const;
 
   73       public: 
void SetName(
const std::string &_name);
 
  100       public: 
void DetachFromParent();
 
  111       public: 
unsigned int GetAttachedManipCount() 
const;
 
  115       public: 
bool IsAttached() 
const;
 
  124       public: 
void SetPose(
double _x, 
double _y, 
double _z,
 
  125           double _roll, 
double _pitch, 
double _yaw);
 
  131       public: 
void SetPosition(
double _x, 
double _y, 
double _z);
 
  137       public: 
void SetRotation(
double _roll, 
double _pitch, 
double _yaw);
 
  143       public: 
void SetSize(
double _width, 
double _depth, 
double _height);
 
  147       public: 
void SetColor(QColor _color);
 
  151       public: 
void SetTexture(QString _texture);
 
  155       public: 
void SetTransparency(
float _transparency);
 
  159       public: 
void SetVisible(
bool _visible);
 
  163       public: 
void SetLevel(
const int _level);
 
  167       public: 
int GetLevel() 
const;
 
  172       Q_SIGNALS: 
void ColorChanged(QColor _color);
 
  177       Q_SIGNALS: 
void TextureChanged(QString _texture);
 
  187       private slots: 
void OnPoseChanged(
double _x, 
double _y, 
double _z,
 
  188           double _roll, 
double _pitch, 
double _yaw);
 
  198       private slots: 
void OnPoseOriginTransformed(
double _x, 
double _y,
 
  199           double _z, 
double _roll, 
double _pitch, 
double _yaw);
 
  206       private slots: 
void OnPositionChanged(
double _x, 
double _y, 
double _z);
 
  213       private slots: 
void OnRotationChanged(
double _roll, 
double _pitch,
 
  221       private slots: 
void OnSizeChanged(
double _width, 
double _depth,
 
  227       private slots: 
void OnWidthChanged(
double _width);
 
  232       private slots: 
void OnHeightChanged(
double _height);
 
  237       private slots: 
void OnDepthChanged(
double _depth);
 
  242       private slots: 
void OnPosXChanged(
double _posX);
 
  247       private slots: 
void OnPosYChanged(
double _posY);
 
  252       private slots: 
void OnPosZChanged(
double _posZ);
 
  257       private slots: 
void OnYawChanged(
double _yaw);
 
  262       private slots: 
void OnLevelChanged(
int _level);
 
  267       private slots: 
void OnColorChanged(QColor _color);
 
  272       private slots: 
void OnTextureChanged(QString _texture);
 
  277       private slots: 
void OnTransparencyChanged(
float _transparency);
 
  280       private slots: 
void OnDeleted();
 
  286       private: 
void OnChangeLevel(
int _level);
 
  289       private: std::string name;
 
  304       private: std::vector<BuildingModelManip *> attachedManips;
 
  310       private: 
double transparency;
 
  316       private: std::string texture;
 
  322       private: std::vector<event::ConnectionPtr> connections;
 
Encapsulates a position and rotation in three space. 
Definition: Pose.hh:40
 
The Vector3 class represents the generic vector containing 3 elements. 
Definition: Vector3.hh:43
 
Create and manage 3D visuals of a building. 
Definition: BuildingMaker.hh:52
 
Defines a color. 
Definition: Color.hh:39
 
boost::shared_ptr< Visual > VisualPtr
Definition: RenderTypes.hh:102
 
#define GAZEBO_VISIBLE
Use to represent "symbol visible" if supported. 
Definition: system.hh:48
 
Manipulate a 3D visual associated to a 2D editor item. 
Definition: BuildingModelManip.hh:41