Home | Download | Screen shots | Discussion | Documentation |
---|
Classes | |
class | color |
A color. More... | |
class | color_rgba |
A color with alpha channel. More... | |
class | vec2f |
Two-component single-precision vector. More... | |
class | vec2d |
Two-component double-precision vector. More... | |
class | vec3f |
Three-component single-precision vector. More... | |
class | vec3d |
Three-component double-precision vector. More... | |
class | rotation |
A rotation. More... | |
class | mat4f |
A class for all matrix operations. More... | |
class | quatf |
A quaternion. More... | |
class | image |
Pixmap data. More... | |
class | bounding_volume |
A bounding volume. More... | |
class | bounding_sphere |
A bounding sphere. More... | |
class | axis_aligned_bounding_box |
An axis-aligned bounding box. More... | |
class | resource_istream |
An abstract input stream for network resources. More... | |
class | stream_listener |
An interface to simplify asynchronously reading a resource_istream . More... | |
class | invalid_vrml |
Exception thrown when the parser fails due to errors in the VRML input. More... | |
class | viewer_in_use |
Exception thrown when attempting to associate a viewer with a browser when the viewer is already associated with a browser . More... | |
class | bad_url |
Thrown when there is a problem resolving a URI. More... | |
class | invalid_url |
Thrown when parsing a URI fails. More... | |
class | bad_media_type |
Thrown when an unexpected media type is received. More... | |
class | unreachable_url |
Thrown when a URI cannot be reached. More... | |
class | no_alternative_url |
Exception thrown when no URI in an alternative URI list can be resolved. More... | |
class | browser_event |
A browser -wide event. More... | |
class | browser_listener |
This class should be inherited by classes that want to listen for browser_events . More... | |
class | browser |
Encapsulates a VRML browser. More... | |
class | scene |
A scene in the VRML world. More... | |
class | event_listener |
Abstract base class of event listeners. More... | |
class | node_event_listener |
Base class for event listeners of nodes. More... | |
class | field_value_listener |
Concrete event listener template. More... | |
class | node_field_value_listener |
Base class for field_value_listeners that are members of nodes. More... | |
class | event_emitter |
Abstract base class of event emitters. More... | |
class | field_value_emitter |
Concrete event emitter template. More... | |
class | exposedfield |
Class template to simplify implementation of exposedFields . More... | |
class | field_value |
Abstract base class for the VRML field types. More... | |
struct | FieldValueConcept |
Concept checking class to validate that a template parameter is a model of the Field Value concept. More... | |
class | sfbool |
A boolean node field value. More... | |
class | sfcolor |
A color node field value. More... | |
class | sfcolorrgba |
A color_rgba node field value. More... | |
class | sffloat |
A single precision floating point node field value. More... | |
class | sfdouble |
A single precision doubleing point node field value. More... | |
class | sfimage |
A pixmap. More... | |
class | sfint32 |
A 32-bit integer node field value. More... | |
class | sfnode |
A node field value to hold a single node reference. More... | |
class | sfrotation |
A rotation node field value. More... | |
class | sfstring |
A string node field value. More... | |
class | sftime |
A double precision floating point node field value. More... | |
class | sfvec2f |
A 2-component vector node field value. More... | |
class | sfvec2d |
A 2-component vector node field value. More... | |
class | sfvec3f |
A 3-component vector node field value. More... | |
class | sfvec3d |
A 3-component vector node field value. More... | |
class | mfbool |
A bool array node field value. More... | |
class | mfcolor |
A color array node field value. More... | |
class | mfcolorrgba |
A color_rgba array node field value. More... | |
class | mffloat |
A float array node field value. More... | |
class | mfdouble |
A double array node field value. More... | |
class | mfimage |
A image array node field value. More... | |
class | mfint32 |
An integer array node field value. More... | |
class | mfnode |
A node reference array node field value. More... | |
class | mfrotation |
A rotation array node field value. More... | |
class | mfstring |
A string array node field value. More... | |
class | mftime |
A double array node field value. More... | |
class | mfvec2f |
A 2-component vector array node field value. More... | |
class | mfvec2d |
A 2-component vector array node field value. More... | |
class | mfvec3f |
A 3-component vector array node field value. More... | |
class | mfvec3d |
A 3-component vector array node field value. More... | |
class | frustum |
A view frustum. More... | |
class | node_interface |
Type information for an interface of a node . More... | |
class | unsupported_interface |
Exception to indicate that a node interface is not supported. More... | |
struct | node_interface_matches_eventin |
Determine if a node_interface matches an eventIn identifier. More... | |
struct | node_interface_matches_eventout |
Determine if a node_interface matches an eventOut identifier. More... | |
struct | node_interface_matches_exposedfield |
Determine if a node_interface matches an exposedField identifier. More... | |
struct | node_interface_matches_field |
Determine if a node_interface matches an field identifier. More... | |
struct | node_interface_compare |
Function object to compare two node_interfaces based on their id. More... | |
class | node_metatype_id |
Identifier for node_metatypes . More... | |
class | node_metatype |
A class object for node instances. More... | |
class | node_type |
Type information object for nodes . More... | |
class | field_value_type_mismatch |
Thrown when field value types do not match, generally in a ROUTE or IS . More... | |
class | node |
A node in the scene graph. More... | |
class | appearance_node |
Abstract base class for appearance nodes. More... | |
class | bounded_volume_node |
Abstract base class for nodes that represent a bounded volume in the scene graph. More... | |
class | child_node |
Abstract base class for child nodes. More... | |
class | color_node |
Abstract base class for color nodes. More... | |
class | color_rgba_node |
Abstract base class for RGBA color nodes. More... | |
class | coordinate_node |
Abstract base class for coordinate nodes. More... | |
class | font_style_node |
Abstract base class for font style nodes. More... | |
class | geometry_node |
Abstract base class for geometry nodes. More... | |
class | grouping_node |
Abstract base class for grouping nodes. More... | |
class | light_node |
Abstract base class for light nodes. More... | |
class | material_node |
Abstract base class for material nodes. More... | |
class | navigation_info_node |
Abstract base class for normal nodes. More... | |
class | normal_node |
Abstract base class for normal nodes. More... | |
class | pointing_device_sensor_node |
A node that can be affected by a pointing device. More... | |
class | scoped_light_node |
A light that falls within a specified area. More... | |
class | sound_source_node |
Abstract base class for sound source nodes. More... | |
class | texture_node |
Abstract base class for texture nodes. More... | |
class | texture_coordinate_node |
Abstract base class for texture coordinate nodes. More... | |
class | texture_transform_node |
Abstract base class for texture transform nodes. More... | |
class | time_dependent_node |
Abstract base class for time-dependent nodes. More... | |
class | transform_node |
Abstract base class for transform nodes. More... | |
class | viewpoint_node |
Abstract base class for viewpoint nodes. More... | |
class | node_traverser |
Traverse the children of each node in a node hierarchy only once. More... | |
class | rendering_context |
Information needed during a render traversal. More... | |
class | scope |
The scope class keeps track of defined nodes and prototypes. More... | |
class | script |
Abstract class implemented by scripting language bindings. More... | |
class | script_node_metatype |
Class object for script_nodes . More... | |
class | script_node |
Represents a VRML Script node. More... | |
class | viewer |
Map the scene graph to the underlying graphics library. More... | |
Namespaces | |
namespace | node_impl_util |
Utility classes to facilitate node implementations. | |
namespace | gl |
OpenGL geometry renderer. | |
Typedefs | |
typedef int32_t | int32 |
32-bit signed integer. | |
typedef std::list< node_path_element > | node_path_t |
A node path is used to store the path to a node for the purpose of duplicating a route in a cloned node hierarchy. | |
typedef field_value_listener< sfbool > | sfbool_listener |
sfbool event listener. | |
typedef field_value_listener< sfcolor > | sfcolor_listener |
sfcolor event listener. | |
typedef field_value_listener< sfcolorrgba > | sfcolorrgba_listener |
sfcolorrgba event listener. | |
typedef field_value_listener< sffloat > | sffloat_listener |
sffloat event listener. | |
typedef field_value_listener< sfdouble > | sfdouble_listener |
sfdouble event listener. | |
typedef field_value_listener< sfimage > | sfimage_listener |
sfimage event listener. | |
typedef field_value_listener< sfint32 > | sfint32_listener |
sfint32 event listener. | |
typedef field_value_listener< sfnode > | sfnode_listener |
sfnode event listener. | |
typedef field_value_listener< sfrotation > | sfrotation_listener |
sfrotation event listener. | |
typedef field_value_listener< sfstring > | sfstring_listener |
sfstring event listener. | |
typedef field_value_listener< sftime > | sftime_listener |
sftime event listener. | |
typedef field_value_listener< sfvec2f > | sfvec2f_listener |
sfvec2f event listener. | |
typedef field_value_listener< sfvec2d > | sfvec2d_listener |
sfvec2d event listener. | |
typedef field_value_listener< sfvec3f > | sfvec3f_listener |
sfvec3f event listener. | |
typedef field_value_listener< sfvec3d > | sfvec3d_listener |
sfvec3d event listener. | |
typedef field_value_listener< mfbool > | mfbool_listener |
mfbool event listener. | |
typedef field_value_listener< mfcolor > | mfcolor_listener |
mfcolor event listener. | |
typedef field_value_listener< mfcolorrgba > | mfcolorrgba_listener |
mfcolorrgba event listener. | |
typedef field_value_listener< mffloat > | mffloat_listener |
mffloat event listener. | |
typedef field_value_listener< mfdouble > | mfdouble_listener |
mfdouble event listener. | |
typedef field_value_listener< mfimage > | mfimage_listener |
mfimage event listener. | |
typedef field_value_listener< mfint32 > | mfint32_listener |
mfint32 event listener. | |
typedef field_value_listener< mfnode > | mfnode_listener |
mfnode event listener. | |
typedef field_value_listener< mfrotation > | mfrotation_listener |
mfrotation event listener. | |
typedef field_value_listener< mfstring > | mfstring_listener |
mfstring event listener. | |
typedef field_value_listener< mftime > | mftime_listener |
mftime event listener. | |
typedef field_value_listener< mfvec2f > | mfvec2f_listener |
mfvec2f event listener. | |
typedef field_value_listener< mfvec2d > | mfvec2d_listener |
mfvec2d event listener. | |
typedef field_value_listener< mfvec3f > | mfvec3f_listener |
mfvec3f event listener. | |
typedef field_value_listener< mfvec3d > | mfvec3d_listener |
mfvec3d event listener. | |
typedef field_value_emitter< sfbool > | sfbool_emitter |
sfbool event emitter. | |
typedef field_value_emitter< sfcolor > | sfcolor_emitter |
sfcolor event emitter. | |
typedef field_value_emitter< sfcolorrgba > | sfcolorrgba_emitter |
sfcolorrgba event emitter. | |
typedef field_value_emitter< sffloat > | sffloat_emitter |
sffloat event emitter. | |
typedef field_value_emitter< sfdouble > | sfdouble_emitter |
sfdouble event emitter. | |
typedef field_value_emitter< sfimage > | sfimage_emitter |
sfimage event emitter. | |
typedef field_value_emitter< sfint32 > | sfint32_emitter |
sfint32 event emitter. | |
typedef field_value_emitter< sfnode > | sfnode_emitter |
sfnode event emitter. | |
typedef field_value_emitter< sfrotation > | sfrotation_emitter |
sfrotation event emitter. | |
typedef field_value_emitter< sfstring > | sfstring_emitter |
sfstring event emitter. | |
typedef field_value_emitter< sftime > | sftime_emitter |
sftime event emitter. | |
typedef field_value_emitter< sfvec2f > | sfvec2f_emitter |
sfvec2f event emitter. | |
typedef field_value_emitter< sfvec2d > | sfvec2d_emitter |
sfvec2d event emitter. | |
typedef field_value_emitter< sfvec3f > | sfvec3f_emitter |
sfvec3f event emitter. | |
typedef field_value_emitter< sfvec3d > | sfvec3d_emitter |
sfvec3d event emitter. | |
typedef field_value_emitter< mfbool > | mfbool_emitter |
mfbool event emitter. | |
typedef field_value_emitter< mfcolor > | mfcolor_emitter |
mfcolor event emitter. | |
typedef field_value_emitter< mfcolorrgba > | mfcolorrgba_emitter |
mfcolorrgba event emitter. | |
typedef field_value_emitter< mffloat > | mffloat_emitter |
mffloat event emitter. | |
typedef field_value_emitter< mfdouble > | mfdouble_emitter |
mfdouble event emitter. | |
typedef field_value_emitter< mfint32 > | mfint32_emitter |
mfint32 event emitter. | |
typedef field_value_emitter< mfimage > | mfimage_emitter |
mfimage event emitter. | |
typedef field_value_emitter< mfnode > | mfnode_emitter |
mfnode event emitter. | |
typedef field_value_emitter< mfrotation > | mfrotation_emitter |
mfrotation event emitter. | |
typedef field_value_emitter< mfstring > | mfstring_emitter |
mfstring event emitter. | |
typedef field_value_emitter< mftime > | mftime_emitter |
mftime event emitter. | |
typedef field_value_emitter< mfvec2f > | mfvec2f_emitter |
mfvec2f event emitter. | |
typedef field_value_emitter< mfvec2d > | mfvec2d_emitter |
mfvec2d event emitter. | |
typedef field_value_emitter< mfvec3f > | mfvec3f_emitter |
mfvec3f event emitter. | |
typedef field_value_emitter< mfvec3d > | mfvec3d_emitter |
mfvec3d event emitter. | |
typedef std::set< node_interface, node_interface_compare > | node_interface_set |
A group of unique node_interfaces . | |
typedef std::map< std::string, boost::shared_ptr< field_value > > | initial_value_map |
A map of the initial values with which a node is instantiated. | |
typedef std::deque< node * > | node_path |
A path to a node in the scene starting with one of the scene root nodes and ending with the objective node . | |
Functions | |
bool | operator== (const color &lhs, const color &rhs) throw () |
Compare for equality. | |
bool | operator!= (const color &lhs, const color &rhs) throw () |
Compare for inequality. | |
std::istream & | operator>> (std::istream &in, color &c) |
Stream input. | |
std::ostream & | operator<< (std::ostream &out, const color &c) |
Stream output. | |
bool | operator== (const color_rgba &lhs, const color_rgba &rhs) throw () |
Compare for equality. | |
bool | operator!= (const color_rgba &lhs, const color_rgba &rhs) throw () |
Compare for inequality. | |
std::istream & | operator>> (std::istream &in, color_rgba &c) |
Stream input. | |
std::ostream & | operator<< (std::ostream &out, const color_rgba &c) |
Stream output. | |
const openvrml::vec2f | operator * (const vec2f &lhs, const float rhs) throw () |
Multiply a vector by a scalar. | |
const openvrml::vec2f | operator * (const float lhs, const vec2f &rhs) throw () |
Multiply a vector by a scalar. | |
const openvrml::vec2f | operator/ (const vec2f &lhs, const float rhs) throw () |
Divide a vector by a scalar. | |
const openvrml::vec2f | operator+ (const vec2f &lhs, const vec2f &rhs) throw () |
Add two vectors. | |
const openvrml::vec2f | operator- (const vec2f &lhs, const vec2f &rhs) throw () |
Subtract two vectors. | |
bool | operator== (const vec2f &lhs, const vec2f &rhs) throw () |
Compare for equality. | |
bool | operator!= (const vec2f &lhs, const vec2f &rhs) throw () |
Compare for inequality. | |
std::istream & | operator>> (std::istream &in, vec2f &v) |
Stream input. | |
std::ostream & | operator<< (std::ostream &out, const vec2f &v) |
Stream output. | |
const openvrml::vec2d | operator * (const vec2d &lhs, const double rhs) throw () |
Multiply a vector by a scalar. | |
const openvrml::vec2d | operator * (const double lhs, const vec2d &rhs) throw () |
Multiply a vector by a scalar. | |
const openvrml::vec2d | operator/ (const vec2d &lhs, const double rhs) throw () |
Divide a vector by a scalar. | |
const openvrml::vec2d | operator+ (const vec2d &lhs, const vec2d &rhs) throw () |
Add two vectors. | |
const openvrml::vec2d | operator- (const vec2d &lhs, const vec2d &rhs) throw () |
Subtract two vectors. | |
bool | operator== (const vec2d &lhs, const vec2d &rhs) throw () |
Compare for equality. | |
bool | operator!= (const vec2d &lhs, const vec2d &rhs) throw () |
Compare for inequality. | |
std::istream & | operator>> (std::istream &in, vec2d &v) |
Stream input. | |
std::ostream & | operator<< (std::ostream &out, const vec2d &v) |
Stream output. | |
const openvrml::vec3f | operator * (const vec3f &lhs, const vec3f &rhs) throw () |
Cross multiply two vectors. | |
const openvrml::vec3f | operator * (const vec3f &vec, const mat4f &mat) throw () |
Multiply a vector by a matrix. | |
const openvrml::vec3f | operator * (const mat4f &mat, const vec3f &vec) throw () |
Multiply a matrix by a vector. | |
const openvrml::vec3f | operator * (const vec3f &lhs, const float rhs) throw () |
Multiply a vector by a scalar. | |
const openvrml::vec3f | operator * (const float lhs, const vec3f &rhs) throw () |
Multiply a vector by a scalar. | |
const openvrml::vec3f | operator/ (const vec3f &lhs, const float rhs) throw () |
Divide a vector by a scalar. | |
const openvrml::vec3f | operator+ (const vec3f &lhs, const vec3f &rhs) throw () |
Add two vectors. | |
const openvrml::vec3f | operator- (const vec3f &lhs, const vec3f &rhs) throw () |
Subtract two vectors. | |
bool | operator== (const vec3f &lhs, const vec3f &rhs) throw () |
Compare for equality. | |
bool | operator!= (const vec3f &lhs, const vec3f &rhs) throw () |
Compare for inequality. | |
std::istream & | operator>> (std::istream &in, vec3f &v) |
Stream input. | |
std::ostream & | operator<< (std::ostream &out, const vec3f &v) |
Stream output. | |
const openvrml::vec3d | operator * (const vec3d &lhs, const vec3d &rhs) throw () |
Cross multiply two vectors. | |
const openvrml::vec3d | operator * (const vec3d &vec, const mat4f &mat) throw () |
Multiply a vector by a matrix. | |
const openvrml::vec3d | operator * (const mat4f &mat, const vec3d &vec) throw () |
Multiply a matrix by a vector. | |
const openvrml::vec3d | operator * (const vec3d &lhs, const double rhs) throw () |
Multiply a vector by a scalar. | |
const openvrml::vec3d | operator * (const double lhs, const vec3d &rhs) throw () |
Multiply a vector by a scalar. | |
const openvrml::vec3d | operator/ (const vec3d &lhs, const double rhs) throw () |
Divide a vector by a scalar. | |
const openvrml::vec3d | operator+ (const vec3d &lhs, const vec3d &rhs) throw () |
Add two vectors. | |
const openvrml::vec3d | operator- (const vec3d &lhs, const vec3d &rhs) throw () |
Subtract two vectors. | |
bool | operator== (const vec3d &lhs, const vec3d &rhs) throw () |
Compare for equality. | |
bool | operator!= (const vec3d &lhs, const vec3d &rhs) throw () |
Compare for inequality. | |
std::istream & | operator>> (std::istream &in, vec3d &v) |
Stream input. | |
std::ostream & | operator<< (std::ostream &out, const vec3d &v) |
Stream output. | |
const openvrml::rotation | operator * (const rotation &lhs, const rotation &rhs) throw () |
Multiply rotations. | |
bool | operator== (const rotation &lhs, const rotation &rhs) throw () |
Compare for equality. | |
bool | operator!= (const rotation &lhs, const rotation &rhs) throw () |
Compare for inequality. | |
std::istream & | operator>> (std::istream &in, rotation &rot) |
Stream input. | |
std::ostream & | operator<< (std::ostream &out, const rotation &r) |
Stream output. | |
const openvrml::mat4f | operator * (const mat4f &mat, const float scalar) throw () |
Multiply a matrix by a scalar value. | |
const openvrml::mat4f | operator * (const float scalar, const mat4f &mat) throw () |
Multiply a scalar value by matrix. | |
const openvrml::mat4f | operator * (const mat4f &lhs, const mat4f &rhs) throw () |
Multiply two matrices. | |
std::istream & | operator>> (std::istream &in, mat4f &m) |
Stream input. | |
std::ostream & | operator<< (std::ostream &out, const mat4f &mat) |
Stream output. | |
bool | operator== (const mat4f &lhs, const mat4f &rhs) throw () |
Equality comparison operator. | |
bool | operator!= (const mat4f &lhs, const mat4f &rhs) throw () |
Inequality comparison operator. | |
const openvrml::quatf | operator * (const quatf &lhs, const quatf &rhs) throw () |
Multiply two quaternions. | |
const openvrml::quatf | operator * (const quatf &quat, const float scalar) throw () |
Multiply a quaternion by a scalar. | |
const openvrml::quatf | operator * (const float scalar, const quatf &quat) throw () |
Multiply a scalar by a quaternion. | |
const openvrml::quatf | operator/ (const quatf &quat, const float scalar) throw () |
Divide a quaternion by a scalar. | |
const openvrml::quatf | operator+ (const quatf &lhs, const quatf &rhs) throw () |
Add two quaternions. | |
const openvrml::quatf | operator- (const quatf &lhs, const quatf &rhs) throw () |
Take the difference between two quaternions. | |
std::istream & | operator>> (std::istream &in, quatf &q) |
Stream input. | |
std::ostream & | operator<< (std::ostream &out, const quatf &quat) |
Stream output. | |
bool | operator== (const quatf &lhs, const quatf &rhs) throw () |
Compare for equality. | |
bool | operator!= (const quatf &lhs, const quatf &rhs) throw () |
Compare for inequality. | |
bool | operator== (const image &lhs, const image &rhs) throw () |
Compare for equality. | |
bool | operator!= (const image &lhs, const image &rhs) throw () |
Compare for inequality. | |
std::istream & | operator>> (std::istream &in, image &img) |
Stream input. | |
std::ostream & | operator<< (std::ostream &out, const image &img) |
Stream output. | |
float (&mat4f::operator[](size_t index) throw())[4] | |
const | float (&mat4f::operator[](size_t index) const throw())[4] |
const node_path_t | get_path (const std::vector< boost::intrusive_ptr< node > > &root, const node &objective) throw ( std::bad_alloc ) |
node * | resolve_node_path (const node_path_t &path, const std::vector< boost::intrusive_ptr< node > > &root) |
void | read_stream (std::auto_ptr< resource_istream > in, std::auto_ptr< stream_listener > listener) |
Read a stream in a new thread. | |
std::ostream & | operator<< (std::ostream &out, const field_value &value) |
Stream output. | |
std::ostream & | operator<< (std::ostream &out, const field_value::type_id type_id) |
Stream output. | |
std::istream & | operator>> (std::istream &in, field_value::type_id &type_id) |
Stream input. | |
bool | operator== (const sfbool &lhs, const sfbool &rhs) throw () |
Compare for equality. | |
bool | operator!= (const sfbool &lhs, const sfbool &rhs) throw () |
Compare for inequality. | |
bool | operator== (const sfcolor &lhs, const sfcolor &rhs) throw () |
Compare for equality. | |
bool | operator!= (const sfcolor &lhs, const sfcolor &rhs) throw () |
Compare for inequality. | |
bool | operator== (const sfcolorrgba &lhs, const sfcolorrgba &rhs) throw () |
Compare for equality. | |
bool | operator!= (const sfcolorrgba &lhs, const sfcolorrgba &rhs) throw () |
Compare for inequality. | |
bool | operator== (const sffloat &lhs, const sffloat &rhs) throw () |
Compare for equality. | |
bool | operator!= (const sffloat &lhs, const sffloat &rhs) throw () |
Compare for inequality. | |
bool | operator== (const sfdouble &lhs, const sfdouble &rhs) throw () |
Compare for equality. | |
bool | operator!= (const sfdouble &lhs, const sfdouble &rhs) throw () |
Compare for inequality. | |
bool | operator== (const sfimage &lhs, const sfimage &rhs) throw () |
Compare for equality. | |
bool | operator!= (const sfimage &lhs, const sfimage &rhs) throw () |
Compare for inequality. | |
bool | operator== (const sfint32 &lhs, const sfint32 &rhs) throw () |
Compare for equality. | |
bool | operator!= (const sfint32 &lhs, const sfint32 &rhs) throw () |
Compare for inequality. | |
bool | operator== (const sfnode &lhs, const sfnode &rhs) throw () |
Compare for equality. | |
bool | operator!= (const sfnode &lhs, const sfnode &rhs) throw () |
Compare for inequality. | |
bool | operator== (const sfrotation &lhs, const sfrotation &rhs) throw () |
Compare for equality. | |
bool | operator!= (const sfrotation &lhs, const sfrotation &rhs) throw () |
Compare for inequality. | |
bool | operator== (const sfstring &lhs, const sfstring &rhs) throw () |
Compare for equality. | |
bool | operator!= (const sfstring &lhs, const sfstring &rhs) throw () |
Compare for inequality. | |
bool | operator== (const sftime &lhs, const sftime &rhs) throw () |
Compare for equality. | |
bool | operator!= (const sftime &lhs, const sftime &rhs) throw () |
Compare for inequality. | |
bool | operator== (const sfvec2f &lhs, const sfvec2f &rhs) throw () |
Compare for equality. | |
bool | operator!= (const sfvec2f &lhs, const sfvec2f &rhs) throw () |
Compare for inequality. | |
bool | operator== (const sfvec2d &lhs, const sfvec2d &rhs) throw () |
Compare for equality. | |
bool | operator!= (const sfvec2d &lhs, const sfvec2d &rhs) throw () |
Compare for inequality. | |
bool | operator== (const sfvec3f &lhs, const sfvec3f &rhs) throw () |
Compare for equality. | |
bool | operator!= (const sfvec3f &lhs, const sfvec3f &rhs) throw () |
Compare for inequality. | |
bool | operator== (const sfvec3d &lhs, const sfvec3d &rhs) throw () |
Compare for equality. | |
bool | operator!= (const sfvec3d &lhs, const sfvec3d &rhs) throw () |
Compare for inequality. | |
bool | operator== (const mfbool &lhs, const mfbool &rhs) throw () |
Compare for equality. | |
bool | operator!= (const mfbool &lhs, const mfbool &rhs) throw () |
Compare for inequality. | |
bool | operator== (const mfcolor &lhs, const mfcolor &rhs) throw () |
Compare for equality. | |
bool | operator!= (const mfcolor &lhs, const mfcolor &rhs) throw () |
Compare for inequality. | |
bool | operator== (const mfcolorrgba &lhs, const mfcolorrgba &rhs) throw () |
Compare for equality. | |
bool | operator!= (const mfcolorrgba &lhs, const mfcolorrgba &rhs) throw () |
Compare for inequality. | |
bool | operator== (const mffloat &lhs, const mffloat &rhs) throw () |
Compare for equality. | |
bool | operator!= (const mffloat &lhs, const mffloat &rhs) throw () |
Compare for inequality. | |
bool | operator== (const mfdouble &lhs, const mfdouble &rhs) throw () |
Compare for equality. | |
bool | operator!= (const mfdouble &lhs, const mfdouble &rhs) throw () |
Compare for inequality. | |
bool | operator== (const mfimage &lhs, const mfimage &rhs) throw () |
Compare for equality. | |
bool | operator!= (const mfimage &lhs, const mfimage &rhs) throw () |
Compare for inequality. | |
bool | operator== (const mfint32 &lhs, const mfint32 &rhs) throw () |
Compare for equality. | |
bool | operator!= (const mfint32 &lhs, const mfint32 &rhs) throw () |
Compare for inequality. | |
bool | operator== (const mfnode &lhs, const mfnode &rhs) throw () |
Compare for equality. | |
bool | operator!= (const mfnode &lhs, const mfnode &rhs) throw () |
Compare for inequality. | |
bool | operator== (const mfrotation &lhs, const mfrotation &rhs) throw () |
Compare for equality. | |
bool | operator!= (const mfrotation &lhs, const mfrotation &rhs) throw () |
Compare for inequality. | |
bool | operator== (const mfstring &lhs, const mfstring &rhs) throw () |
Compare for equality. | |
bool | operator!= (const mfstring &lhs, const mfstring &rhs) throw () |
Compare for inequality. | |
bool | operator== (const mftime &lhs, const mftime &rhs) throw () |
Compare for equality. | |
bool | operator!= (const mftime &lhs, const mftime &rhs) throw () |
Compare for inequality. | |
bool | operator== (const mfvec2f &lhs, const mfvec2f &rhs) throw () |
Compare for equality. | |
bool | operator!= (const mfvec2f &lhs, const mfvec2f &rhs) throw () |
Compare for inequality. | |
bool | operator== (const mfvec2d &lhs, const mfvec2d &rhs) throw () |
Compare for equality. | |
bool | operator!= (const mfvec2d &lhs, const mfvec2d &rhs) throw () |
Compare for inequality. | |
bool | operator== (const mfvec3f &lhs, const mfvec3f &rhs) throw () |
Compare for equality. | |
bool | operator!= (const mfvec3f &lhs, const mfvec3f &rhs) throw () |
Compare for inequality. | |
bool | operator== (const mfvec3d &lhs, const mfvec3d &rhs) throw () |
Compare for equality. | |
bool | operator!= (const mfvec3d &lhs, const mfvec3d &rhs) throw () |
Compare for inequality. | |
void | intrusive_ptr_add_ref (const node *) throw () |
Increment the reference count. | |
void | intrusive_ptr_release (const node *) throw () |
Decrement the reference count. | |
std::ostream & | operator<< (std::ostream &out, const node_interface::type_id type) |
Stream inserter. | |
std::istream & | operator>> (std::istream &in, node_interface::type_id &type) |
Stream extractor. | |
bool | operator== (const node_interface &lhs, const node_interface &rhs) throw () |
Compare for equality. | |
bool | operator!= (const node_interface &lhs, const node_interface &rhs) throw () |
Compare for openvrml::inequality. | |
std::ostream & | operator<< (std::ostream &out, const node_interface &interface) |
Stream output. | |
std::istream & | operator>> (std::istream &in, node_interface &interface) |
Stream input. | |
const openvrml::node_interface_set::const_iterator | find_interface (const node_interface_set &interfaces, const std::string &id) throw () |
Find an interface matching id . | |
std::ostream & | operator<< (std::ostream &out, const node &n) |
Stream output. | |
bool | add_route (node &from, const std::string &eventout, node &to, const std::string &eventin) throw ( std::bad_alloc , unsupported_interface , field_value_type_mismatch ) |
Add a route from an eventOut of this node to an eventIn of another node. | |
bool | delete_route (node &from, const std::string &eventout, node &to, const std::string &eventin) throw ( unsupported_interface ) |
Remove a route from an eventOut of this node to an eventIn of another node . | |
bool | operator== (const node_metatype_id &lhs, const node_metatype_id &rhs) throw () |
bool | operator!= (const node_metatype_id &lhs, const node_metatype_id &rhs) throw () |
bool | operator== (const node_type &lhs, const node_type &rhs) throw () |
bool | operator!= (const node_type &lhs, const node_type &rhs) throw () |
template<typename To> | |
To | node_cast (node *n) throw () |
Downcast a node to one of the abstract node types. | |
template<> | |
script_node * | node_cast< script_node * > (node *n) throw () |
template<> | |
appearance_node * | node_cast< appearance_node * > (node *n) throw () |
template<> | |
bounded_volume_node * | node_cast< bounded_volume_node * > (node *n) throw () |
template<> | |
child_node * | node_cast< child_node * > (node *n) throw () |
template<> | |
color_node * | node_cast< color_node * > (node *n) throw () |
template<> | |
color_rgba_node * | node_cast< color_rgba_node * > (node *n) throw () |
template<> | |
coordinate_node * | node_cast< coordinate_node * > (node *n) throw () |
template<> | |
font_style_node * | node_cast< font_style_node * > (node *n) throw () |
template<> | |
geometry_node * | node_cast< geometry_node * > (node *n) throw () |
template<> | |
grouping_node * | node_cast< grouping_node * > (node *n) throw () |
template<> | |
light_node * | node_cast< light_node * > (node *n) throw () |
template<> | |
material_node * | node_cast< material_node * > (node *n) throw () |
template<> | |
navigation_info_node * | node_cast< navigation_info_node * > (node *n) throw () |
template<> | |
normal_node * | node_cast< normal_node * > (node *n) throw () |
template<> | |
pointing_device_sensor_node * | node_cast< pointing_device_sensor_node * > (node *n) throw () |
template<> | |
scoped_light_node * | node_cast< scoped_light_node * > (node *n) throw () |
template<> | |
sound_source_node * | node_cast< sound_source_node * > (node *n) throw () |
template<> | |
texture_node * | node_cast< texture_node * > (node *n) throw () |
template<> | |
texture_coordinate_node * | node_cast< texture_coordinate_node * > (node *n) throw () |
template<> | |
texture_transform_node * | node_cast< texture_transform_node * > (node *n) throw () |
template<> | |
time_dependent_node * | node_cast< time_dependent_node * > (node *n) throw () |
template<> | |
transform_node * | node_cast< transform_node * > (node *n) throw () |
template<> | |
viewpoint_node * | node_cast< viewpoint_node * > (node *n) throw () |
const std::string | path (const scope &s) throw ( std::bad_alloc ) |
Variables | |
const char | vrml_media_type [11] = "model/vrml" |
VRML MIME media type. | |
const char | x_vrml_media_type [15] = "x-world/x-vrml" |
Experimental VRML MIME media type. | |
const char | x3d_vrml_media_type [15] = "model/x3d+vrml" |
X3D VRML MIME media type. |
32-bit signed integer.
typedef std::list<node_path_element> openvrml::node_path_t |
sfbool
event listener.
sfcolor
event listener.
sfcolorrgba
event listener.
sffloat
event listener.
sfdouble
event listener.
sfimage
event listener.
sfint32
event listener.
sfnode
event listener.
sfrotation
event listener.
sfstring
event listener.
sftime
event listener.
sfvec2f
event listener.
sfvec2d
event listener.
sfvec3f
event listener.
sfvec3d
event listener.
mfbool
event listener.
mfcolor
event listener.
mfcolorrgba
event listener.
mffloat
event listener.
mfdouble
event listener.
mfimage
event listener.
mfint32
event listener.
mfnode
event listener.
mfrotation
event listener.
mfstring
event listener.
mftime
event listener.
mfvec2f
event listener.
mfvec2d
event listener.
mfvec3f
event listener.
mfvec3d
event listener.
sfbool
event emitter.
sfcolor
event emitter.
sfcolorrgba
event emitter.
sffloat
event emitter.
sfdouble
event emitter.
sfimage
event emitter.
sfint32
event emitter.
sfnode
event emitter.
sfrotation
event emitter.
sfstring
event emitter.
sftime
event emitter.
sfvec2f
event emitter.
sfvec2d
event emitter.
sfvec3f
event emitter.
sfvec3d
event emitter.
mfbool
event emitter.
mfcolor
event emitter.
mfcolorrgba
event emitter.
mffloat
event emitter.
mfdouble
event emitter.
mfint32
event emitter.
mfimage
event emitter.
mfnode
event emitter.
mfrotation
event emitter.
mfstring
event emitter.
mftime
event emitter.
mfvec2f
event emitter.
mfvec2d
event emitter.
mfvec3f
event emitter.
mfvec3d
event emitter.
A group of unique node_interfaces
.
node_interface_sets
are used to construct new node_types
. node_type
objects also expose their interfaces as a node_interface_set
. The interfaces in a node_interface_set
are guaranteed to be unique and nonconflicting.
A map of the initial values with which a node
is instantiated.
std::deque< openvrml::node * > openvrml::node_path |
bool openvrml::operator== | ( | const color & | lhs, | |
const color & | rhs | |||
) | throw () |
Compare for equality.
[in] | lhs | left-hand operand. |
[in] | rhs | right-hand operand. |
true
if lhs
and rhs
have the same value; false
otherwise. bool openvrml::operator!= | ( | const color & | lhs, | |
const color & | rhs | |||
) | throw () |
Compare for inequality.
[in] | lhs | left-hand operand. |
[in] | rhs | right-hand operand. |
true
if lhs
and rhs
do not have the same value; false
otherwise. std::istream & openvrml::operator>> | ( | std::istream & | in, | |
color & | c | |||
) |
Stream input.
Consistent with the VRML97 convention, commas (“,”) in the input are treated as whitespace.
If any of the color components are outside the the range [0.0, 1.0], the failbit
will be set on in
and c
will be left in an arbitrary state.
[in,out] | in | input stream. |
[out] | c | a color . |
in
. std::ostream & openvrml::operator<< | ( | std::ostream & | out, | |
const color & | c | |||
) |
bool openvrml::operator== | ( | const color_rgba & | lhs, | |
const color_rgba & | rhs | |||
) | throw () |
Compare for equality.
[in] | lhs | left-hand operand. |
[in] | rhs | right-hand operand. |
true
if lhs
and rhs
have the same value; false
otherwise. bool openvrml::operator!= | ( | const color_rgba & | lhs, | |
const color_rgba & | rhs | |||
) | throw () |
Compare for inequality.
[in] | lhs | left-hand operand. |
[in] | rhs | right-hand operand. |
true
if lhs
and rhs
dot not have the same value; false
otherwise. std::istream & openvrml::operator>> | ( | std::istream & | in, | |
color_rgba & | c | |||
) |
Stream input.
Consistent with the VRML97 convention, commas (“,”) in the input are treated as whitespace.
If any of the color components are outside the the range [0.0, 1.0], the failbit
will be set on in
and c
will be left in an arbitrary state.
[in,out] | in | input stream. |
[out] | c | a color_rgba . |
in
. std::ostream & openvrml::operator<< | ( | std::ostream & | out, | |
const color_rgba & | c | |||
) |
const vec2f openvrml::operator * | ( | const vec2f & | lhs, | |
const float | rhs | |||
) | throw () |
Multiply a vector by a scalar.
[in] | lhs | left-hand operand (the vector). |
[in] | rhs | right-hand operand (the scalar). |
const vec2f openvrml::operator * | ( | const float | lhs, | |
const vec2f & | rhs | |||
) | throw () |
Multiply a vector by a scalar.
[in] | lhs | left-hand operand (the scalar). |
[in] | rhs | right-hand operand (the vector). |
const vec2f openvrml::operator/ | ( | const vec2f & | lhs, | |
const float | rhs | |||
) | throw () |
Divide a vector by a scalar.
rhs
is nonzero.[in] | lhs | left-hand operand (the vector). |
[in] | rhs | right-hand operand (the scalar). |
const vec2f openvrml::operator+ | ( | const vec2f & | lhs, | |
const vec2f & | rhs | |||
) | throw () |
Add two vectors.
[in] | lhs | left-hand operand. |
[in] | rhs | right-hand operand. |
const vec2f openvrml::operator- | ( | const vec2f & | lhs, | |
const vec2f & | rhs | |||
) | throw () |
Subtract two vectors.
[in] | lhs | left-hand operand. |
[in] | rhs | right-hand operand. |
bool openvrml::operator== | ( | const vec2f & | lhs, | |
const vec2f & | rhs | |||
) | throw () |
Compare for equality.
[in] | lhs | left-hand operand. |
[in] | rhs | right-hand operand. |
true
if lhs
and rhs
have the same value; false
otherwise. bool openvrml::operator!= | ( | const vec2f & | lhs, | |
const vec2f & | rhs | |||
) | throw () |
Compare for inequality.
[in] | lhs | left-hand operand. |
[in] | rhs | right-hand operand. |
true
if lhs
and rhs
dot not have the same value; false
otherwise. std::istream & openvrml::operator>> | ( | std::istream & | in, | |
vec2f & | v | |||
) |
Stream input.
Consistent with the VRML97 convention, commas (“,”) in the input are treated as whitespace.
[in,out] | in | input stream. |
[out] | v | a vec2f . |
in
. std::ostream & openvrml::operator<< | ( | std::ostream & | out, | |
const vec2f & | v | |||
) |
Stream output.
[in,out] | out | output stream. |
[in] | v | a 2-component vector. |
out
. const vec2d openvrml::operator * | ( | const vec2d & | lhs, | |
const double | rhs | |||
) | throw () |
Multiply a vector by a scalar.
[in] | lhs | left-hand operand (the vector). |
[in] | rhs | right-hand operand (the scalar). |
const vec2d openvrml::operator * | ( | const double | lhs, | |
const vec2d & | rhs | |||
) | throw () |
Multiply a vector by a scalar.
[in] | lhs | left-hand operand (the scalar). |
[in] | rhs | right-hand operand (the vector). |
const vec2d openvrml::operator/ | ( | const vec2d & | lhs, | |
const double | rhs | |||
) | throw () |
Divide a vector by a scalar.
rhs
is nonzero.[in] | lhs | left-hand operand (the vector). |
[in] | rhs | right-hand operand (the scalar). |
const vec2d openvrml::operator+ | ( | const vec2d & | lhs, | |
const vec2d & | rhs | |||
) | throw () |
Add two vectors.
[in] | lhs | left-hand operand. |
[in] | rhs | right-hand operand. |
const vec2d openvrml::operator- | ( | const vec2d & | lhs, | |
const vec2d & | rhs | |||
) | throw () |
Subtract two vectors.
[in] | lhs | left-hand operand. |
[in] | rhs | right-hand operand. |
bool openvrml::operator== | ( | const vec2d & | lhs, | |
const vec2d & | rhs | |||
) | throw () |
Compare for equality.
[in] | lhs | left-hand operand. |
[in] | rhs | right-hand operand. |
true
if lhs
and rhs
have the same value; false
otherwise. bool openvrml::operator!= | ( | const vec2d & | lhs, | |
const vec2d & | rhs | |||
) | throw () |
Compare for inequality.
[in] | lhs | left-hand operand. |
[in] | rhs | right-hand operand. |
true
if lhs
and rhs
dot not have the same value; false
otherwise. std::istream & openvrml::operator>> | ( | std::istream & | in, | |
vec2d & | v | |||
) |
Stream input.
Consistent with the VRML97 convention, commas (“,”) in the input are treated as whitespace.
[in,out] | in | input stream. |
[out] | v | a vec2d . |
in
. std::ostream & openvrml::operator<< | ( | std::ostream & | out, | |
const vec2d & | v | |||
) |
Stream output.
[in,out] | out | output stream. |
[in] | v | a 2-component vector. |
out
. const vec3f openvrml::operator * | ( | const vec3f & | lhs, | |
const vec3f & | rhs | |||
) | throw () |
Cross multiply two vectors.
[in] | lhs | left-hand operand. |
[in] | rhs | right-hand operand. |
const vec3f openvrml::operator * | ( | const vec3f & | vec, | |
const mat4f & | mat | |||
) | throw () |
Multiply a vector by a matrix.
[in] | vec | a vector. |
[in] | mat | a matrix. |
const vec3f openvrml::operator * | ( | const mat4f & | mat, | |
const vec3f & | vec | |||
) | throw () |
Multiply a matrix by a vector.
[in] | mat | a matrix. |
[in] | vec | a 3-component vector. |
const vec3f openvrml::operator * | ( | const vec3f & | lhs, | |
const float | rhs | |||
) | throw () |
Multiply a vector by a scalar.
[in] | lhs | left-hand operand (the vector). |
[in] | rhs | right-hand operand (the scalar). |
const vec3f openvrml::operator * | ( | const float | lhs, | |
const vec3f & | rhs | |||
) | throw () |
Multiply a vector by a scalar.
[in] | lhs | left-hand operand (the scalar). |
[in] | rhs | right-hand operand (the vector). |
const vec3f openvrml::operator/ | ( | const vec3f & | lhs, | |
const float | rhs | |||
) | throw () |
Divide a vector by a scalar.
rhs
is nonzero.[in] | lhs | left-hand operand (the vector). |
[in] | rhs | right-hand operand (the scalar). |
const vec3f openvrml::operator+ | ( | const vec3f & | lhs, | |
const vec3f & | rhs | |||
) | throw () |
Add two vectors.
[in] | lhs | left-hand operand. |
[in] | rhs | right-hand operand. |
const vec3f openvrml::operator- | ( | const vec3f & | lhs, | |
const vec3f & | rhs | |||
) | throw () |
Subtract two vectors.
[in] | lhs | left-hand operand. |
[in] | rhs | right-hand operand. |
bool openvrml::operator== | ( | const vec3f & | lhs, | |
const vec3f & | rhs | |||
) | throw () |
Compare for equality.
[in] | lhs | left-hand operand. |
[in] | rhs | right-hand operand. |
true
if lhs
and rhs
have the same value; false
otherwise. bool openvrml::operator!= | ( | const vec3f & | lhs, | |
const vec3f & | rhs | |||
) | throw () |
Compare for inequality.
[in] | lhs | left-hand operand. |
[in] | rhs | right-hand operand. |
true
if lhs
and rhs
dot not have the same value; false
otherwise. std::istream & openvrml::operator>> | ( | std::istream & | in, | |
vec3f & | v | |||
) |
Stream input.
Consistent with the VRML97 convention, commas (“,”) in the input are treated as whitespace.
[in,out] | in | input stream. |
[out] | v | a vec3f . |
in
. std::ostream & openvrml::operator<< | ( | std::ostream & | out, | |
const vec3f & | v | |||
) |
Stream output.
[in,out] | out | output stream. |
[in] | v | a 3-component vector. |
out
. const vec3d openvrml::operator * | ( | const vec3d & | lhs, | |
const vec3d & | rhs | |||
) | throw () |
Cross multiply two vectors.
[in] | lhs | left-hand operand. |
[in] | rhs | right-hand operand. |
const vec3d openvrml::operator * | ( | const vec3d & | vec, | |
const mat4f & | mat | |||
) | throw () |
Multiply a vector by a matrix.
[in] | vec | a vector. |
[in] | mat | a matrix. |
const vec3d openvrml::operator * | ( | const mat4f & | mat, | |
const vec3d & | vec | |||
) | throw () |
Multiply a matrix by a vector.
[in] | mat | a matrix. |
[in] | vec | a 3-component vector. |
const vec3d openvrml::operator * | ( | const vec3d & | lhs, | |
const double | rhs | |||
) | throw () |
Multiply a vector by a scalar.
[in] | lhs | left-hand operand (the vector). |
[in] | rhs | right-hand operand (the scalar). |
const vec3d openvrml::operator * | ( | const double | lhs, | |
const vec3d & | rhs | |||
) | throw () |
Multiply a vector by a scalar.
[in] | lhs | left-hand operand (the scalar). |
[in] | rhs | right-hand operand (the vector). |
const vec3d openvrml::operator/ | ( | const vec3d & | lhs, | |
const double | rhs | |||
) | throw () |
Divide a vector by a scalar.
rhs
is nonzero.[in] | lhs | left-hand operand (the vector). |
[in] | rhs | right-hand operand (the scalar). |
const vec3d openvrml::operator+ | ( | const vec3d & | lhs, | |
const vec3d & | rhs | |||
) | throw () |
Add two vectors.
[in] | lhs | left-hand operand. |
[in] | rhs | right-hand operand. |
const vec3d openvrml::operator- | ( | const vec3d & | lhs, | |
const vec3d & | rhs | |||
) | throw () |
Subtract two vectors.
[in] | lhs | left-hand operand. |
[in] | rhs | right-hand operand. |
bool openvrml::operator== | ( | const vec3d & | lhs, | |
const vec3d & | rhs | |||
) | throw () |
Compare for equality.
[in] | lhs | left-hand operand. |
[in] | rhs | right-hand operand. |
true
if lhs
and rhs
have the same value; false
otherwise. bool openvrml::operator!= | ( | const vec3d & | lhs, | |
const vec3d & | rhs | |||
) | throw () |
Compare for inequality.
[in] | lhs | left-hand operand. |
[in] | rhs | right-hand operand. |
true
if lhs
and rhs
dot not have the same value; false
otherwise. std::istream & openvrml::operator>> | ( | std::istream & | in, | |
vec3d & | v | |||
) |
Stream input.
Consistent with the VRML97 convention, commas (“,”) in the input are treated as whitespace.
[in,out] | in | input stream. |
[out] | v | a vec3d . |
in
. std::ostream & openvrml::operator<< | ( | std::ostream & | out, | |
const vec3d & | v | |||
) |
Stream output.
[in,out] | out | output stream. |
[in] | v | a 3-component vector. |
out
. const rotation openvrml::operator * | ( | const rotation & | lhs, | |
const rotation & | rhs | |||
) | throw () |
Multiply rotations.
[in] | lhs | left-hand operand. |
[in] | rhs | right-hand operand. |
lhs
and rhs
. bool openvrml::operator== | ( | const rotation & | lhs, | |
const rotation & | rhs | |||
) | throw () |
Compare for equality.
[in] | lhs | left-hand operand. |
[in] | rhs | right-hand operand. |
true
if lhs
is equal to rhs
; false
otherwise. bool openvrml::operator!= | ( | const rotation & | lhs, | |
const rotation & | rhs | |||
) | throw () |
Compare for inequality.
[in] | lhs | left-hand operand. |
[in] | rhs | right-hand operand. |
true
if lhs
is not equal to rhs
; false
otherwise. std::istream & openvrml::operator>> | ( | std::istream & | in, | |
rotation & | rot | |||
) |
Stream input.
Consistent with the VRML97 convention, commas (“,”) in the input are treated as whitespace.
If the axis components of the rotation do not represent a normalized vector, the failbit
will be set on in
and rot
will not be modified.
[in,out] | in | input stream. |
[out] | rot | a rotation . |
in
. std::ostream & openvrml::operator<< | ( | std::ostream & | out, | |
const rotation & | r | |||
) |
const mat4f openvrml::operator * | ( | const mat4f & | mat, | |
const float | scalar | |||
) | throw () |
Multiply a matrix by a scalar value.
[in] | mat | matrix. |
[in] | scalar | scalar. |
const mat4f openvrml::operator * | ( | const float | scalar, | |
const mat4f & | mat | |||
) | throw () |
Multiply a scalar value by matrix.
[in] | scalar | scalar. |
[in] | mat | matrix. |
const mat4f openvrml::operator * | ( | const mat4f & | lhs, | |
const mat4f & | rhs | |||
) | throw () |
Multiply two matrices.
[in] | lhs | left-hand operand. |
[in] | rhs | right-hand operand. |
std::istream & openvrml::operator>> | ( | std::istream & | in, | |
mat4f & | m | |||
) |
Stream input.
Consistent with the VRML97 convention, commas (“,”) in the input are treated as whitespace.
Optionally, brackets may be used in the input to group the rows; i.e., the following syntaxes are accepted:
[in,out] | in | input stream. |
[out] | m | a matrix. |
in
. std::ostream & openvrml::operator<< | ( | std::ostream & | out, | |
const mat4f & | mat | |||
) |
Stream output.
[in,out] | out | an output stream. |
[in] | mat | a matrix. |
out
. bool openvrml::operator== | ( | const mat4f & | lhs, | |
const mat4f & | rhs | |||
) | throw () |
Equality comparison operator.
All componenents must match exactly.
[in] | lhs | a matrix. |
[in] | rhs | a matrix. |
true
if lhs
and rhs
are equivalent; false
otherwise. bool openvrml::operator!= | ( | const mat4f & | lhs, | |
const mat4f & | rhs | |||
) | throw () |
Inequality comparison operator.
[in] | lhs | a matrix. |
[in] | rhs | a matrix. |
true
if lhs
and rhs
are not equivalent; false
otherwise. const quatf openvrml::operator * | ( | const quatf & | lhs, | |
const quatf & | rhs | |||
) | throw () |
Multiply two quaternions.
[in] | lhs | left-hand operand. |
[in] | rhs | right-hand operand. |
lhs
and rhs
. const quatf openvrml::operator * | ( | const quatf & | quat, | |
const float | scalar | |||
) | throw () |
Multiply a quaternion by a scalar.
[in] | quat | quaternion. |
[in] | scalar | scalar. |
quat
and scalar
. const quatf openvrml::operator * | ( | const float | scalar, | |
const quatf & | quat | |||
) | throw () |
Multiply a scalar by a quaternion.
[in] | scalar | scalar. |
[in] | quat | quaternion. |
scalar
and quat
. const quatf openvrml::operator/ | ( | const quatf & | quat, | |
const float | scalar | |||
) | throw () |
Divide a quaternion by a scalar.
[in] | quat | quaternion. |
[in] | scalar | scalar. |
quat
by scalar
. const quatf openvrml::operator+ | ( | const quatf & | lhs, | |
const quatf & | rhs | |||
) | throw () |
Add two quaternions.
[in] | lhs | left-hand operand. |
[in] | rhs | right-hand operand. |
lhs
and rhs
. const quatf openvrml::operator- | ( | const quatf & | lhs, | |
const quatf & | rhs | |||
) | throw () |
Take the difference between two quaternions.
[in] | lhs | left-hand operand. |
[in] | rhs | right-hand operand. |
lhs
and rhs
. std::istream & openvrml::operator>> | ( | std::istream & | in, | |
quatf & | q | |||
) |
Stream input.
Consistent with the VRML97 convention, commas (“,”) in the input are treated as whitespace.
[in,out] | in | input stream. |
[out] | q | a quatf . |
in
. std::ostream & openvrml::operator<< | ( | std::ostream & | out, | |
const quatf & | quat | |||
) |
Stream output.
[in,out] | out | an output stream. |
[in] | quat | a quaternion. |
out
. bool openvrml::operator== | ( | const quatf & | lhs, | |
const quatf & | rhs | |||
) | throw () |
Compare for equality.
[in] | lhs | left-hand operand. |
[in] | rhs | right-hand operand. |
true
if lhs
and rhs
are equal; false
otherwise. bool openvrml::operator!= | ( | const quatf & | lhs, | |
const quatf & | rhs | |||
) | throw () |
Compare for inequality.
[in] | lhs | left-hand operand. |
[in] | rhs | right-hand operand. |
true
if lhs
and rhs
are not equal; false
otherwise. bool openvrml::operator== | ( | const image & | lhs, | |
const image & | rhs | |||
) | throw () |
Compare for equality.
[in] | lhs | left-hand operand. |
[in] | rhs | right-hand operand. |
true
if lhs
and rhs
are equal; false
otherwise. bool openvrml::operator!= | ( | const image & | lhs, | |
const image & | rhs | |||
) | throw () |
Compare for inequality.
[in] | lhs | left-hand operand. |
[in] | rhs | right-hand operand. |
true
if lhs
and rhs
are not equal; false
otherwise. std::istream & openvrml::operator>> | ( | std::istream & | in, | |
image & | img | |||
) |
Stream input.
Consistent with the VRML97 convention, commas (“,”) in the input are treated as whitespace.
[in,out] | in | input stream. |
[out] | img | an image . |
in
. std::ostream & openvrml::operator<< | ( | std::ostream & | out, | |
const image & | img | |||
) |
void openvrml::read_stream | ( | std::auto_ptr< resource_istream > | in, | |
std::auto_ptr< stream_listener > | listener | |||
) |
Read a stream in a new thread.
read_stream
takes ownership of its arguments; the resources are released when reading the stream completes and the thread terminates.
[in] | in | an input stream. |
[in] | listener | a stream listener. |
std::ostream & openvrml::operator<< | ( | std::ostream & | out, | |
const field_value & | value | |||
) |
Stream output.
[in,out] | out | an output stream. |
[in] | value | a field value. |
out
. std::ostream & openvrml::operator<< | ( | std::ostream & | out, | |
const field_value::type_id | type_id | |||
) |
Stream output.
If type
is field_value::invalid_type
, failbit
is set on out
.
[in,out] | out | output stream. |
[in] | type_id | field_value type identifier. |
out
. std::istream & openvrml::operator>> | ( | std::istream & | in, | |
field_value::type_id & | type_id | |||
) |
Stream input.
[in,out] | in | input stream. |
[out] | type_id | field_value type identifier. |
in
. bool openvrml::operator== | ( | const sfbool & | lhs, | |
const sfbool & | rhs | |||
) | throw () |
Compare for equality.
[in] | lhs | left-hand operand. |
[in] | rhs | right-hand operand. |
true
if lhs
and rhs
have the same value; false
otherwise. bool openvrml::operator!= | ( | const sfbool & | lhs, | |
const sfbool & | rhs | |||
) | throw () |
Compare for inequality.
[in] | lhs | left-hand operand. |
[in] | rhs | right-hand operand. |
true
if lhs
and rhs
do not have the same value; false
otherwise. bool openvrml::operator== | ( | const sfcolor & | lhs, | |
const sfcolor & | rhs | |||
) | throw () |
Compare for equality.
[in] | lhs | left-hand operand. |
[in] | rhs | right-hand operand. |
true
if lhs
and rhs
have the same value; false
otherwise. bool openvrml::operator!= | ( | const sfcolor & | lhs, | |
const sfcolor & | rhs | |||
) | throw () |
Compare for inequality.
[in] | lhs | left-hand operand. |
[in] | rhs | right-hand operand. |
true
if lhs
and rhs
do not have the same value; false
otherwise. bool openvrml::operator== | ( | const sfcolorrgba & | lhs, | |
const sfcolorrgba & | rhs | |||
) | throw () |
Compare for equality.
[in] | lhs | left-hand operand. |
[in] | rhs | right-hand operand. |
true
if lhs
and rhs
have the same value; false
otherwise. bool openvrml::operator!= | ( | const sfcolorrgba & | lhs, | |
const sfcolorrgba & | rhs | |||
) | throw () |
Compare for inequality.
[in] | lhs | left-hand operand. |
[in] | rhs | right-hand operand. |
true
if lhs
and rhs
do not have the same value; false
otherwise. bool openvrml::operator== | ( | const sffloat & | lhs, | |
const sffloat & | rhs | |||
) | throw () |
Compare for equality.
[in] | lhs | left-hand operand. |
[in] | rhs | right-hand operand. |
true
if lhs
and rhs
have the same value; false
otherwise. bool openvrml::operator!= | ( | const sffloat & | lhs, | |
const sffloat & | rhs | |||
) | throw () |
Compare for inequality.
[in] | lhs | left-hand operand. |
[in] | rhs | right-hand operand. |
true
if lhs
and rhs
do not have the same value; false
otherwise. bool openvrml::operator== | ( | const sfdouble & | lhs, | |
const sfdouble & | rhs | |||
) | throw () |
Compare for equality.
[in] | lhs | left-hand operand. |
[in] | rhs | right-hand operand. |
true
if lhs
and rhs
have the same value; false
otherwise. bool openvrml::operator!= | ( | const sfdouble & | lhs, | |
const sfdouble & | rhs | |||
) | throw () |
Compare for inequality.
[in] | lhs | left-hand operand. |
[in] | rhs | right-hand operand. |
true
if lhs
and rhs
do not have the same value; false
otherwise. bool openvrml::operator== | ( | const sfimage & | lhs, | |
const sfimage & | rhs | |||
) | throw () |
Compare for equality.
[in] | lhs | left-hand operand. |
[in] | rhs | right-hand operand. |
true
if lhs
and rhs
have the same value; false
otherwise. bool openvrml::operator!= | ( | const sfimage & | lhs, | |
const sfimage & | rhs | |||
) | throw () |
Compare for inequality.
[in] | lhs | left-hand operand. |
[in] | rhs | right-hand operand. |
true
if lhs
and rhs
do not have the same value; false
otherwise. bool openvrml::operator== | ( | const sfint32 & | lhs, | |
const sfint32 & | rhs | |||
) | throw () |
Compare for equality.
[in] | lhs | left-hand operand. |
[in] | rhs | right-hand operand. |
true
if lhs
and rhs
have the same value; false
otherwise. bool openvrml::operator!= | ( | const sfint32 & | lhs, | |
const sfint32 & | rhs | |||
) | throw () |
Compare for inequality.
[in] | lhs | left-hand operand. |
[in] | rhs | right-hand operand. |
true
if lhs
and rhs
do not have the same value; false
otherwise. bool openvrml::operator== | ( | const sfnode & | lhs, | |
const sfnode & | rhs | |||
) | throw () |
Compare for equality.
[in] | lhs | left-hand operand. |
[in] | rhs | right-hand operand. |
true
if lhs
and rhs
have the same value; false
otherwise. bool openvrml::operator!= | ( | const sfnode & | lhs, | |
const sfnode & | rhs | |||
) | throw () |
Compare for inequality.
[in] | lhs | left-hand operand. |
[in] | rhs | right-hand operand. |
true
if lhs
and rhs
do not have the same value; false
otherwise. bool openvrml::operator== | ( | const sfrotation & | lhs, | |
const sfrotation & | rhs | |||
) | throw () |
Compare for equality.
[in] | lhs | left-hand operand. |
[in] | rhs | right-hand operand. |
true
if lhs
and rhs
have the same value; false
otherwise. bool openvrml::operator!= | ( | const sfrotation & | lhs, | |
const sfrotation & | rhs | |||
) | throw () |
Compare for inequality.
[in] | lhs | left-hand operand. |
[in] | rhs | right-hand operand. |
true
if lhs
and rhs
do not have the same value; false
otherwise. bool openvrml::operator== | ( | const sfstring & | lhs, | |
const sfstring & | rhs | |||
) | throw () |
Compare for equality.
[in] | lhs | left-hand operand. |
[in] | rhs | right-hand operand. |
true
if lhs
and rhs
have the same value; false
otherwise. bool openvrml::operator!= | ( | const sfstring & | lhs, | |
const sfstring & | rhs | |||
) | throw () |
Compare for inequality.
[in] | lhs | left-hand operand. |
[in] | rhs | right-hand operand. |
true
if lhs
and rhs
do not have the same value; false
otherwise. bool openvrml::operator== | ( | const sftime & | lhs, | |
const sftime & | rhs | |||
) | throw () |
Compare for equality.
[in] | lhs | left-hand operand. |
[in] | rhs | right-hand operand. |
true
if lhs
and rhs
have the same value; false
otherwise. bool openvrml::operator!= | ( | const sftime & | lhs, | |
const sftime & | rhs | |||
) | throw () |
Compare for inequality.
[in] | lhs | left-hand operand. |
[in] | rhs | right-hand operand. |
true
if lhs
and rhs
do not have the same value; false
otherwise. bool openvrml::operator== | ( | const sfvec2f & | lhs, | |
const sfvec2f & | rhs | |||
) | throw () |
Compare for equality.
[in] | lhs | left-hand operand. |
[in] | rhs | right-hand operand. |
true
if lhs
and rhs
have the same value; false
otherwise. bool openvrml::operator!= | ( | const sfvec2f & | lhs, | |
const sfvec2f & | rhs | |||
) | throw () |
Compare for inequality.
[in] | lhs | left-hand operand. |
[in] | rhs | right-hand operand. |
true
if lhs
and rhs
do not have the same value; false
otherwise. bool openvrml::operator== | ( | const sfvec2d & | lhs, | |
const sfvec2d & | rhs | |||
) | throw () |
Compare for equality.
[in] | lhs | left-hand operand. |
[in] | rhs | right-hand operand. |
true
if lhs
and rhs
have the same value; false
otherwise. bool openvrml::operator!= | ( | const sfvec2d & | lhs, | |
const sfvec2d & | rhs | |||
) | throw () |
Compare for inequality.
[in] | lhs | left-hand operand. |
[in] | rhs | right-hand operand. |
true
if lhs
and rhs
do not have the same value; false
otherwise. bool openvrml::operator== | ( | const sfvec3f & | lhs, | |
const sfvec3f & | rhs | |||
) | throw () |
Compare for equality.
[in] | lhs | left-hand operand. |
[in] | rhs | right-hand operand. |
true
if lhs
and rhs
have the same value; false
otherwise. bool openvrml::operator!= | ( | const sfvec3f & | lhs, | |
const sfvec3f & | rhs | |||
) | throw () |
Compare for inequality.
[in] | lhs | left-hand operand. |
[in] | rhs | right-hand operand. |
true
if lhs
and rhs
do not have the same value; false
otherwise. bool openvrml::operator== | ( | const sfvec3d & | lhs, | |
const sfvec3d & | rhs | |||
) | throw () |
Compare for equality.
[in] | lhs | left-hand operand. |
[in] | rhs | right-hand operand. |
true
if lhs
and rhs
have the same value; false
otherwise. bool openvrml::operator!= | ( | const sfvec3d & | lhs, | |
const sfvec3d & | rhs | |||
) | throw () |
Compare for inequality.
[in] | lhs | left-hand operand. |
[in] | rhs | right-hand operand. |
true
if lhs
and rhs
do not have the same value; false
otherwise. bool openvrml::operator== | ( | const mfbool & | lhs, | |
const mfbool & | rhs | |||
) | throw () |
Compare for equality.
[in] | lhs | left-hand operand. |
[in] | rhs | right-hand operand. |
true
if lhs
and rhs
have the same value; false
otherwise. bool openvrml::operator!= | ( | const mfbool & | lhs, | |
const mfbool & | rhs | |||
) | throw () |
Compare for inequality.
[in] | lhs | left-hand operand. |
[in] | rhs | right-hand operand. |
true
if lhs
and rhs
do not have the same value; false
otherwise. bool openvrml::operator== | ( | const mfcolor & | lhs, | |
const mfcolor & | rhs | |||
) | throw () |
Compare for equality.
[in] | lhs | left-hand operand. |
[in] | rhs | right-hand operand. |
true
if lhs
and rhs
have the same value; false
otherwise. bool openvrml::operator!= | ( | const mfcolor & | lhs, | |
const mfcolor & | rhs | |||
) | throw () |
Compare for inequality.
[in] | lhs | left-hand operand. |
[in] | rhs | right-hand operand. |
true
if lhs
and rhs
do not have the same value; false
otherwise. bool openvrml::operator== | ( | const mfcolorrgba & | lhs, | |
const mfcolorrgba & | rhs | |||
) | throw () |
Compare for equality.
[in] | lhs | left-hand operand. |
[in] | rhs | right-hand operand. |
true
if lhs
and rhs
have the same value; false
otherwise. bool openvrml::operator!= | ( | const mfcolorrgba & | lhs, | |
const mfcolorrgba & | rhs | |||
) | throw () |
Compare for inequality.
[in] | lhs | left-hand operand. |
[in] | rhs | right-hand operand. |
true
if lhs
and rhs
do not have the same value; false
otherwise. bool openvrml::operator== | ( | const mffloat & | lhs, | |
const mffloat & | rhs | |||
) | throw () |
Compare for equality.
[in] | lhs | left-hand operand. |
[in] | rhs | right-hand operand. |
true
if lhs
and rhs
have the same value; false
otherwise. bool openvrml::operator!= | ( | const mffloat & | lhs, | |
const mffloat & | rhs | |||
) | throw () |
Compare for inequality.
[in] | lhs | left-hand operand. |
[in] | rhs | right-hand operand. |
true
if lhs
and rhs
do not have the same value; false
otherwise. bool openvrml::operator== | ( | const mfdouble & | lhs, | |
const mfdouble & | rhs | |||
) | throw () |
Compare for equality.
[in] | lhs | left-hand operand. |
[in] | rhs | right-hand operand. |
true
if lhs
and rhs
have the same value; false
otherwise. bool openvrml::operator!= | ( | const mfdouble & | lhs, | |
const mfdouble & | rhs | |||
) | throw () |
Compare for inequality.
[in] | lhs | left-hand operand. |
[in] | rhs | right-hand operand. |
true
if lhs
and rhs
do not have the same value; false
otherwise. bool openvrml::operator== | ( | const mfimage & | lhs, | |
const mfimage & | rhs | |||
) | throw () |
Compare for equality.
[in] | lhs | left-hand operand. |
[in] | rhs | right-hand operand. |
true
if lhs
and rhs
have the same value; false
otherwise. bool openvrml::operator!= | ( | const mfimage & | lhs, | |
const mfimage & | rhs | |||
) | throw () |
Compare for inequality.
[in] | lhs | left-hand operand. |
[in] | rhs | right-hand operand. |
true
if lhs
and rhs
do not have the same value; false
otherwise. bool openvrml::operator== | ( | const mfint32 & | lhs, | |
const mfint32 & | rhs | |||
) | throw () |
Compare for equality.
[in] | lhs | left-hand operand. |
[in] | rhs | right-hand operand. |
true
if lhs
and rhs
have the same value; false
otherwise. bool openvrml::operator!= | ( | const mfint32 & | lhs, | |
const mfint32 & | rhs | |||
) | throw () |
Compare for inequality.
[in] | lhs | left-hand operand. |
[in] | rhs | right-hand operand. |
true
if lhs
and rhs
do not have the same value; false
otherwise. bool openvrml::operator== | ( | const mfnode & | lhs, | |
const mfnode & | rhs | |||
) | throw () |
Compare for equality.
[in] | lhs | left-hand operand. |
[in] | rhs | right-hand operand. |
true
if lhs
and rhs
have the same value; false
otherwise. bool openvrml::operator!= | ( | const mfnode & | lhs, | |
const mfnode & | rhs | |||
) | throw () |
Compare for inequality.
[in] | lhs | left-hand operand. |
[in] | rhs | right-hand operand. |
true
if lhs
and rhs
do not have the same value; false
otherwise. bool openvrml::operator== | ( | const mfrotation & | lhs, | |
const mfrotation & | rhs | |||
) | throw () |
Compare for equality.
[in] | lhs | left-hand operand. |
[in] | rhs | right-hand operand. |
true
if lhs
and rhs
have the same value; false
otherwise. bool openvrml::operator!= | ( | const mfrotation & | lhs, | |
const mfrotation & | rhs | |||
) | throw () |
Compare for inequality.
[in] | lhs | left-hand operand. |
[in] | rhs | right-hand operand. |
true
if lhs
and rhs
do not have the same value; false
otherwise. bool openvrml::operator== | ( | const mfstring & | lhs, | |
const mfstring & | rhs | |||
) | throw () |
Compare for equality.
[in] | lhs | left-hand operand. |
[in] | rhs | right-hand operand. |
true
if lhs
and rhs
have the same value; false
otherwise. bool openvrml::operator!= | ( | const mfstring & | lhs, | |
const mfstring & | rhs | |||
) | throw () |
Compare for inequality.
[in] | lhs | left-hand operand. |
[in] | rhs | right-hand operand. |
true
if lhs
and rhs
do not have the same value; false
otherwise. bool openvrml::operator== | ( | const mftime & | lhs, | |
const mftime & | rhs | |||
) | throw () |
Compare for equality.
[in] | lhs | left-hand operand. |
[in] | rhs | right-hand operand. |
true
if lhs
and rhs
have the same value; false
otherwise. bool openvrml::operator!= | ( | const mftime & | lhs, | |
const mftime & | rhs | |||
) | throw () |
Compare for inequality.
[in] | lhs | left-hand operand. |
[in] | rhs | right-hand operand. |
true
if lhs
and rhs
do not have the same value; false
otherwise. bool openvrml::operator== | ( | const mfvec2f & | lhs, | |
const mfvec2f & | rhs | |||
) | throw () |
Compare for equality.
[in] | lhs | left-hand operand. |
[in] | rhs | right-hand operand. |
true
if lhs
and rhs
have the same value; false
otherwise. bool openvrml::operator!= | ( | const mfvec2f & | lhs, | |
const mfvec2f & | rhs | |||
) | throw () |
Compare for inequality.
[in] | lhs | left-hand operand. |
[in] | rhs | right-hand operand. |
true
if lhs
and rhs
do not have the same value; false
otherwise. bool openvrml::operator== | ( | const mfvec2d & | lhs, | |
const mfvec2d & | rhs | |||
) | throw () |
Compare for equality.
[in] | lhs | left-hand operand. |
[in] | rhs | right-hand operand. |
true
if lhs
and rhs
have the same value; false
otherwise. bool openvrml::operator!= | ( | const mfvec2d & | lhs, | |
const mfvec2d & | rhs | |||
) | throw () |
Compare for inequality.
[in] | lhs | left-hand operand. |
[in] | rhs | right-hand operand. |
true
if lhs
and rhs
do not have the same value; false
otherwise. bool openvrml::operator== | ( | const mfvec3f & | lhs, | |
const mfvec3f & | rhs | |||
) | throw () |
Compare for equality.
[in] | lhs | left-hand operand. |
[in] | rhs | right-hand operand. |
true
if lhs
and rhs
have the same value; false
otherwise. bool openvrml::operator!= | ( | const mfvec3f & | lhs, | |
const mfvec3f & | rhs | |||
) | throw () |
Compare for inequality.
[in] | lhs | left-hand operand. |
[in] | rhs | right-hand operand. |
true
if lhs
and rhs
do not have the same value; false
otherwise. bool openvrml::operator== | ( | const mfvec3d & | lhs, | |
const mfvec3d & | rhs | |||
) | throw () |
Compare for equality.
[in] | lhs | left-hand operand. |
[in] | rhs | right-hand operand. |
true
if lhs
and rhs
have the same value; false
otherwise. bool openvrml::operator!= | ( | const mfvec3d & | lhs, | |
const mfvec3d & | rhs | |||
) | throw () |
Compare for inequality.
[in] | lhs | left-hand operand. |
[in] | rhs | right-hand operand. |
true
if lhs
and rhs
do not have the same value; false
otherwise. void openvrml::intrusive_ptr_add_ref | ( | const node * | n | ) | throw () [inline] |
Increment the reference count.
This function is used by boost::intrusive_ptr<node>
.
void openvrml::intrusive_ptr_release | ( | const node * | n | ) | throw () [inline] |
Decrement the reference count.
This function is used by boost::intrusive_ptr<node>
.
std::ostream & openvrml::operator<< | ( | std::ostream & | out, | |
const node_interface::type_id | type | |||
) |
Stream inserter.
If type
is node_interface::invalid_type_id
, failbit
is set on out
.
[in,out] | out | an output stream. |
[in] | type | a node interface type. |
out
. std::istream & openvrml::operator>> | ( | std::istream & | in, | |
node_interface::type_id & | type | |||
) |
Stream extractor.
[in,out] | in | an input stream. |
[out] | type | a node interface type. |
in
. bool openvrml::operator== | ( | const node_interface & | lhs, | |
const node_interface & | rhs | |||
) | throw () |
Compare for equality.
[in] | lhs | a node_interface . |
[in] | rhs | a node_interface . |
true
if the two node_interfaces
are equal, false
otherwise. bool openvrml::operator!= | ( | const node_interface & | lhs, | |
const node_interface & | rhs | |||
) | throw () |
Compare for openvrml::inequality.
[in] | lhs | a node_interface . |
[in] | rhs | a node_interface . |
true
if the two node_interfaces
are equal, false
otherwise. std::ostream & openvrml::operator<< | ( | std::ostream & | out, | |
const node_interface & | interface | |||
) |
std::istream & openvrml::operator>> | ( | std::istream & | in, | |
node_interface & | interface | |||
) |
const node_interface_set::const_iterator openvrml::find_interface | ( | const node_interface_set & | interfaces, | |
const std::string & | id | |||
) | throw () |
Find an interface matching id
.
If no interface is found with an interface identifier that is an exact match for id
, this function will look for set_
and _changed
variants. If interfaces
contains a field
zzz
along with an eventIn
set_zzz
and/or an eventOut
zzz_changed
, the eventIn
or eventOut
will only be found if the set_zzz
or zzz_changed
form, respectively, is used for id
.
[in] | interfaces | a set of node_interfaces . |
[in] | id | the interface identifier to look for. |
const_iterator
to the interface, or node_interface_set::end
if no interface is found. std::ostream & openvrml::operator<< | ( | std::ostream & | out, | |
const node & | n | |||
) |
bool openvrml::add_route | ( | node & | from, | |
const std::string & | eventout, | |||
node & | to, | |||
const std::string & | eventin | |||
) | throw ( std::bad_alloc , unsupported_interface , field_value_type_mismatch ) |
Add a route from an eventOut
of this node to an eventIn
of another node.
If the route being added already exists, this method has no effect.
[in,out] | from | source node. |
[in] | eventout | an eventOut of from . |
[in,out] | to | destination node. |
[in] | eventin | an eventIn of to . |
true
if a route was successfully added; false
otherwise (if the route already existed).std::bad_alloc | if memory allocation fails. | |
unsupported_interface | if the node has no eventOut eventout ; or if to has no eventIn eventin . | |
field_value_type_mismatch | if eventout and eventin have different field value types. |
to_node
is not null. bool openvrml::delete_route | ( | node & | from, | |
const std::string & | eventout, | |||
node & | to, | |||
const std::string & | eventin | |||
) | throw ( unsupported_interface ) |
Remove a route from an eventOut
of this node
to an eventIn
of another node
.
If no such route exists, this method has no effect.
[in,out] | from | source node . |
[in] | eventout | an eventOut of from . |
[in,out] | to | destination node . |
[in] | eventin | an eventIn of to . |
true
if a route was deleted; false
otherwise (if no such route existed).unsupported_interface | if from has no eventOut eventout or if to has no eventIn eventin . |
template<> openvrml::viewpoint_node * openvrml::node_cast< openvrml::viewpoint_node * > | ( | node * | n | ) | throw () [inline] |
Downcast a node
to one of the abstract node
types.
[in] | n | node. |
n
, or 0 if the node is not a viewpoint_node.
const char openvrml::vrml_media_type = "model/vrml" |
const char openvrml::x_vrml_media_type = "x-world/x-vrml" |
Experimental VRML MIME media type.
const char openvrml::x3d_vrml_media_type = "model/x3d+vrml" |