insert_model.cpp File Reference

#include <iostream>
#include <fstream>
#include <vector>
#include <string>
#include <boost/filesystem.hpp>
#include "household_objects_database/objects_database.h"
#include "household_objects_database/database_original_model.h"
#include "household_objects_database/database_scaled_model.h"
#include "household_objects_database/database_file_path.h"
#include "mesh_loader.h"
Include dependency graph for insert_model.cpp:

Go to the source code of this file.

Functions

bool copyFile (std::string old_path, std::string new_root, std::string &filename)
std::string getNonEmptyString (const std::string &display_name)
void getOriginalModelInfo (household_objects_database::DatabaseOriginalModel &original_model)
std::string getString (const std::string &display_name)
bool loadGeometry (household_objects_database::DatabaseMesh &mesh, std::string filename)
int main (int argc, char **argv)
void usage ()

Function Documentation

bool copyFile ( std::string  old_path,
std::string  new_root,
std::string &  filename 
)

Definition at line 77 of file insert_model.cpp.

std::string getNonEmptyString ( const std::string &  display_name  ) 

Definition at line 56 of file insert_model.cpp.

void getOriginalModelInfo ( household_objects_database::DatabaseOriginalModel original_model  ) 

Definition at line 122 of file insert_model.cpp.

std::string getString ( const std::string &  display_name  ) 

Definition at line 69 of file insert_model.cpp.

bool loadGeometry ( household_objects_database::DatabaseMesh mesh,
std::string  filename 
)

Definition at line 117 of file insert_model.cpp.

int main ( int  argc,
char **  argv 
)

Definition at line 186 of file insert_model.cpp.

void usage (  ) 

Definition at line 51 of file insert_model.cpp.

 All Classes Namespaces Files Functions Variables Typedefs Defines


household_objects_database
Author(s): Matei Ciocarlie, except for source files individually marked otherwise
autogenerated on Fri Jan 11 09:52:55 2013