39 #ifndef H_OGF_MESH_GFX_SHADERS_MESH_GROB_PDB_SHADER_H
40 #define H_OGF_MESH_GFX_SHADERS_MESH_GROB_PDB_SHADER_H
42 #include <OGF/mesh_gfx/common/common.h>
66 enum AtomColoring { constant, atom, chain };
74 void set_lighting(
bool value) {
88 void set_atom_colors(AtomColoring x) {
93 AtomColoring get_atom_colors()
const {
97 void set_atom_size(
index_t value) {
102 index_t get_atom_size()
const {
115 AtomColoring atom_colors_;
Base class for drawing and picking MeshGrob.
A Grob wrapper around Geogram's Mesh class.
update()
Redraws the scene.
PDBMeshGrobShader(MeshGrob *grob)
PDBMeshGrobShader constructor.
bool get_lighting() const
Gets whether lighting is used.
void draw() override
Draws the Grob.
~PDBMeshGrobShader() override
PDBMeshGrobShader destructor.
Classes for drawing and picking MeshGrob.
geo_index_t index_t
The type for storing and manipulating indices.
Global Graphite namespace.