Defines | Functions
collada_to_graphviz.cpp File Reference
#include "collada_parser/collada_parser.h"
#include "urdf/model.h"
#include <iostream>
#include <fstream>
Include dependency graph for collada_to_graphviz.cpp:

Go to the source code of this file.

Defines

#define PRINT_GEOM(os, geometry)   if ( geometry->type == urdf::Geometry::MESH ) { os << "geom: name: " << ((urdf::Mesh *)geometry.get())->filename; }
#define PRINT_ORIGIN(os, origin)
#define PRINT_ORIGIN_XML(os, origin)

Functions

void addChildJointNames (boost::shared_ptr< const Link > link, ofstream &os)
void addChildLinkNames (boost::shared_ptr< const Link > link, ofstream &os)
int main (int argc, char **argv)
void printTree (boost::shared_ptr< const Link > link, string file)

Define Documentation

#define PRINT_GEOM (   os,
  geometry 
)    if ( geometry->type == urdf::Geometry::MESH ) { os << "geom: name: " << ((urdf::Mesh *)geometry.get())->filename; }

Definition at line 54 of file collada_to_graphviz.cpp.

#define PRINT_ORIGIN (   os,
  origin 
)
Value:
os << "xyz: " << origin.position.x << " " << origin.position.y << " " << origin.position.z << " "; \
{ double r,p,y; origin.rotation.getRPY(r, p, y); \
  os << "rpy: " << r << " " << p << " " << y; }

Definition at line 45 of file collada_to_graphviz.cpp.

#define PRINT_ORIGIN_XML (   os,
  origin 
)
Value:
os << "xyz=\"" << origin.position.x << " " << origin.position.y << " " << origin.position.z << "\""; \
  { double r,p,y; origin.rotation.getRPY(r, p, y);  os << " rpy=\"" << r << " " << p << " " << y << "\""; }

Definition at line 50 of file collada_to_graphviz.cpp.


Function Documentation

void addChildJointNames ( boost::shared_ptr< const Link link,
ofstream &  os 
)

Definition at line 104 of file collada_to_graphviz.cpp.

void addChildLinkNames ( boost::shared_ptr< const Link link,
ofstream &  os 
)

Definition at line 57 of file collada_to_graphviz.cpp.

int main ( int  argc,
char **  argv 
)

Definition at line 138 of file collada_to_graphviz.cpp.

void printTree ( boost::shared_ptr< const Link link,
string  file 
)

Definition at line 122 of file collada_to_graphviz.cpp.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Properties Friends Defines


collada_tools
Author(s): Yohei Kakiuchi (youhei@jsk.t.u-tokyo.ac.jp)
autogenerated on Sat Mar 23 2013 19:48:48