14 #ifndef OPENHRP_UTIL_VRML_WRITER_INCLUDED 15 #define OPENHRP_UTIL_VRML_WRITER_INCLUDED 46 spaces.resize(
n,
' ');
return *
this;
63 nodeMethodMap.insert(TNodeMethodPair(t.name(),
method));
67 static void registerNodeMethodMap();
69 template <
class MFValues>
void writeMFValues(MFValues values,
int numColumn);
70 void writeMFInt32SeparatedByMinusValue(
MFInt32& values);
73 void beginNode(
const char* nodename,
VrmlNodePtr node);
std::map< std::string, VrmlWriterNodeMethod > TNodeMethodMap
std::pair< std::string, VrmlWriterNodeMethod > TNodeMethodPair
boost::intrusive_ptr< VrmlGroup > VrmlGroupPtr
static TNodeMethodMap nodeMethodMap
void(VrmlWriter::* VrmlWriterNodeMethod)(VrmlNodePtr node)
typedef void(PNGAPI *png_error_ptr) PNGARG((png_structp
boost::intrusive_ptr< VrmlAppearance > VrmlAppearancePtr
boost::intrusive_ptr< VrmlNode > VrmlNodePtr
static void registNodeMethod(const std::type_info &t, VrmlWriterNodeMethod method)
boost::intrusive_ptr< VrmlCoordinate > VrmlCoordinatePtr
std::vector< SFInt32 > MFInt32
boost::intrusive_ptr< VrmlMaterial > VrmlMaterialPtr