#include <MbsBox.hh>
|
| MbsBox (double d, double w, double h, glm::vec3 const &color, MbsWorld3D *world_3d, float transparency=1.0, glm::vec3 const &trans_pos=glm::vec3(0.0f), glm::vec3 const &trans_scale=glm::vec3(1.0, 1.0, 1.0), glm::vec3 const &trans_rot=glm::vec3(0.0f), float shiny_mat=250.f, glm::vec3 const &specular_mat=glm::vec3(1.0f, 1.0f, 1.0f), const char *name="none") |
| constructor More...
|
|
virtual | ~MbsBox () |
| destructor More...
|
|
|
double | d |
| depth (size along the X axis) [m] More...
|
|
double | w |
| width (size along the Y axis) [m] More...
|
|
double | h |
| height (size along the Z axis) [m] More...
|
|
◆ MbsBox()
MbsBox |
( |
double |
d, |
|
|
double |
w, |
|
|
double |
h, |
|
|
glm::vec3 const & |
color, |
|
|
MbsWorld3D * |
world_3d, |
|
|
float |
transparency = 1.0 , |
|
|
glm::vec3 const & |
trans_pos = glm::vec3(0.0f) , |
|
|
glm::vec3 const & |
trans_scale = glm::vec3(1.0, 1.0, 1.0) , |
|
|
glm::vec3 const & |
trans_rot = glm::vec3(0.0f) , |
|
|
float |
shiny_mat = 250.f , |
|
|
glm::vec3 const & |
specular_mat = glm::vec3(1.0f, 1.0f, 1.0f) , |
|
|
const char * |
name = "none" |
|
) |
| |
constructor
- Parameters
-
[in] | d | depth (along X) [m] |
[in] | w | width (along Y) [m] |
[in] | h | height (along Z) [m] |
[in] | color | color of the shape |
[in] | world_3d | 3D world |
[in] | transparency | transparency value |
[in] | trans_pos | position transformation to apply |
[in] | trans_scale | scaling transformation to apply |
[in] | trans_rot | rotation transformation to apply |
[in] | shiny_mat | shininess of the material |
[in] | specular_mat | specular reflection of the material |
[in] | name | name of the shape |
◆ ~MbsBox()
depth (size along the X axis) [m]
height (size along the Z axis) [m]
width (size along the Y axis) [m]
The documentation for this class was generated from the following files:
- mbs_common/mbs_realtime/open_gl/shapes/specific/MbsBox.hh
- mbs_common/mbs_realtime/open_gl/shapes/specific/MbsBox.cc