Manipulate a 3D visual associated to a 2D editor item.
More...
#include <BuildingModelManip.hh>
Inherits QObject.
|
void | ColorChanged (const ignition::math::Color &_color) |
| Qt signal emitted when the manip's color has changed from the 3D view. More...
|
|
void | TextureChanged (const std::string &_texture) |
| Qt signal emitted when the manip's texture has changed from the 3D view. More...
|
|
|
| BuildingModelManip () |
| Constructor. More...
|
|
virtual | ~BuildingModelManip () |
| Destructor. More...
|
|
ignition::math::Color | Color () const |
| Get the color of the manip. More...
|
|
int | Level () const |
| Get the level for this manip. More...
|
|
std::string | Name () const |
| Get the name of the manip object. More...
|
|
void | SetColor (QColor _color) |
| Set the color of the manip. More...
|
|
void | SetLevel (const int _level) |
| Set the level for this manip. More...
|
|
void | SetMaker (BuildingMaker *_maker) |
| Set the maker that the manip is managed by. More...
|
|
void | SetName (const std::string &_name) |
| Set the name of the manip object. More...
|
|
void | SetPose (double _x, double _y, double _z, double _roll, double _pitch, double _yaw) |
| Set the pose of the manip. More...
|
|
void | SetPosition (double _x, double _y, double _z) |
| Set the position of the manip. More...
|
|
void | SetRotation (double _roll, double _pitch, double _yaw) |
| Set the rotation of the manip. More...
|
|
void | SetSize (double _width, double _depth, double _height) |
| Set the size of the manip. More...
|
|
void | SetTexture (QString _texture) |
| Set the texture of the manip. More...
|
|
void | SetTransparency (float _transparency) |
| Set the transparency of the manip. More...
|
|
void | SetVisible (bool _visible) |
| Set the visibility of the manip. More...
|
|
void | SetVisual (const rendering::VisualPtr &_visual) |
| Set the visual this manip manages. More...
|
|
std::string | Texture () const |
| Get the texture of the manip. More...
|
|
double | Transparency () const |
| Get the transparency of the manip. More...
|
|
rendering::VisualPtr | Visual () const |
| Get the visual this manip manages. More...
|
|
Manipulate a 3D visual associated to a 2D editor item.
ignition::math::Color Color |
( |
| ) |
const |
Get the color of the manip.
- Returns
- Color.
void ColorChanged |
( |
const ignition::math::Color & |
_color | ) |
|
|
signal |
Qt signal emitted when the manip's color has changed from the 3D view.
- Parameters
-
Get the level for this manip.
- Returns
- The level for this manip.
std::string Name |
( |
| ) |
const |
Get the name of the manip object.
- Returns
- Name of the manip object.
void SetColor |
( |
QColor |
_color | ) |
|
Set the color of the manip.
- Parameters
-
void SetLevel |
( |
const int |
_level | ) |
|
Set the level for this manip.
- Parameters
-
[in] | _level | The level for this manip. |
Set the maker that the manip is managed by.
- Parameters
-
[in] | _maker | Maker that manages the manip. |
void SetName |
( |
const std::string & |
_name | ) |
|
Set the name of the manip object.
- Parameters
-
[in] | _name | Name to set the manip to. |
void SetPose |
( |
double |
_x, |
|
|
double |
_y, |
|
|
double |
_z, |
|
|
double |
_roll, |
|
|
double |
_pitch, |
|
|
double |
_yaw |
|
) |
| |
Set the pose of the manip.
- Parameters
-
[in] | _x | X position in pixel coordinates. |
[in] | _y | Y position in pixel coordinates. |
[in] | _z | Z position in pixel coordinates. |
[in] | _roll | Roll rotation in degrees. |
[in] | _pitch | Pitch rotation in degrees. |
[in] | _yaw | Yaw rotation in degrees. |
void SetPosition |
( |
double |
_x, |
|
|
double |
_y, |
|
|
double |
_z |
|
) |
| |
Set the position of the manip.
- Parameters
-
[in] | _x | X position in pixel coordinates. |
[in] | _y | Y position in pixel coordinates. |
[in] | _z | Z position in pixel coordinates. |
void SetRotation |
( |
double |
_roll, |
|
|
double |
_pitch, |
|
|
double |
_yaw |
|
) |
| |
Set the rotation of the manip.
- Parameters
-
[in] | _roll | Roll rotation in degrees. |
[in] | _pitch | Pitch rotation in degrees. |
[in] | _yaw | Yaw rotation in degrees. |
void SetSize |
( |
double |
_width, |
|
|
double |
_depth, |
|
|
double |
_height |
|
) |
| |
Set the size of the manip.
- Parameters
-
[in] | _width | Width in pixels. |
[in] | _depth | Depth in pixels. |
[in] | _height | Height pixels. |
void SetTexture |
( |
QString |
_texture | ) |
|
Set the texture of the manip.
- Parameters
-
void SetTransparency |
( |
float |
_transparency | ) |
|
Set the transparency of the manip.
- Parameters
-
[in] | _transparency | Transparency. |
void SetVisible |
( |
bool |
_visible | ) |
|
Set the visibility of the manip.
- Parameters
-
[in] | _visible | True for visible, false for invisible. |
Set the visual this manip manages.
- Parameters
-
[in] | _visual | A pointer of the visual object. |
std::string Texture |
( |
| ) |
const |
Get the texture of the manip.
- Returns
- Texture.
void TextureChanged |
( |
const std::string & |
_texture | ) |
|
|
signal |
Qt signal emitted when the manip's texture has changed from the 3D view.
- Parameters
-
double Transparency |
( |
| ) |
const |
Get the transparency of the manip.
- Returns
- Transparency.
Get the visual this manip manages.
- Returns
- A pointer to the visual object.
The documentation for this class was generated from the following file: