SEGS  0.6.1-develop [d2cac982]
Super Entity Game Server
Namespaces | Functions
SceneGraph.cpp File Reference
#include "SceneGraph.h"
#include "CompiletimeHash.h"
#include "RuntimeData.h"
#include "Model.h"
#include "Prefab.h"
#include "Sound.h"
#include "GameData/scenegraph_definitions.h"
#include "GameData/scenegraph_serializers.h"
#include "GameData/trick_definitions.h"
#include "GameData/trick_serializers.h"
#include "GameData/DataStorage.h"
#include "GameData/CoHMath.h"
#include "Logging.h"
#include "glm/mat3x3.hpp"
#include "glm/gtx/quaternion.hpp"
#include <QDir>
#include <cmath>
Include dependency graph for SceneGraph.cpp:

Namespaces

 SEGS
 

Functions

SceneNodeSEGS::getNodeByName (const SceneGraph &graph, const QString &name)
 
QString groupMakeName (const QString &base, LoadingContext &ctx)
 
QString groupRename (LoadingContext &ctx, const QString &oldname, bool is_def)
 
QString buildBaseName (const QString &path)
 
QString mapNameToPath (const QString &name, LoadingContext &ctx)
 
RootNodenewRef (SceneGraph &scene)
 
void addRoot (const SceneRootNode_Data &refload, LoadingContext &ctx, PrefabStore &store)
 
SceneNodenewDef (SceneGraph &scene)
 
void setNodeNameAndPath (SceneGraph &scene, SceneNode *node, QString obj_path)
 
void addChildNodes (const SceneGraphNode_Data &inp_data, SceneNode *node, LoadingContext &ctx, PrefabStore &store)
 
void postprocessLOD (const std::vector< DefLod_Data > &lods, SceneNode *node)
 
void postprocessLight (const std::vector< DefOmni_Data > &light_data, SceneNode *node)
 
bool nodeCalculateBounds (SceneNode *group)
 
void nodeSetVisBounds (SceneNode *group)
 
void postprocessSound (const std::vector< DefSound_Data > &data, SceneNode *node)
 
void postprocessEditorBeacon (const std::vector< DefBeacon_Data > &data, SceneNode *)
 
void postprocessFog (const std::vector< DefFog_Data > &data, SceneNode *)
 
void postprocessAmbient (const std::vector< DefAmbient_Data > &data, SceneNode *)
 
void postprocessTintColor (const std::vector< TintColor_Data > &data, SceneNode *)
 
void postprocessTextureReplacers (const std::vector< ReplaceTex_Data > &data, SceneNode *)
 
void postprocessNodeFlags (const SceneGraphNode_Data &node_data, SceneNode *node)
 
void groupApplyModifiers (SceneNode *node)
 
bool addNode (const SceneGraphNode_Data &defload, LoadingContext &ctx, PrefabStore &prefabs)
 
void serializeIn (SceneGraph_Data &scenegraph, LoadingContext &ctx, PrefabStore &prefabs)
 
bool SEGS::loadSceneGraph (const QString &path, LoadingContext &ctx, PrefabStore &prefabs)
 
SceneGraphSEGS::loadWholeMap (const QString &filename)
 
void SEGS::loadSubgraph (const QString &filename, LoadingContext &ctx, PrefabStore &prefabs)
 

Function Documentation

◆ addChildNodes()

void addChildNodes ( const SceneGraphNode_Data inp_data,
SceneNode node,
LoadingContext ctx,
PrefabStore store 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ addNode()

bool addNode ( const SceneGraphNode_Data defload,
LoadingContext ctx,
PrefabStore prefabs 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ addRoot()

void addRoot ( const SceneRootNode_Data refload,
LoadingContext ctx,
PrefabStore store 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ buildBaseName()

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

◆ groupApplyModifiers()

void groupApplyModifiers ( SceneNode node)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ groupMakeName()

QString groupMakeName ( const QString &  base,
LoadingContext ctx 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ groupRename()

QString groupRename ( LoadingContext ctx,
const QString &  oldname,
bool  is_def 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ mapNameToPath()

QString mapNameToPath ( const QString &  name,
LoadingContext ctx 
)
Here is the caller graph for this function:

◆ newDef()

SceneNode* newDef ( SceneGraph scene)
Here is the caller graph for this function:

◆ newRef()

RootNode* newRef ( SceneGraph scene)
Here is the caller graph for this function:

◆ nodeCalculateBounds()

bool nodeCalculateBounds ( SceneNode group)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ nodeSetVisBounds()

void nodeSetVisBounds ( SceneNode group)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ postprocessAmbient()

void postprocessAmbient ( const std::vector< DefAmbient_Data > &  data,
SceneNode  
)
Here is the caller graph for this function:

◆ postprocessEditorBeacon()

void postprocessEditorBeacon ( const std::vector< DefBeacon_Data > &  data,
SceneNode  
)
Here is the caller graph for this function:

◆ postprocessFog()

void postprocessFog ( const std::vector< DefFog_Data > &  data,
SceneNode  
)
Here is the caller graph for this function:

◆ postprocessLight()

void postprocessLight ( const std::vector< DefOmni_Data > &  light_data,
SceneNode node 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ postprocessLOD()

void postprocessLOD ( const std::vector< DefLod_Data > &  lods,
SceneNode node 
)
Here is the caller graph for this function:

◆ postprocessNodeFlags()

void postprocessNodeFlags ( const SceneGraphNode_Data node_data,
SceneNode node 
)
Here is the caller graph for this function:

◆ postprocessSound()

void postprocessSound ( const std::vector< DefSound_Data > &  data,
SceneNode node 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ postprocessTextureReplacers()

void postprocessTextureReplacers ( const std::vector< ReplaceTex_Data > &  data,
SceneNode  
)
Here is the caller graph for this function:

◆ postprocessTintColor()

void postprocessTintColor ( const std::vector< TintColor_Data > &  data,
SceneNode  
)
Here is the caller graph for this function:

◆ serializeIn()

void serializeIn ( SceneGraph_Data scenegraph,
LoadingContext ctx,
PrefabStore prefabs 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ setNodeNameAndPath()

void setNodeNameAndPath ( SceneGraph scene,
SceneNode node,
QString  obj_path 
)
Here is the caller graph for this function: