Returns the directory structures and file paths to be used to output the GraspIt! files. More...
#include <OutputStructure.h>
Public Member Functions | |
void | getContactsDirPath (std::vector< std::string > &structure) const |
std::string | getContactsDirPath () const |
std::string | getContactsFilePath (const std::string &useName) const |
std::string | getContactsFileRel () const |
void | getEigenGraspDirPath (std::vector< std::string > &structure) const |
std::string | getEigenGraspDirPath () const |
std::string | getEigenGraspFilePath (const std::string &useName) const |
std::string | getEigenGraspFileRel () const |
void | getMeshDirPath (std::vector< std::string > &structure) const |
std::string | getMeshDirPath () const |
std::string | getMeshDirRel () const |
void | getRobotDirPath (std::vector< std::string > &structure) const |
std::string | getRobotDirPath () const |
std::string | getRobotFilePath () const |
std::string | getRobotName () const |
void | getTexDirPath (std::vector< std::string > &structure) const |
std::string | getTexDirPath () const |
std::string | getTexDirRel () const |
void | getWorldDirPath (std::vector< std::string > &structure) const |
std::string | getWorldDirPath () const |
std::string | getWorldFileName () const |
std::string | getWorldFilePath () const |
OutputStructure (const std::string &_meshSubdirName="iv", const std::string &_texSubdirName="iv/textures", const std::string &_contactsFile="contacts.xml", const std::string &_eigengraspFile="eigen.xml") | |
OutputStructure (const OutputStructure &o) | |
void | setRobotName (const std::string &_robotName) |
Private Member Functions | |
std::string | toStringPath (const std::vector< std::string > &path) const |
Private Attributes | |
std::string | contactsFile |
std::string | eigengraspFile |
std::string | meshSubdirName |
std::string | robotName |
std::string | texSubdirName |
Returns the directory structures and file paths to be used to output the GraspIt! files.
Definition at line 35 of file OutputStructure.h.
urdf2graspit::OutputStructure::OutputStructure | ( | const std::string & | _meshSubdirName = "iv" , |
const std::string & | _texSubdirName = "iv/textures" , |
||
const std::string & | _contactsFile = "contacts.xml" , |
||
const std::string & | _eigengraspFile = "eigen.xml" |
||
) | [inline] |
Definition at line 40 of file OutputStructure.h.
urdf2graspit::OutputStructure::OutputStructure | ( | const OutputStructure & | o | ) | [inline] |
Definition at line 50 of file OutputStructure.h.
void urdf2graspit::OutputStructure::getContactsDirPath | ( | std::vector< std::string > & | structure | ) | const |
Definition at line 72 of file OutputStructure.cpp.
std::string urdf2graspit::OutputStructure::getContactsDirPath | ( | ) | const |
Definition at line 159 of file OutputStructure.cpp.
std::string urdf2graspit::OutputStructure::getContactsFilePath | ( | const std::string & | useName | ) | const |
file path relative to the root output directory. if useName is not empty, use this filename instead of the default set in the constructor.
Definition at line 83 of file OutputStructure.cpp.
std::string urdf2graspit::OutputStructure::getContactsFileRel | ( | ) | const |
Definition at line 78 of file OutputStructure.cpp.
void urdf2graspit::OutputStructure::getEigenGraspDirPath | ( | std::vector< std::string > & | structure | ) | const |
Definition at line 56 of file OutputStructure.cpp.
std::string urdf2graspit::OutputStructure::getEigenGraspDirPath | ( | ) | const |
Definition at line 151 of file OutputStructure.cpp.
std::string urdf2graspit::OutputStructure::getEigenGraspFilePath | ( | const std::string & | useName | ) | const |
file path relative to the root output directory. if useName is not empty, use this filename instead of the default set in the constructor.
Definition at line 62 of file OutputStructure.cpp.
std::string urdf2graspit::OutputStructure::getEigenGraspFileRel | ( | ) | const |
Definition at line 67 of file OutputStructure.cpp.
void urdf2graspit::OutputStructure::getMeshDirPath | ( | std::vector< std::string > & | structure | ) | const |
Definition at line 107 of file OutputStructure.cpp.
std::string urdf2graspit::OutputStructure::getMeshDirPath | ( | ) | const |
Definition at line 120 of file OutputStructure.cpp.
std::string urdf2graspit::OutputStructure::getMeshDirRel | ( | ) | const |
Definition at line 91 of file OutputStructure.cpp.
void urdf2graspit::OutputStructure::getRobotDirPath | ( | std::vector< std::string > & | structure | ) | const |
Copyright (C) 2015 Jennifer Buehler
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
Definition at line 25 of file OutputStructure.cpp.
std::string urdf2graspit::OutputStructure::getRobotDirPath | ( | ) | const |
Definition at line 142 of file OutputStructure.cpp.
std::string urdf2graspit::OutputStructure::getRobotFilePath | ( | ) | const |
Definition at line 33 of file OutputStructure.cpp.
std::string urdf2graspit::OutputStructure::getRobotName | ( | ) | const [inline] |
Definition at line 123 of file OutputStructure.h.
void urdf2graspit::OutputStructure::getTexDirPath | ( | std::vector< std::string > & | structure | ) | const |
Definition at line 113 of file OutputStructure.cpp.
std::string urdf2graspit::OutputStructure::getTexDirPath | ( | ) | const |
Definition at line 125 of file OutputStructure.cpp.
std::string urdf2graspit::OutputStructure::getTexDirRel | ( | ) | const |
Definition at line 98 of file OutputStructure.cpp.
void urdf2graspit::OutputStructure::getWorldDirPath | ( | std::vector< std::string > & | structure | ) | const |
Definition at line 39 of file OutputStructure.cpp.
std::string urdf2graspit::OutputStructure::getWorldDirPath | ( | ) | const |
Definition at line 166 of file OutputStructure.cpp.
std::string urdf2graspit::OutputStructure::getWorldFileName | ( | ) | const |
Definition at line 45 of file OutputStructure.cpp.
std::string urdf2graspit::OutputStructure::getWorldFilePath | ( | ) | const |
Definition at line 50 of file OutputStructure.cpp.
void urdf2graspit::OutputStructure::setRobotName | ( | const std::string & | _robotName | ) | [inline] |
Definition at line 118 of file OutputStructure.h.
std::string urdf2graspit::OutputStructure::toStringPath | ( | const std::vector< std::string > & | path | ) | const [private] |
Definition at line 132 of file OutputStructure.cpp.
std::string urdf2graspit::OutputStructure::contactsFile [private] |
Definition at line 148 of file OutputStructure.h.
std::string urdf2graspit::OutputStructure::eigengraspFile [private] |
Definition at line 149 of file OutputStructure.h.
std::string urdf2graspit::OutputStructure::meshSubdirName [private] |
Definition at line 146 of file OutputStructure.h.
std::string urdf2graspit::OutputStructure::robotName [private] |
Definition at line 145 of file OutputStructure.h.
std::string urdf2graspit::OutputStructure::texSubdirName [private] |
Definition at line 147 of file OutputStructure.h.