Public Member Functions | |
VgMyAvatarDisplay (VgApplication::VgIApplication *pVgApplication, VgMyTextureLoader *pTextureLoader, bool pDoesFollowRoute) | |
Constructor. | |
virtual | ~VgMyAvatarDisplay () |
void | updateWithPosition (VgEngine::VgConstRefPtr< VgNavigationModule::VgINavigation > const &pNavigation, const VgEngine::VgPosition &pPosition) |
A notification containing the latest position associated with the navigation object. | |
void | clear () |
Clears the object. | |
void | show () |
Declaration from interface : VgMyDisplayable. | |
void | hide () |
Hides this Object. | |
bool | isVisible () |
Protected Attributes | |
VgApplication::VgIApplication * | mVgApplication |
VgEngine::VgRefPtr < Vg3DModule::VgPoint > | mAvatarPoint |
VgMyTextureLoader * | mTextureLoader |
VgEngine::VgPosition | mPosition |
std::string | mLastAvatarLayerName |
bool | mDoesFollowRoute |
bool | mIsAvatarVisible |
VgMyAvatarDisplay::VgMyAvatarDisplay | ( | VgApplication::VgIApplication * | pVgApplication, |
VgMyTextureLoader * | pTextureLoader, | ||
bool | pDoesFollowRoute | ||
) |
Constructor.
pVgApplication | VgIApplication to use. Can't be NULL |
pTextureLoader | VgMyTextureLoader to use. Can't be NULL. |
pDoesFollowRoute | Use TRUE to display an avatar projected on the closest point of the route. Use FALSE to display an avatar with the exact position. |
virtual VgMyAvatarDisplay::~VgMyAvatarDisplay | ( | ) | [virtual] |
void VgMyAvatarDisplay::clear | ( | ) | [virtual] |
Clears the object.
Implements VgMyNavigationPositionDisplay.
void VgMyAvatarDisplay::hide | ( | ) | [virtual] |
bool VgMyAvatarDisplay::isVisible | ( | ) | [virtual] |
Implements VgMyNavigationPositionDisplay.
void VgMyAvatarDisplay::show | ( | ) | [virtual] |
Declaration from interface : VgMyDisplayable.
Implements VgMyNavigationPositionDisplay.
void VgMyAvatarDisplay::updateWithPosition | ( | VgEngine::VgConstRefPtr< VgNavigationModule::VgINavigation > const & | pNavigation, |
const VgEngine::VgPosition & | pPosition | ||
) | [virtual] |
A notification containing the latest position associated with the navigation object.
pNavigation | The navigation object. |
pPosition | The new position. |
Implements VgMyNavigationPositionDisplay.
VgEngine::VgRefPtr< Vg3DModule::VgPoint > VgMyAvatarDisplay::mAvatarPoint [protected] |
bool VgMyAvatarDisplay::mDoesFollowRoute [protected] |
bool VgMyAvatarDisplay::mIsAvatarVisible [protected] |
std::string VgMyAvatarDisplay::mLastAvatarLayerName [protected] |
VgEngine::VgPosition VgMyAvatarDisplay::mPosition [protected] |
VgMyTextureLoader* VgMyAvatarDisplay::mTextureLoader [protected] |
VgApplication::VgIApplication* VgMyAvatarDisplay::mVgApplication [protected] |