38 #ifndef H_OGF_SCENE_GRAPH_GFX_SYMBOLS_CHECKER_SPHERE_H
39 #define H_OGF_SCENE_GRAPH_GFX_SYMBOLS_CHECKER_SPHERE_H
41 #include <OGF/scene_graph_gfx/common/common.h>
53 class RenderingContext;
79 index_t get_nb_segments()
const {
107 checker_size_ = value;
116 return rendering_context_;
125 rendering_context_ = value;
229 vec3 lighting_vector_;
Draws a sphere with a colored checkerboard.
void set_lighting(bool value)
Sets whether lighting is used.
void set_rendering_context(RenderingContext *value)
Sets the rendering context.
void set_color2(const Color &value)
Sets the other color used to draw the checkerboard.
void set_mesh_color(const Color &value)
Sets the mesh color.
const Color & get_mesh_color() const
Gets the mesh color.
void set_wireframe(bool value)
Sets wireframe mode.
CheckerSphere()
CheckerSphere constructor.
const Color & get_color2() const
Gets the other color used to draw the checkerboard.
void set_color1(const Color &value)
Sets one of the colors used to draw the checkerboard.
index_t get_checker_size() const
void set_checker_size(index_t value)
bool get_lighting() const
Tests whether lighting is used.
void set_nb_segments(index_t value)
Sets the number of segments.
~CheckerSphere() override
CheckerShpere destructor.
bool get_wireframe() const
Tests whether wireframe mode is active.
RenderingContext * get_rendering_context() const
Gets the rendering context.
const Color & get_color1() const
Gets one of the colors used to draw the checkerboard.
Base class for all objects in the GOM system.
Helper class for OpenGL context management.
geo_index_t index_t
The type for storing and manipulating indices.
Global Graphite namespace.
The base class for all objects in the GOM system.
Simple geometric objects and manipulations.