fixed some issues

added new pose/turn detections
new helper classes
define-flags for libEigen
This commit is contained in:
2018-09-04 10:49:00 +02:00
parent f990485d44
commit 857d7a1553
51 changed files with 2149 additions and 207 deletions

View File

@@ -29,7 +29,7 @@ public:
;
}
/** read .obj from the given file */
/** read .mtl from the given file */
void readFile(const std::string& file) {
std::ifstream is(file);
std::string line;
@@ -37,7 +37,12 @@ public:
is.close();
}
/** read obj from the given data string (.obj file contents) */
/** read mtl from the given data string (.mtl file contents) */
void readData(const char* data) {
readData(std::string(data));
}
/** read mtl from the given data string (.mtl file contents) */
void readData(const std::string& data) {
std::stringstream is(data);
std::string line;

View File

@@ -65,6 +65,11 @@ public:
is.close();
}
/** read obj from the given data string (.obj file contents) */
void readData(const char* data) {
readData(std::string(data));
}
/** read obj from the given data string (.obj file contents) */
void readData(const std::string& data) {
std::stringstream is(data);