40#ifndef H_OGF_MESH_GFX_SHADERS_PARAM_MESH_GROB_SHADER_H
41#define H_OGF_MESH_GFX_SHADERS_PARAM_MESH_GROB_SHADER_H
43#include <OGF/mesh_gfx/common/common.h>
79 gom_attribute(visible_if,
"has_facets")
81 surface_style_ = value;
90 return surface_style_;
100 gom_attribute(visible_if,
"has_facets or has_cells")
MeshGrobShader(MeshGrob *grob)
MeshGrobShader constructor.
A Grob wrapper around Geogram's Mesh class.
void set_mesh_style(const EdgeStyle &value)
Sets the style used to draw the mesh in the facets and in the cells.
const SurfaceStyle & get_surface_style() const
Gets the current surface drawing style.
update()
Redraws the scene.
~ParamMeshGrobShader() override
PlainMeshGrobShader destructor.
const EdgeStyle & get_mesh_style() const
Gets the style used to draw the mesh in the facets and in the cells.
void draw() override
Draws the Grob.
ParamMeshGrobShader(MeshGrob *grob)
PlainMeshGrobShader constructor.
Grob * grob() const
Gets the Grob.
Classes for drawing and picking MeshGrob.
Global Graphite namespace.
Drawing style for mesh edges.
Drawing style for polygons.