Classes | Public Member Functions | Private Types | Private Member Functions | Static Private Member Functions | Private Attributes | Static Private Attributes
hrp::VrmlWriter Class Reference

#include <VrmlWriter.h>

List of all members.

Classes

struct  TIndent

Public Member Functions

 VrmlWriter (std::ostream &out)
void writeHeader ()
bool writeNode (VrmlNodePtr node)

Private Types

typedef std::map< std::string,
VrmlWriterNodeMethod
TNodeMethodMap
typedef std::pair< std::string,
VrmlWriterNodeMethod
TNodeMethodPair

Private Member Functions

void beginNode (const char *nodename, VrmlNodePtr node)
void endNode ()
void writeAppearanceNode (VrmlAppearancePtr appearance)
void writeCoordinateNode (VrmlCoordinatePtr coord)
void writeGroupFields (VrmlGroupPtr group)
void writeGroupNode (VrmlNodePtr node)
void writeIndexedFaceSetNode (VrmlNodePtr node)
void writeMaterialNode (VrmlMaterialPtr material)
void writeMFInt32SeparatedByMinusValue (MFInt32 &values)
template<class MFValues >
void writeMFValues (MFValues values, int numColumn)
void writeNodeIter (VrmlNodePtr node)
void writeShapeNode (VrmlNodePtr node)
void writeTransformNode (VrmlNodePtr node)

Static Private Member Functions

static VrmlWriterNodeMethod getNodeMethod (VrmlNodePtr node)
static void registerNodeMethodMap ()
static void registNodeMethod (const std::type_info &t, VrmlWriterNodeMethod method)

Private Attributes

TIndent indent
std::ostream & out

Static Private Attributes

static TNodeMethodMap nodeMethodMap

Detailed Description

Definition at line 32 of file hrplib/hrpUtil/VrmlWriter.h.


Member Typedef Documentation

typedef std::map<std::string, VrmlWriterNodeMethod> hrp::VrmlWriter::TNodeMethodMap [private]

Definition at line 57 of file hrplib/hrpUtil/VrmlWriter.h.

typedef std::pair<std::string, VrmlWriterNodeMethod> hrp::VrmlWriter::TNodeMethodPair [private]

Definition at line 58 of file hrplib/hrpUtil/VrmlWriter.h.


Constructor & Destructor Documentation

VrmlWriter::VrmlWriter ( std::ostream &  out)

Definition at line 90 of file hrplib/hrpUtil/VrmlWriter.cpp.


Member Function Documentation

void VrmlWriter::beginNode ( const char *  nodename,
VrmlNodePtr  node 
) [private]

Definition at line 142 of file hrplib/hrpUtil/VrmlWriter.cpp.

void VrmlWriter::endNode ( ) [private]

Definition at line 154 of file hrplib/hrpUtil/VrmlWriter.cpp.

Definition at line 108 of file hrplib/hrpUtil/VrmlWriter.cpp.

void VrmlWriter::registerNodeMethodMap ( ) [static, private]

Definition at line 99 of file hrplib/hrpUtil/VrmlWriter.cpp.

static void hrp::VrmlWriter::registNodeMethod ( const std::type_info &  t,
VrmlWriterNodeMethod  method 
) [inline, static, private]

Definition at line 62 of file hrplib/hrpUtil/VrmlWriter.h.

Definition at line 232 of file hrplib/hrpUtil/VrmlWriter.cpp.

Definition at line 288 of file hrplib/hrpUtil/VrmlWriter.cpp.

Definition at line 170 of file hrplib/hrpUtil/VrmlWriter.cpp.

Definition at line 160 of file hrplib/hrpUtil/VrmlWriter.cpp.

Definition at line 118 of file hrplib/hrpUtil/VrmlWriter.cpp.

Definition at line 262 of file hrplib/hrpUtil/VrmlWriter.cpp.

Definition at line 247 of file hrplib/hrpUtil/VrmlWriter.cpp.

Definition at line 68 of file hrplib/hrpUtil/VrmlWriter.cpp.

template<class MFValues >
void VrmlWriter::writeMFValues ( MFValues  values,
int  numColumn 
) [private]

Definition at line 43 of file hrplib/hrpUtil/VrmlWriter.cpp.

Definition at line 124 of file hrplib/hrpUtil/VrmlWriter.cpp.

Definition at line 133 of file hrplib/hrpUtil/VrmlWriter.cpp.

Definition at line 206 of file hrplib/hrpUtil/VrmlWriter.cpp.

Definition at line 188 of file hrplib/hrpUtil/VrmlWriter.cpp.


Member Data Documentation

Definition at line 55 of file hrplib/hrpUtil/VrmlWriter.h.

Definition at line 60 of file hrplib/hrpUtil/VrmlWriter.h.

std::ostream& hrp::VrmlWriter::out [private]

Definition at line 53 of file hrplib/hrpUtil/VrmlWriter.h.


The documentation for this class was generated from the following files:


openhrp3
Author(s): AIST, General Robotix Inc., Nakamura Lab of Dept. of Mechano Informatics at University of Tokyo
autogenerated on Thu Apr 11 2019 03:30:22