OpenSceneGraph
Classes | Namespaces | Macros
Action File Reference
#include <osgAnimation/Export>
#include <osgAnimation/Animation>
#include <osgAnimation/ActionVisitor>
#include <osgAnimation/FrameAction>
#include <iostream>

Classes

class  osgAnimation::Action
 
class  osgAnimation::Action::Callback
 

Namespaces

 osgAnimation
 The osgAnimation library provides general purpose utility classes for animation.
 

Macros

#define OSGANIMATION_ACTION_H
 
#define META_Action(library, name)
 

Macro Definition Documentation

◆ META_Action

#define META_Action (   library,
  name 
)
Value:
virtual osg::Object* cloneType() const { return new name (); } \
virtual osg::Object* clone(const osg::CopyOp& copyop) const { return new name (*this,copyop); } \
virtual bool isSameKindAs(const osg::Object* obj) const { return dynamic_cast<const name *>(obj)!=NULL; } \
virtual const char* className() const { return #name; } \
virtual const char* libraryName() const { return #library; } \
virtual void accept(osgAnimation::ActionVisitor& nv) { nv.apply(*this); } \
#define NULL
Definition: Export:55
virtual void apply(Action &action)
Base class/standard interface for objects which require IO support, cloning and reference counting...
Definition: Object:60
Definition: ActionVisitor:38
T * clone(const T *t, const osg::CopyOp &copyop=osg::CopyOp::SHALLOW_COPY)
Definition: Object:323
Copy Op(erator) used to control whether shallow or deep copy is used during copy construction and clo...
Definition: CopyOp:41
T * cloneType(const T *t)
Definition: Object:365

◆ OSGANIMATION_ACTION_H

#define OSGANIMATION_ACTION_H