Skip to content

Project OpenGeode

struct AttributeLinearInterpolationImpl

Functions

compute

cpp
public GreyscaleColor compute(const AttributeLinearInterpolation & interpolator, const Attribute<GreyscaleColor> & attribute)
public GreyscaleColor compute(const AttributeLinearInterpolation & interpolator, const Attribute<GreyscaleColor> & attribute)

struct AttributeLinearInterpolationImpl

Functions

compute

cpp
public double compute(const AttributeLinearInterpolation & interpolator, const Attribute<double> & attribute)
public double compute(const AttributeLinearInterpolation & interpolator, const Attribute<double> & attribute)

struct AttributeLinearInterpolationImpl

Functions

compute

cpp
public Point<dimension> compute(const AttributeLinearInterpolation & interpolator, const Attribute<Point<dimension> > & attribute)
public Point<dimension> compute(const AttributeLinearInterpolation & interpolator, const Attribute<Point<dimension> > & attribute)

struct AttributeLinearInterpolationImpl

Functions

compute

cpp
public RGBColor compute(const AttributeLinearInterpolation & interpolator, const Attribute<RGBColor> & attribute)
public RGBColor compute(const AttributeLinearInterpolation & interpolator, const Attribute<RGBColor> & attribute)

struct AttributeLinearInterpolationImpl

Helper struct to interpolate an Attribute value. This struct may be customized for a given type. Example: template <> struct AttributeLinearInterpolationImpl< MyType > { template < template < typename > class Attribute > static MyType compute( const AttributeLinearInterpolation& interpolator, const Attribute< MyType >& attribute ) { // Interpolate using data from the interpolator return interpolated_value; } };

Functions

compute

cpp
public AttributeType compute(const AttributeLinearInterpolation & , const Attribute<AttributeType> & attribute)
public AttributeType compute(const AttributeLinearInterpolation & , const Attribute<AttributeType> & attribute)

struct AttributeLinearInterpolationImpl

Functions

compute

cpp
public float compute(const AttributeLinearInterpolation & interpolator, const Attribute<float> & attribute)
public float compute(const AttributeLinearInterpolation & interpolator, const Attribute<float> & attribute)

Geode-solutions' documentation website