gramods
Public Member Functions | Public Attributes | List of all members
gramods::gmGraphics::SphereSceneRenderer::Impl Struct Reference
Collaboration diagram for gramods::gmGraphics::SphereSceneRenderer::Impl:
Collaboration graph
[legend]

Public Member Functions

void setup ()
 
void render (const Camera &camera, const Eigen::Affine3f &Mm)
 
void getNearFar (const Camera &camera, const Eigen::Affine3f &Mm, float &near, float &far)
 
void teardown ()
 

Public Attributes

GLuint vertex_shader_id = 0
 
GLuint fragment_shader_id = 0
 
GLuint program_id = 0
 
GLuint vao_id = 0
 
GLuint vbo_id = 0
 
float sphere_radius = 0.1f
 
float sphere_set_radius = 1.0f
 
float fill_ratio = 0.5
 
Eigen::Vector3f position = Eigen::Vector3f::Zero()
 
Eigen::Vector3f color = Eigen::Vector3f::Ones()
 
std::vector< Eigen::Vector3f > set_positions
 
std::vector< uint32_t > indices
 
bool is_setup = false
 
bool is_functional = false
 

The documentation for this struct was generated from the following file: