#include <MbsCone.hh>
|
| MbsCone (double r, 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 | ~MbsCone () |
| destructor More...
|
|
◆ MbsCone()
MbsCone |
( |
double |
r, |
|
|
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] | r | radius [m] |
[in] | h | height [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 |
◆ ~MbsCone()
The documentation for this class was generated from the following files:
- mbs_common/mbs_realtime/open_gl/shapes/specific/MbsCone.hh
- mbs_common/mbs_realtime/open_gl/shapes/specific/MbsCone.cc