An attribute for defining a scalar value on an BlobTree. More...
#include <attribute.h>
Inherits jbt_attribute.
Scalar values on implicit surfaces are necessary for placing specular highlight values on the surface, or coefficients for the illumination equation.
Create a new scalar attribute with the given value and the given type _t.
Create a new scalar attribute with the given type _t. Use this constructor to create an instance used to query a BlobTree by calling jbt_blobtree::attribute().
Convert an instance of the class to a jFlt.
Return the value for this class.
Set the value of the scalar for this class.
Reimplemented from jbt_attribute.
[protected, virtual]Computes the value, sets the data and returns the value. This is a stub function in this class because it should only be needed for special purpose colour sub-classes, like jbt_ytexturemap.
[protected]
Reimplemented from jbt_attribute.
[protected]