Go to the source code of this file.
Namespaces | |
| namespace | H3D |
| namespace | H3D::X3D |
| namespace | H3D::X3D::Convert |
Functions | |
| H3D::X3D::Convert::H3D_VALUE_EXCEPTION (const string, X3DFieldConversionError) | |
| H3D::X3D::Convert::H3D_VALUE_EXCEPTION (const string, UnimplementedConversionType) | |
| const char * | H3D::X3D::Convert::skipWhitespaces (const char *s) |
| Skip whitespaces at the beginning of a string. | |
| const char * | H3D::X3D::Convert::skipWhitespacesAndCommas (const char *s) |
| Skip whitespaces and commas at the beginning of a string. | |
| string | H3D::X3D::Convert::getQuoteEnclosedStringValue (const char *s, const char *&rest) |
| Works the same way as getValue<string>() but with the exception that the string given is within double quotes. | |
| template<class Type> | |
| Type | H3D::X3D::Convert::getValue (const char *s, const char *&rest) |
| Function that reads characters from a char * and converts them to a given type. | |
| template<> | |
| string | H3D::X3D::Convert::getValue< string > (const char *s, const char *&rest) |
| Template specialization to handle the type 'string'. | |
| template<> | |
| bool | H3D::X3D::Convert::getValue< bool > (const char *s, const char *&rest) |
| Template specialization to handle the type 'bool'. | |
| template<> | |
| double | H3D::X3D::Convert::getValue< double > (const char *s, const char *&rest) |
| Template specialization to handle the type 'double'. | |
| template<> | |
| float | H3D::X3D::Convert::getValue< float > (const char *s, const char *&rest) |
| Template specialization to handle the type 'float'. | |
| template<> | |
| int | H3D::X3D::Convert::getValue< int > (const char *s, const char *&rest) |
| Template specialization to handle the type 'int'. | |
| template<> | |
| RGB | H3D::X3D::Convert::getValue< RGB > (const char *s, const char *&rest) |
| Template specialization to handle the type 'RGB'. | |
| template<> | |
| RGBA | H3D::X3D::Convert::getValue< RGBA > (const char *s, const char *&rest) |
| Template specialization to handle the type 'RGBA'. | |
| template<> | |
| Rotation | H3D::X3D::Convert::getValue< Rotation > (const char *s, const char *&rest) |
| Template specialization to handle the type 'Rotation'. | |
| template<> | |
| Quaternion | H3D::X3D::Convert::getValue< Quaternion > (const char *s, const char *&rest) |
| Template specialization to handle the type 'Quaternion'. | |
| template<> | |
| Matrix4f | H3D::X3D::Convert::getValue< Matrix4f > (const char *s, const char *&rest) |
| Template specialization to handle the type 'Matrix4f'. | |
| template<> | |
| Matrix3f | H3D::X3D::Convert::getValue< Matrix3f > (const char *s, const char *&rest) |
| Template specialization to handle the type 'Matrix3f'. | |
| template<> | |
| Matrix4d | H3D::X3D::Convert::getValue< Matrix4d > (const char *s, const char *&rest) |
| Template specialization to handle the type 'Matrix4d'. | |
| template<> | |
| Matrix3d | H3D::X3D::Convert::getValue< Matrix3d > (const char *s, const char *&rest) |
| Template specialization to handle the type 'Matrix3f'. | |
| template<> | |
| Vec4f | H3D::X3D::Convert::getValue< Vec4f > (const char *s, const char *&rest) |
| Template specialization to handle the type 'Vec4f'. | |
| template<> | |
| Vec4d | H3D::X3D::Convert::getValue< Vec4d > (const char *s, const char *&rest) |
| Template specialization to handle the type 'Vec4d'. | |
| template<> | |
| Vec3f | H3D::X3D::Convert::getValue< Vec3f > (const char *s, const char *&rest) |
| Template specialization to handle the type 'Vec3f'. | |
| template<> | |
| Vec3d | H3D::X3D::Convert::getValue< Vec3d > (const char *s, const char *&rest) |
| Template specialization to handle the type 'Vec3d'. | |
| template<> | |
| Vec2f | H3D::X3D::Convert::getValue< Vec2f > (const char *s, const char *&rest) |
| Template specialization to handle the type 'Vec2f'. | |
| template<> | |
| Vec2d | H3D::X3D::Convert::getValue< Vec2d > (const char *s, const char *&rest) |
| Template specialization to handle the type 'Vec2d'. | |
| unsigned char * | H3D::X3D::Convert::readImageData (const char *s, int width, int height, int depth, int nr_components) |
| template<class Type> | |
| Type | H3D::X3D::X3DStringToValue (const string &x3d_string) |
| Convert a string to a specified type according to the X3D/XML field encoding. | |
| template<class VectorType> | |
| void | H3D::X3D::X3DStringToVector (const string &x3d_string, VectorType &values) |
| Convert a string to a vector of a specified type according to the X3D/XML field encoding. | |
| template<> | |
| void | H3D::X3D::X3DStringToVector< vector< string > > (const string &x3d_string, vector< string > &values) |
| Template specializaion for handling the case of MFString where the the values are specified as e.g. | |
| PixelImage * | H3D::X3D::X3DStringTo2DImage (const string &x3d_string) |
| Convert a string to a PixelImage according to the X3D/XML field encoding for SFImage. | |
| PixelImage * | H3D::X3D::X3DStringTo3DImage (const string &x3d_string) |
| Convert a string to a 3D PixelImage according to the X3D spec for Pixel3DTexture. | |
1.4.5