AniPosEH.h

Classes

AniPosEH -- WorldCanvas position event handler for Animator. (full description)

class AniPosEH : public WCPositionEH

Interface

Public Members
AniPosEH()
~AniPosEH()
virtual void operator()(const WCPositionEvent& ev)
virtual void addWorldCanvasHolder(WorldCanvasHolder *wcHolder)
virtual void removeWorldCanvasHolder(WorldCanvasHolder& wcHolder)
virtual void resetAnimator()
Private Members
void setRestriction(Attribute& att)
void refresh()
void cleanup()

Description

Synopsis

Member Description

AniPosEH()

Constructor

~AniPosEH()

Destrutor

virtual void operator()(const WCPositionEvent& ev)

The operator that is given the position events and must process them

virtual void addWorldCanvasHolder(WorldCanvasHolder *wcHolder)
virtual void removeWorldCanvasHolder(WorldCanvasHolder& wcHolder)

add/remove a WorldCanvasHolder to the handler

virtual void resetAnimator()

reset the animator - this is typically called by the WorldCanvasHolder when DisplayDatas are registered or unregistered

void setRestriction(Attribute& att)

set a restriction on the WorldCanvasHolders

void refresh()

refresh the WorldCanvasHolders

void cleanup()

cleanup the DisplayDatas on all WorldCanvasHolders