fixed some issues
added new pose/turn detections new helper classes define-flags for libEigen
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user