3 #include <osg\NodeCallback>
4 #include <osg\Material>
16 : _dirty(false), _highlighted(false) { setIncrementValue(increment); }
18 virtual void operator()(osg::Node*
node, osg::NodeVisitor* nv);
22 inline void setIncrementValue(
double val) { _increment = val; _incrementVec = osg::Vec4(val, val, val, 0); }
24 inline void setHighlighting(
bool val) {
if(val != _highlighted) _dirty = !_dirty; _highlighted = val; }