SGExpressiond const* animationValue) :
_condition(condition),
_animationValue(animationValue)
- { }
+ {
+ setName("SGTranslateAnimation::UpdateCallback");
+ }
virtual void operator()(osg::Node* node, osg::NodeVisitor* nv)
{
if (!_condition || _condition->test()) {
_animationValue[0] = animationValue[0];
_animationValue[1] = animationValue[1];
_animationValue[2] = animationValue[2];
+ setName("SGScaleAnimation::UpdateCallback");
}
virtual void operator()(osg::Node* node, osg::NodeVisitor* nv)
{
_maxAnimationValue(maxAnimationValue),
_minStaticValue(minValue),
_maxStaticValue(maxValue)
- {}
+ {
+ setName("SGRangeAnimation::UpdateCallback");
+ }
virtual void operator()(osg::Node* node, osg::NodeVisitor* nv)
{
osg::LOD* lod = static_cast<osg::LOD*>(node);
UpdateCallback(const SGPropertyNode* configNode, const SGExpressiond* v) :
_prev_value(-1),
_animationValue(v)
- { }
+ {
+ setName("SGBlendAnimation::UpdateCallback");
+ }
virtual void operator()(osg::Node* node, osg::NodeVisitor* nv)
{
double blend = _animationValue->getValue();
rNode->getDoubleValue( "max", 1));
}
}
+ setName("SGTimedAnimation::UpdateCallback");
}
virtual void operator()(osg::Node* node, osg::NodeVisitor* nv)
{
public:
UpdateCallback(const SGCondition* condition) :
_condition(condition)
- {}
+ {
+ setName("SGShadowAnimation::UpdateCallback");
+ }
virtual void operator()(osg::Node* node, osg::NodeVisitor* nv)
{
if (_condition->test())
public:
UpdateCallback(const SGCondition* condition) :
_condition(condition)
- { }
+ {
+ setName("SGTexTransformAnimation::UpdateCallback");
+ }
virtual void operator () (osg::StateAttribute* sa, osg::NodeVisitor*)
{
if (!_condition || _condition->test()) {