Typedefs | Functions | Variables

aesop-core/tool/genBuilding/main.cpp File Reference

#include <iostream>
#include "datahash/datahash_text.h"
#include "datahash/datahash_util.h"
#include "geometry/geometry_3d.h"
#include "geometry/matrix_4.h"
#include "perf/perf.h"
Include dependency graph for aesop-core/tool/genBuilding/main.cpp:

Go to the source code of this file.

Typedefs

typedef std::map< std::string,
smart_ptr< axis_t > > 
axis_map_t

Functions

static smart_ptr< axis_t > parseAxis (const Datahash *hash)
static void getAxisRegistry (axis_map_t &map, const Datahash *input)
static void updateTransformation (const matrix4_t &rootT, const axis_t *axis, matrix4_t &T)
static void generateRooms (state_t &state, const matrix4_t &rootT, const axis_t *axis, int count)
static void genBuilding (const Datahash *input)
int main (int argc, const char *argv[])

Variables

static const float s_radiansPerDegree = M_PI / 180.0

Typedef Documentation

typedef std::map<std::string, smart_ptr<axis_t> > axis_map_t

Definition at line 41 of file aesop-core/tool/genBuilding/main.cpp.


Function Documentation

static smart_ptr<axis_t> parseAxis ( const Datahash hash  )  [static]

Definition at line 70 of file aesop-core/tool/genBuilding/main.cpp.

static void getAxisRegistry ( axis_map_t map,
const Datahash input 
) [static]

Definition at line 98 of file aesop-core/tool/genBuilding/main.cpp.

static void updateTransformation ( const matrix4_t rootT,
const axis_t *  axis,
matrix4_t T 
) [static]

Definition at line 127 of file aesop-core/tool/genBuilding/main.cpp.

static void generateRooms ( state_t &  state,
const matrix4_t rootT,
const axis_t *  axis,
int  count 
) [static]

Definition at line 153 of file aesop-core/tool/genBuilding/main.cpp.

static void genBuilding ( const Datahash input  )  [static]

Definition at line 187 of file aesop-core/tool/genBuilding/main.cpp.

int main ( int  argc,
const char *  argv[] 
)

Definition at line 224 of file aesop-core/tool/genBuilding/main.cpp.


Variable Documentation

const float s_radiansPerDegree = M_PI / 180.0 [static]

Definition at line 21 of file aesop-core/tool/genBuilding/main.cpp.