TrinityCore
Model Class Reference

#include <model.h>

Public Member Functions

bool open ()
 
bool ConvertToVMAPModel (char const *outfilename)
 
 Model (std::string &filename)
 
 ~Model ()
 

Public Attributes

ModelHeader header
 
Vec3Dvertices
 
uint32indices
 
AaBox3D bounds
 

Private Member Functions

void _unload ()
 

Private Attributes

std::string filename
 

Detailed Description

Definition at line 32 of file model.h.

Constructor & Destructor Documentation

◆ Model()

Model::Model ( std::string &  filename)

Definition at line 33 of file model.cpp.

◆ ~Model()

Model::~Model ( )
inline

Definition at line 53 of file model.h.

+ Here is the call graph for this function:

Member Function Documentation

◆ _unload()

void Model::_unload ( )
inlineprivate

Definition at line 35 of file model.h.

+ Here is the caller graph for this function:

◆ ConvertToVMAPModel()

bool Model::ConvertToVMAPModel ( char const *  outfilename)

Definition at line 88 of file model.cpp.

+ Here is the caller graph for this function:

◆ open()

bool Model::open ( )

Definition at line 37 of file model.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Member Data Documentation

◆ bounds

AaBox3D Model::bounds

Definition at line 47 of file model.h.

◆ filename

std::string Model::filename
private

Definition at line 42 of file model.h.

◆ header

ModelHeader Model::header

Definition at line 44 of file model.h.

◆ indices

uint32* Model::indices

Definition at line 46 of file model.h.

◆ vertices

Vec3D* Model::vertices

Definition at line 45 of file model.h.


The documentation for this class was generated from the following files: