Privacy
An open-source, flexible 3D physical simulation framework
mars::interfaces::LoadCenter Class Reference

#include <LoadCenter.h>

Public Member Functions

 LoadCenter ()
 
 ~LoadCenter ()
 
unsigned int getMappedSceneByName (const std::string &scenename) const
 
void setMappedSceneName (const std::string &scenename)
 
unsigned long getMappedID (unsigned long id, unsigned int indextype, unsigned int source) const
 
unsigned int setMappedID (unsigned long id_old, unsigned long id_new, unsigned int indextype, unsigned int source)
 

Public Attributes

LoadMeshInterfaceloadMesh
 
LoadHeightmapInterfaceloadHeightmap
 
std::map< std::string, LoadSceneInterface * > loadScene
 

Private Attributes

std::vector< indexMaps_tmaps
 

Detailed Description

Definition at line 71 of file LoadCenter.h.

Constructor & Destructor Documentation

◆ LoadCenter()

mars::interfaces::LoadCenter::LoadCenter ( )

Definition at line 36 of file LoadCenter.cpp.

◆ ~LoadCenter()

mars::interfaces::LoadCenter::~LoadCenter ( )

Definition at line 39 of file LoadCenter.cpp.

Member Function Documentation

◆ getMappedID()

unsigned long mars::interfaces::LoadCenter::getMappedID ( unsigned long  id,
unsigned int  indextype,
unsigned int  source 
) const

Definition at line 58 of file LoadCenter.cpp.

◆ getMappedSceneByName()

unsigned int mars::interfaces::LoadCenter::getMappedSceneByName ( const std::string &  scenename) const

Definition at line 43 of file LoadCenter.cpp.

◆ setMappedID()

unsigned int mars::interfaces::LoadCenter::setMappedID ( unsigned long  id_old,
unsigned long  id_new,
unsigned int  indextype,
unsigned int  source 
)

Definition at line 90 of file LoadCenter.cpp.

◆ setMappedSceneName()

void mars::interfaces::LoadCenter::setMappedSceneName ( const std::string &  scenename)

Definition at line 52 of file LoadCenter.cpp.

Member Data Documentation

◆ loadHeightmap

LoadHeightmapInterface* mars::interfaces::LoadCenter::loadHeightmap

Definition at line 89 of file LoadCenter.h.

◆ loadMesh

LoadMeshInterface* mars::interfaces::LoadCenter::loadMesh

Definition at line 88 of file LoadCenter.h.

◆ loadScene

std::map<std::string, LoadSceneInterface*> mars::interfaces::LoadCenter::loadScene

Definition at line 90 of file LoadCenter.h.

◆ maps

std::vector<indexMaps_t> mars::interfaces::LoadCenter::maps
private

Definition at line 93 of file LoadCenter.h.


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