GameApi 28
Library used by GameApi Builder tool
Loading...
Searching...
No Matches
PlyLoader Class Reference
Inheritance diagram for PlyLoader:
Collaboration diagram for PlyLoader:

Classes

class  stringstream

Public Member Functions

 PlyLoader (GameApi::Env &e, std::string url, std::string homepage)
float get_float (std::stringstream &ss, std::string type)
int get_int (std::stringstream &ss, std::string type)
std::basic_istream< char > & getline (std::stringstream &ss, std::string &line)
void Collect (CollectVisitor &vis)
void HeavyPrepare ()
void Prepare ()
Public Member Functions inherited from CollectInterface
virtual ~CollectInterface ()
virtual int NumBlocks () const
virtual void FirstFrame ()

Public Attributes

GameApi::Env & e
std::string url
std::string homepage
std::vector< std::string > sections
std::vector< int > sections_count
bool is_binary
bool is_big_endian
std::map< std::string, std::vector< std::string > * > properties
std::map< std::string, std::vector< std::string > * > properties_type1
std::map< std::string, std::vector< std::string > * > properties_type2
std::map< std::string, std::vector< bool > * > properties_is_list
std::map< std::string, std::map< std::string, std::vector< float > * > * > floats
std::map< std::string, std::map< std::string, std::vector< int > * > * > ints
std::map< std::string, std::map< std::string, std::vector< std::vector< float > * > * > * > float_lists
std::map< std::string, std::map< std::string, std::vector< std::vector< int > * > * > * > int_lists

Constructor & Destructor Documentation

◆ PlyLoader()

PlyLoader::PlyLoader ( GameApi::Env & e,
std::string url,
std::string homepage )
inline
Here is the caller graph for this function:

Member Function Documentation

◆ Collect()

void PlyLoader::Collect ( CollectVisitor & vis)
inlinevirtual

Implements CollectInterface.

◆ get_float()

float PlyLoader::get_float ( std::stringstream & ss,
std::string type )
inline

◆ get_int()

int PlyLoader::get_int ( std::stringstream & ss,
std::string type )
inline

◆ getline()

std::basic_istream< char > & PlyLoader::getline ( std::stringstream & ss,
std::string & line )
inline
Here is the caller graph for this function:

◆ HeavyPrepare()

void PlyLoader::HeavyPrepare ( )
inlinevirtual

Implements CollectInterface.

◆ Prepare()

void PlyLoader::Prepare ( )
inline
Here is the caller graph for this function:

Member Data Documentation

◆ e

GameApi::Env& PlyLoader::e

◆ float_lists

std::map<std::string, std::map<std::string,std::vector<std::vector<float>*>*>*> PlyLoader::float_lists
mutable

◆ floats

std::map<std::string,std::map<std::string,std::vector<float>* >*> PlyLoader::floats
mutable

◆ homepage

std::string PlyLoader::homepage

◆ int_lists

std::map<std::string, std::map<std::string,std::vector<std::vector<int>*>*>*> PlyLoader::int_lists
mutable

◆ ints

std::map<std::string,std::map<std::string,std::vector<int>* >*> PlyLoader::ints
mutable

◆ is_big_endian

bool PlyLoader::is_big_endian

◆ is_binary

bool PlyLoader::is_binary

◆ properties

std::map<std::string, std::vector<std::string>*> PlyLoader::properties
mutable

◆ properties_is_list

std::map<std::string, std::vector<bool>*> PlyLoader::properties_is_list
mutable

◆ properties_type1

std::map<std::string, std::vector<std::string>*> PlyLoader::properties_type1
mutable

◆ properties_type2

std::map<std::string, std::vector<std::string>*> PlyLoader::properties_type2
mutable

◆ sections

std::vector<std::string> PlyLoader::sections

◆ sections_count

std::vector<int> PlyLoader::sections_count

◆ url

std::string PlyLoader::url

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