35 #ifndef ANA_SURFACE_SHADER_H
36 #define ANA_SURFACE_SHADER_H
161 {
return( !
operator != ( mat ) ); }
Fusion object merging a triangulation and a texture object.
VolumeBase object : use for generic dynamic_cast of all AVolume<T>, thus the visitor design pattern c...
Base class for all OpenGL objects in Anatomist (with OpenGL display lists)
A Multi-object with OpenGL rendering capabilities.
static bool isUsedByDefault(void)
MaterialModel _material_model
static bool isActivated(void)
static bool isSupported(void)
void setShaderParameters(const GLComponent &obj, const ViewState &state) const
void setShaderParameters(const AVolumeBase &obj, const ViewState &state) const
static void enable_all(void)
bool operator==(const Shader &mat) const
void load_if_needed(void)
friend std::ostream & operator<<(std::ostream &, const anatomist::Shader &)
LightingModel _lighting_model
static MaterialModel_::EnumType DefaultMaterialModel
LightingModel_::EnumType LightingModel
InterpolationModel _interpolation_model
ColoringModel getColoringModel() const
void setColoringModel(ColoringModel m)
static ColoringModel_::EnumType DefaultColoringModel
static LightingModel_::EnumType DefaultLightingModel
static void disable_all(void)
void setInterpolationModel(InterpolationModel m)
MaterialModel_::EnumType MaterialModel
static bool getAnatomistDefaultBehaviour(void)
InterpolationModel_::EnumType InterpolationModel
void setShaderParameters(const ATexSurface &obj, const ViewState &state) const
ColoringModel_::EnumType ColoringModel
ColoringModel _coloring_model
InterpolationModel getInterpolationModel() const
static InterpolationModel_::EnumType DefaultInterpolationModel
void setLightingModel(LightingModel m)
MaterialModel getMaterialModel() const
void setModels(LightingModel lm, InterpolationModel im, ColoringModel cm, MaterialModel mm)
void setShaderParameters(const GLMObject &obj, const ViewState &state) const
LightingModel getLightingModel() const
bool operator!=(const Shader &) const
Shader & operator=(const Shader &)
void bind(const GLComponent &glc, const ViewState &state)
void setMaterialModel(MaterialModel m)
static bool _isSupported(void)
std::ostream & operator<<(std::ostream &, const anatomist::Material &)
@ Material
Material model.
@ Direction
Direction model.
Interpolation model flags.
@ OrenNayar
Oren-Nayar model.
ViewState holds information about how a view wants to see an object.