|  | anatomist
    5.1.2
    3D neuroimaging data viewer | 
#include <anatomist/surface/Shader.h>
| Classes | |
| struct | ColoringModel_ | 
| Coloring model flags.  More... | |
| struct | InterpolationModel_ | 
| Interpolation model flags.  More... | |
| struct | LightingModel_ | 
| Light model flags.  More... | |
| struct | MaterialModel_ | 
| Material model flags.  More... | |
| Public Types | |
| typedef LightingModel_::EnumType | LightingModel | 
| typedef InterpolationModel_::EnumType | InterpolationModel | 
| typedef ColoringModel_::EnumType | ColoringModel | 
| typedef MaterialModel_::EnumType | MaterialModel | 
| Static Public Member Functions | |
| static bool | isSupported (void) | 
| static bool | getAnatomistDefaultBehaviour (void) | 
| static bool | isActivated (void) | 
| static bool | isUsedByDefault (void) | 
| static void | enable_all (void) | 
| static void | disable_all (void) | 
| Static Public Attributes | |
| static LightingModel_::EnumType | DefaultLightingModel | 
| static InterpolationModel_::EnumType | DefaultInterpolationModel | 
| static ColoringModel_::EnumType | DefaultColoringModel | 
| static MaterialModel_::EnumType | DefaultMaterialModel | 
| Protected Member Functions | |
| void | load (void) | 
| Static Protected Member Functions | |
| static bool | _isSupported (void) | 
| Protected Attributes | |
| LightingModel | _lighting_model | 
| InterpolationModel | _interpolation_model | 
| ColoringModel | _coloring_model | 
| MaterialModel | _material_model | 
| Friends | |
| std::ostream & | operator<< (std::ostream &, const anatomist::Shader &) | 
| anatomist::Shader::Shader | ( | ) | 
| anatomist::Shader::Shader | ( | const Shader & | ) | 
| 
 | virtual | 
| 
 | staticprotected | 
| void anatomist::Shader::bind | ( | const GLComponent & | glc, | 
| const ViewState & | state | ||
| ) | 
| void anatomist::Shader::disable | ( | void | ) | 
| 
 | static | 
| void anatomist::Shader::enable | ( | void | ) | 
| 
 | static | 
| 
 | static | 
| 
 | inline | 
Definition at line 225 of file Shader.h.
References _coloring_model.
| 
 | inline | 
Definition at line 220 of file Shader.h.
References _interpolation_model.
| 
 | inline | 
Definition at line 215 of file Shader.h.
References _lighting_model.
| 
 | inline | 
Definition at line 230 of file Shader.h.
References _material_model.
| 
 | static | 
| 
 | static | 
| 
 | static | 
| 
 | protected | 
| void anatomist::Shader::load_if_needed | ( | void | ) | 
| bool anatomist::Shader::operator!= | ( | const Shader & | ) | const | 
| 
 | inline | 
| void anatomist::Shader::release | ( | void | ) | 
| void anatomist::Shader::reload | ( | void | ) | 
| 
 | inline | 
Definition at line 194 of file Shader.h.
References _coloring_model.
| 
 | inline | 
Definition at line 189 of file Shader.h.
References _interpolation_model.
| 
 | inline | 
Definition at line 184 of file Shader.h.
References _lighting_model.
| 
 | inline | 
Definition at line 199 of file Shader.h.
References _material_model.
| 
 | inline | 
Definition at line 204 of file Shader.h.
References _coloring_model, _interpolation_model, _lighting_model, and _material_model.
| void anatomist::Shader::setShaderParameters | ( | const ATexSurface & | obj, | 
| const ViewState & | state | ||
| ) | const | 
| void anatomist::Shader::setShaderParameters | ( | const AVolumeBase & | obj, | 
| const ViewState & | state | ||
| ) | const | 
| void anatomist::Shader::setShaderParameters | ( | const GLComponent & | obj, | 
| const ViewState & | state | ||
| ) | const | 
Referenced by anatomist::GLComponent::setShaderParameters().
| void anatomist::Shader::setShaderParameters | ( | const GLMObject & | obj, | 
| const ViewState & | state | ||
| ) | const | 
| 
 | friend | 
| 
 | protected | 
Definition at line 174 of file Shader.h.
Referenced by getColoringModel(), setColoringModel(), and setModels().
| 
 | protected | 
Definition at line 173 of file Shader.h.
Referenced by getInterpolationModel(), setInterpolationModel(), and setModels().
| 
 | protected | 
Definition at line 172 of file Shader.h.
Referenced by getLightingModel(), setLightingModel(), and setModels().
| 
 | protected | 
Definition at line 175 of file Shader.h.
Referenced by getMaterialModel(), setMaterialModel(), and setModels().
| 
 | static | 
| 
 | static | 
| 
 | static | 
| 
 | static |