OpenStructure
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Namespaces | Functions
mapped_property.hh File Reference
#include <ost/mol/entity_view.hh>
#include <ost/gfx/module_config.hh>
#include <ost/gfx/gradient.hh>

Go to the source code of this file.

Namespaces

namespace  ost
namespace  ost::gfx
namespace  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)