OpenStructure
Namespaces | Functions
mapped_property.hh File Reference
#include <ost/mol/entity_view.hh>
#include <ost/img/map.hh>
#include <ost/gfx/module_config.hh>
#include <ost/gfx/gradient.hh>

Go to the source code of this file.

Namespaces

 ost
 
 ost::gfx
 
 ost::gfx::impl
 

Functions

float Normalize (float v, float min_v, float max_v)
 
float Clamp (float v, float min_v, float max_v)
 
float DLLEXPORT_OST_GFX MappedProperty (const mol::EntityView &ev, const String &prop, const geom::Vec3 &pos)
 
Color DLLEXPORT_OST_GFX MappedProperty (const mol::EntityView &ev, const String &prop, const Gradient &g, float minv, float maxv, const geom::Vec3 &pos)
 
float DLLEXPORT_OST_GFX MappedProperty (const img::MapHandle &mh, const String &prop, const geom::Vec3 &pos)
 
Color DLLEXPORT_OST_GFX MappedProperty (const img::MapHandle &mh, const String &prop, const Gradient &g, float minv, float maxv, const geom::Vec3 &pos)