![]() |
TrinityCore
|
#include <WorldModel.h>
Public Member Functions | |
| WorldModel () | |
| void | setGroupModels (std::vector< GroupModel > &models) |
| pass group models to WorldModel and create BIH. Passed vector is swapped with old geometry! | |
| void | setRootWmoID (uint32 id) |
| bool | IntersectRay (const G3D::Ray &ray, float &distance, bool stopAtFirstHit, ModelIgnoreFlags ignoreFlags) const |
| bool | GetLocationInfo (const G3D::Vector3 &p, const G3D::Vector3 &down, float &dist, GroupLocationInfo &info) const |
| bool | writeFile (const std::string &filename) |
| bool | readFile (const std::string &filename) |
| void | getGroupModels (std::vector< GroupModel > &outGroupModels) |
Public Attributes | |
| uint32 | Flags |
Protected Attributes | |
| uint32 | RootWMOID |
| std::vector< GroupModel > | groupModels |
| BIH | groupTree |
Holds a model (converted M2 or WMO) in its original coordinate space
Definition at line 109 of file WorldModel.h.
|
inline |
Definition at line 112 of file WorldModel.h.
| void VMAP::WorldModel::getGroupModels | ( | std::vector< GroupModel > & | outGroupModels | ) |
| bool VMAP::WorldModel::GetLocationInfo | ( | const G3D::Vector3 & | p, |
| const G3D::Vector3 & | down, | ||
| float & | dist, | ||
| GroupLocationInfo & | info | ||
| ) | const |
Definition at line 553 of file WorldModel.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:| bool VMAP::WorldModel::IntersectRay | ( | const G3D::Ray & | ray, |
| float & | distance, | ||
| bool | stopAtFirstHit, | ||
| ModelIgnoreFlags | ignoreFlags | ||
| ) | const |
Definition at line 504 of file WorldModel.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:| bool VMAP::WorldModel::readFile | ( | const std::string & | filename | ) |
Definition at line 616 of file WorldModel.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:| void VMAP::WorldModel::setGroupModels | ( | std::vector< GroupModel > & | models | ) |
pass group models to WorldModel and create BIH. Passed vector is swapped with old geometry!
Definition at line 484 of file WorldModel.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
| bool VMAP::WorldModel::writeFile | ( | const std::string & | filename | ) |
Definition at line 583 of file WorldModel.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:| uint32 VMAP::WorldModel::Flags |
Definition at line 122 of file WorldModel.h.
|
protected |
Definition at line 125 of file WorldModel.h.
|
protected |
Definition at line 126 of file WorldModel.h.
|
protected |
Definition at line 124 of file WorldModel.h.