|
Robotran C Documentation
|
Go to the documentation of this file.
7 #ifndef _DEFAULT_SHAPE_RENDERER_HH_
8 #define _DEFAULT_SHAPE_RENDERER_HH_
30 virtual void Init(std::vector<glm::vec3> vertices,
31 std::vector<glm::vec3> colors,
32 std::vector<glm::vec3> normals,
33 std::vector<unsigned int> indexes){}
37 virtual void Update(glm::mat4 model_mat,
39 glm::mat3 M_inv_trans,
42 glm::vec3
const& specular_mat,
53 #endif //_DEFAULT_SHAPE_RENDERER_HH_
virtual void Init(std::vector< glm::vec3 > vertices, std::vector< glm::vec3 > colors, std::vector< glm::vec3 > normals, std::vector< unsigned int > indexes)
Init the current shape renderer: create Default object necessary to represnet the shape.
Definition: DefaultShapeRenderer.hh:30
Definition: MpegFrameCaptureOptions.hh:6
virtual void Update(glm::mat4 model_mat, glm::mat4 MVP, glm::mat3 M_inv_trans, MbsWorld3D *world_3d, float shiny_mat, glm::vec3 const &specular_mat, float transparency)
Execute the necessary code to render this shape: Update the Default transform and add it to the pipel...
Definition: DefaultShapeRenderer.hh:37
DefaultShapeRenderer class is a default implementation of DefaultShapeRenderer. It implements the fun...
Definition: DefaultShapeRenderer.hh:21
DefaultShapeRenderer()
Constructor.
Definition: DefaultShapeRenderer.hh:26
virtual void ShadowDepth(int index)
Definition: DefaultShapeRenderer.hh:45
MbsShapeRenderer is an abstract class that defines the property need to render a MbsShape3D....
Definition: MbsShapeRenderer.hh:29
virtual void SetModelMat(glm::mat4 const &model_mat)
Definition: DefaultShapeRenderer.hh:47