AvatarInterface Class Reference
#include <AvatarInterface.h>
Inherited by AvataraAvatar, and SimpleAvatar.
Collaboration diagram for AvatarInterface:
Public Member Functions | |
| AvatarInterface () | |
| virtual | ~AvatarInterface () |
| virtual void | setName (std::string name) |
| virtual std::string | getName () |
| virtual bool | loadConfig (std::string configFile)=0 |
| virtual ModelInterface * | getModel ()=0 |
| virtual void | showAvatar (bool active)=0 |
| virtual bool | isVisible ()=0 |
| virtual void | setTransformation (TransformationData trans)=0 |
| virtual void | update (float dt) |
Protected Member Functions | |
| virtual void | setOwner (User *user) |
| virtual User * | getOwner () |
Protected Attributes | |
| User * | owner |
| std::string | avatarName |
Friends | |
| class | User |
Constructor & Destructor Documentation
| AvatarInterface::AvatarInterface | ( | ) | [inline] |
| virtual AvatarInterface::~AvatarInterface | ( | ) | [inline, virtual] |
Member Function Documentation
| virtual ModelInterface* AvatarInterface::getModel | ( | ) | [pure virtual] |
Implemented in SimpleAvatar, and AvataraAvatar.
| virtual std::string AvatarInterface::getName | ( | ) | [inline, virtual] |
| virtual User* AvatarInterface::getOwner | ( | ) | [inline, protected, virtual] |
| virtual bool AvatarInterface::isVisible | ( | ) | [pure virtual] |
Implemented in SimpleAvatar, and AvataraAvatar.
| virtual bool AvatarInterface::loadConfig | ( | std::string | configFile | ) | [pure virtual] |
Implemented in SimpleAvatar, and AvataraAvatar.
| virtual void AvatarInterface::setName | ( | std::string | name | ) | [inline, virtual] |
| virtual void AvatarInterface::setOwner | ( | User * | user | ) | [inline, protected, virtual] |
Reimplemented in AvataraAvatar.
| virtual void AvatarInterface::setTransformation | ( | TransformationData | trans | ) | [pure virtual] |
Implemented in SimpleAvatar, and AvataraAvatar.
| virtual void AvatarInterface::showAvatar | ( | bool | active | ) | [pure virtual] |
Implemented in SimpleAvatar, and AvataraAvatar.
| virtual void AvatarInterface::update | ( | float | dt | ) | [inline, virtual] |
This function can be used for updating the animation-phase of the Avatar.
Reimplemented in AvataraAvatar.
Friends And Related Function Documentation
friend class User [friend] |
Member Data Documentation
std::string AvatarInterface::avatarName [protected] |
User* AvatarInterface::owner [protected] |
The documentation for this class was generated from the following file:
- src/inVRs/SystemCore/ComponentInterfaces/AvatarInterface.h
Generated on Wed Oct 20 16:11:54 2010 for inVRs by
1.5.8