SEGS  0.6.1-develop [d2cac982]
Super Entity Game Server
Macros | Functions | Variables | Public Slots
Projects/CoX/Utilities/MapViewer

Macros

#define MAX_GRAPH_DEPTH   80
 

Functions

Urho3D::StaticModel * convertedModelToLutefisk (Urho3D::Context *ctx, Urho3D::Node *tgtnode, SEGS::SceneNode *node, int opt)
 
float * combineBuffers (SEGS::VBOPointers &meshdata, SEGS::Model *mdl)
 
Urho3D::Node * convertedNodeToLutefisk (SEGS::SceneNode *conv_node, Urho3D::Node *urho_parent, const Urho3D::Matrix3x4 &mat, Context *ctx, int depth, int opt)
 
SEGS::HTexture tryLoadTexture (Urho3D::Context *ctx, const QString &fname)
 
std::vector< SEGS::HTexturegetModelTextures (Urho3D::Context *ctx, std::vector< QString > &names)
 
bool dataDirIsValid (const QString &path)
 
bool isThatPiggRequired (const QString &file)
 
bool checkPiggCrc (const QString &file, QProgressDialog &progress)
 
QString askForPiggDirPath ()
 
bool explodizeThePiggs (const QStringList &piggfiles, const QString &tgtpath, QProgressDialog &progressdlg)
 
bool acquireAndExplodePiggs ()
 
bool checkDataFileAvailability ()
 
int main (int argc, char **argv)
 
bool unpackPiggFile (const QString &filename, const QString &target_path)
 
 DataPathsDialog::DataPathsDialog (QWidget *parent=nullptr)
 
 DataPathsDialog::~DataPathsDialog ()
 
 MapViewerApp::MapViewerApp (Urho3D::Context *ctx)
 
 MapViewerApp::~MapViewerApp () override
 
void MapViewerApp::Setup () override
 
void MapViewerApp::Start () override
 
 SideWindow::SideWindow (QWidget *parent=nullptr)
 
 SideWindow::~SideWindow ()
 
void SideWindow::setMapViewer (MapViewerApp *mapview)
 
void SideWindow::changeEvent (QEvent *e)
 

Variables

QString basepath
 
QString basepath
 
QString basepath
 
std::vector< ConvertedInstanceg_converted_instances
 
std::unordered_map< SEGS::SceneNode *, int > g_node_to_converted
 
int created_node_count
 
QString basepath
 
std::unordered_map< uint32_t, Urho3D::SharedPtr< Urho3D::Texture > > g_converted_textures
 
QString basepath
 
QString basepath
 
int created_node_count = 0
 
QString basepath
 

Public Slots

void MapViewerApp::loadSelectedSceneGraph (const QString &path)
 
void MapViewerApp::onNodeSelected (SEGS::SceneNode *n)
 
void MapViewerApp::onDisplayRef (SEGS::RootNode *root, bool show_all)
 
void MapViewerApp::onDisplayNode (SEGS::SceneNode *n, bool rootnode)
 
void SideWindow::onCameraPositionChanged (float x, float y, float z)
 
void SideWindow::onModelSelected (SEGS::SceneNode *n, SEGS::Model *m, Urho3D::Drawable *d)
 
void SideWindow::onScenegraphLoaded (const SEGS::SceneGraph &sc)
 

Detailed Description

Macro Definition Documentation

◆ MAX_GRAPH_DEPTH

#define MAX_GRAPH_DEPTH   80

Function Documentation

◆ acquireAndExplodePiggs()

bool acquireAndExplodePiggs ( )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ askForPiggDirPath()

QString askForPiggDirPath ( )
Here is the caller graph for this function:

◆ changeEvent()

void SideWindow::changeEvent ( QEvent *  e)
protected

◆ checkDataFileAvailability()

bool checkDataFileAvailability ( )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ checkPiggCrc()

bool checkPiggCrc ( const QString &  file,
QProgressDialog &  progress 
)
Here is the caller graph for this function:

◆ combineBuffers()

float* combineBuffers ( SEGS::VBOPointers meshdata,
SEGS::Model mdl 
)

◆ convertedModelToLutefisk()

Urho3D::StaticModel* convertedModelToLutefisk ( Urho3D::Context *  ctx,
Urho3D::Node *  tgtnode,
SEGS::SceneNode node,
int  opt 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ convertedNodeToLutefisk()

Urho3D::Node* convertedNodeToLutefisk ( SEGS::SceneNode conv_node,
Urho3D::Node *  urho_parent,
const Urho3D::Matrix3x4 &  mat,
Context *  ctx,
int  depth,
int  opt 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ dataDirIsValid()

bool dataDirIsValid ( const QString &  path)
Here is the caller graph for this function:

◆ DataPathsDialog()

DataPathsDialog::DataPathsDialog ( QWidget *  parent = nullptr)
explicit

◆ explodizeThePiggs()

bool explodizeThePiggs ( const QStringList &  piggfiles,
const QString &  tgtpath,
QProgressDialog &  progressdlg 
)
Here is the call graph for this function:

◆ getModelTextures()

std::vector<SEGS::HTexture> getModelTextures ( Urho3D::Context *  ctx,
std::vector< QString > &  names 
)
Here is the call graph for this function:

◆ isThatPiggRequired()

bool isThatPiggRequired ( const QString &  file)
Here is the caller graph for this function:

◆ main()

int main ( int  argc,
char **  argv 
)
Here is the call graph for this function:

◆ MapViewerApp()

MapViewerApp::MapViewerApp ( Urho3D::Context *  ctx)

◆ setMapViewer()

void SideWindow::setMapViewer ( MapViewerApp mapview)
Here is the caller graph for this function:

◆ Setup()

void MapViewerApp::Setup ( )
override
Here is the call graph for this function:

◆ SideWindow()

SideWindow::SideWindow ( QWidget *  parent = nullptr)
explicit

◆ Start()

void MapViewerApp::Start ( )
override
Here is the call graph for this function:

◆ tryLoadTexture()

SEGS::HTexture tryLoadTexture ( Urho3D::Context *  ctx,
const QString &  fname 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ unpackPiggFile()

bool unpackPiggFile ( const QString &  filename,
const QString &  target_path 
)
Here is the caller graph for this function:

◆ ~DataPathsDialog()

DataPathsDialog::~DataPathsDialog ( )

◆ ~MapViewerApp()

MapViewerApp::~MapViewerApp ( )
override

◆ ~SideWindow()

SideWindow::~SideWindow ( )

Variable Documentation

◆ basepath [1/7]

QString basepath

◆ basepath [2/7]

QString basepath

◆ basepath [3/7]

QString basepath

◆ basepath [4/7]

QString basepath

◆ basepath [5/7]

QString basepath

◆ basepath [6/7]

QString basepath

◆ basepath [7/7]

QString basepath

◆ created_node_count [1/2]

int created_node_count

◆ created_node_count [2/2]

int created_node_count = 0

◆ g_converted_instances

std::vector<ConvertedInstance> g_converted_instances

◆ g_converted_textures

std::unordered_map<uint32_t,Urho3D::SharedPtr<Urho3D::Texture> > g_converted_textures

◆ g_node_to_converted

std::unordered_map<SEGS::SceneNode *,int> g_node_to_converted

Public Slots

◆ loadSelectedSceneGraph

void MapViewerApp::loadSelectedSceneGraph ( const QString &  path)
slot
Here is the call graph for this function:
Here is the caller graph for this function:

◆ onCameraPositionChanged

void SideWindow::onCameraPositionChanged ( float  x,
float  y,
float  z 
)
slot
Here is the caller graph for this function:

◆ onDisplayNode

void MapViewerApp::onDisplayNode ( SEGS::SceneNode n,
bool  rootnode 
)
slot
Here is the call graph for this function:
Here is the caller graph for this function:

◆ onDisplayRef

void MapViewerApp::onDisplayRef ( SEGS::RootNode root,
bool  show_all 
)
slot
Here is the call graph for this function:
Here is the caller graph for this function:

◆ onModelSelected

void SideWindow::onModelSelected ( SEGS::SceneNode n,
SEGS::Model m,
Urho3D::Drawable *  d 
)
slot
Here is the caller graph for this function:

◆ onNodeSelected

void MapViewerApp::onNodeSelected ( SEGS::SceneNode n)
slot
Here is the caller graph for this function:

◆ onScenegraphLoaded

void SideWindow::onScenegraphLoaded ( const SEGS::SceneGraph sc)
slot
Here is the caller graph for this function: