#include <actorproxyicon.h>
Public Member Functions | |
| ActorProxyIcon (const IconType &type=IconType::GENERIC) | |
| Constructs a new actor proxy billboard icon. | |
| ActorProxyIcon (const IconType &type, const ActorProxyIconConfig &pConfig) | |
| Constructs a new actor proxy billboard icon using an optional config class meant to be extendable to allow various options. | |
| void | SetIconType (const IconType &type) |
| Sets the icon type used by this proxy icon. | |
| dtCore::DeltaDrawable * | GetDrawable () |
| Gets the Delta3D drawable for this proxy icon. | |
| const dtCore::DeltaDrawable * | GetDrawable () const |
| Gets the Delta3D drawable for this proxy icon. | |
| bool | OwnsDrawable (dtCore::DeltaDrawable *drawable) const |
| void | SetPosition (const osg::Vec3 &newPos) |
| void | SetRotation (const osg::Matrix &rotMat) |
| void | SetActorRotation (const osg::Vec3 &hpr) |
| void | SetActorRotation (const osg::Matrix &mat) |
| osg::Matrix | GetActorRotation () |
| void | SetScale (const osg::Vec3 &newScale) |
Static Public Member Functions | |
| static void | staticInitialize () |
| Initializes the paths to the billboard image files. | |
Static Public Attributes | |
| static std::string | IMAGE_BILLBOARD_GENERIC |
| static std::string | IMAGE_BILLBOARD_CHARACTER |
| static std::string | IMAGE_BILLBOARD_STATICMESH |
| static std::string | IMAGE_BILLBOARD_LIGHT |
| static std::string | IMAGE_BILLBOARD_SOUND |
| static std::string | IMAGE_BILLBOARD_PARTICLESYSTEM |
| static std::string | IMAGE_BILLBOARD_MESHTERRAIN |
| static std::string | IMAGE_BILLBOARD_PLAYERSTART |
| static std::string | IMAGE_BILLBOARD_TRIGGER |
| static std::string | IMAGE_BILLBOARD_CAMERA |
| static std::string | IMAGE_BILLBOARD_WAYPOINT |
| static std::string | IMAGE_ARROW_HEAD |
| static std::string | IMAGE_ARROW_BODY |
Protected Member Functions | |
| virtual | ~ActorProxyIcon () |
| void | LoadImages () |
| Helper method assigns a texture and appropriate state to the billboard. | |
Friends | |
| class | Project |
| class | dtEditQt::ViewportManager |
Classes | |
| struct | ActorProxyIconConfig |
| class | BillBoardDrawable |
| class | IconType |
| This enumeration enumerates the different types of billboard icons that are supported by default by the level editor. More... | |
| dtDAL::ActorProxyIcon::ActorProxyIcon | ( | const IconType & | type = IconType::GENERIC |
) |
Constructs a new actor proxy billboard icon.
This creates the necessary scene geometry and attaches the appropriate image to the icon.
| type | Type of icon to create. By default, IconType::GENERIC is used. |
| dtDAL::ActorProxyIcon::ActorProxyIcon | ( | const IconType & | type, | |
| const ActorProxyIconConfig & | pConfig | |||
| ) |
Constructs a new actor proxy billboard icon using an optional config class meant to be extendable to allow various options.
| dtDAL::ActorProxyIcon::~ActorProxyIcon | ( | ) | [protected, virtual] |
| void dtDAL::ActorProxyIcon::staticInitialize | ( | ) | [static] |
| void dtDAL::ActorProxyIcon::SetIconType | ( | const IconType & | type | ) | [inline] |
Sets the icon type used by this proxy icon.
| type |
| dtCore::DeltaDrawable * dtDAL::ActorProxyIcon::GetDrawable | ( | ) |
Gets the Delta3D drawable for this proxy icon.
| const dtCore::DeltaDrawable * dtDAL::ActorProxyIcon::GetDrawable | ( | ) | const |
Gets the Delta3D drawable for this proxy icon.
| bool dtDAL::ActorProxyIcon::OwnsDrawable | ( | dtCore::DeltaDrawable * | drawable | ) | const |
| void dtDAL::ActorProxyIcon::SetPosition | ( | const osg::Vec3 & | newPos | ) |
| void dtDAL::ActorProxyIcon::SetRotation | ( | const osg::Matrix & | rotMat | ) |
| void dtDAL::ActorProxyIcon::SetActorRotation | ( | const osg::Vec3 & | hpr | ) |
| void dtDAL::ActorProxyIcon::SetActorRotation | ( | const osg::Matrix & | mat | ) |
| osg::Matrix dtDAL::ActorProxyIcon::GetActorRotation | ( | ) |
| void dtDAL::ActorProxyIcon::SetScale | ( | const osg::Vec3 & | newScale | ) |
| void dtDAL::ActorProxyIcon::LoadImages | ( | ) | [protected] |
Helper method assigns a texture and appropriate state to the billboard.
This should only be called be dtDAL::Project (which is a friend).
friend class Project [friend] |
friend class dtEditQt::ViewportManager [friend] |
std::string dtDAL::ActorProxyIcon::IMAGE_BILLBOARD_GENERIC [static] |
std::string dtDAL::ActorProxyIcon::IMAGE_BILLBOARD_CHARACTER [static] |
std::string dtDAL::ActorProxyIcon::IMAGE_BILLBOARD_STATICMESH [static] |
std::string dtDAL::ActorProxyIcon::IMAGE_BILLBOARD_LIGHT [static] |
std::string dtDAL::ActorProxyIcon::IMAGE_BILLBOARD_SOUND [static] |
std::string dtDAL::ActorProxyIcon::IMAGE_BILLBOARD_PARTICLESYSTEM [static] |
std::string dtDAL::ActorProxyIcon::IMAGE_BILLBOARD_MESHTERRAIN [static] |
std::string dtDAL::ActorProxyIcon::IMAGE_BILLBOARD_PLAYERSTART [static] |
std::string dtDAL::ActorProxyIcon::IMAGE_BILLBOARD_TRIGGER [static] |
std::string dtDAL::ActorProxyIcon::IMAGE_BILLBOARD_CAMERA [static] |
std::string dtDAL::ActorProxyIcon::IMAGE_BILLBOARD_WAYPOINT [static] |
std::string dtDAL::ActorProxyIcon::IMAGE_ARROW_HEAD [static] |
std::string dtDAL::ActorProxyIcon::IMAGE_ARROW_BODY [static] |