40 #ifndef H_OGF_LUAGROB_SHADERS_LUAGROB_GROB_SHADER_H
41 #define H_OGF_LUAGROB_SHADERS_LUAGROB_GROB_SHADER_H
61 class RenderingContext;
68 gom_attribute(
abstract,
"true")
104 return static_cast<LuaGrob*
>(grob());
148 void set_lighting(
bool value) {
Base class for drawing and picking LuaGrob.
void blink() override
Draws the current object several times, while chaning the value of one graphic attribute (e....
~LuaGrobShader() override
LuaGrobShader destructor.
LuaGrobShader(LuaGrob *grob)
LuaGrobShader constructor.
void draw() override
Draws the Grob.
LuaGrob * lua_grob() const
Gets the LuaGrob.
void pick_object(index_t object_id) override
Draws the Grob in picking mode.
A Grob class for luagrob grids.
The default implementation of LuaGrobShader.
void set_box_style(const EdgeStyle &value)
Sets the style used to draw the mesh in the facets and in the cells.
void draw_wireframe_box()
Draws the bounding box in wireframe.
void pick_object(index_t object_id) override
Draws the Grob in picking mode.
bool get_clipping() const
Gets whether clipping should be used.
const EdgeStyle & get_box_style() const
Gets the style used to draw the mesh in the facets and in the cells.
PlainLuaGrobShader(LuaGrob *grob)
PlainLuaGrobShader constructor.
void blink() override
Draws the current object several times, while chaning the value of one graphic attribute (e....
void draw() override
Draws the Grob.
update()
Redraws the scene.
void set_clipping(bool value)
Sets whether clipping should be active.
bool get_lighting() const
Gets whether lighting is used.
~PlainLuaGrobShader() override
PlainLuaGrobShader destructor.
Base class for Grob shader.
Global Vorpaline namespace.
geo_index_t index_t
The type for storing and manipulating indices.
Global Graphite namespace.
The base class for all object shaders.
Definitions common to all include files in the luagrob library.
Drawing style for mesh edges.