Main Page | Modules | Namespace List | Class Hierarchy | Class List | Namespace Members | Class Members | Related Pages

openvrml Namespace Reference

The OpenVRML Runtime Library. More...


Classes

class  appearance_node
 Abstract base class for appearance nodes. More...

class  axis_aligned_bounding_box
 An axis-aligned bounding box. More...

class  bad_url
 Thrown when there is a problem resolving a URI. More...

class  bounding_sphere
 A bounding sphere. More...

class  bounding_volume
 A bounding volume. More...

class  browser
 Encapsulates a VRML browser. More...

struct  browser::event
 An event. More...

class  child_node
 Abstract base class for child nodes. More...

class  color
 A color. More...

class  color_node
 Abstract base class for color nodes. More...

class  coordinate_node
 Abstract base class for coordinate nodes. More...

class  doc
 A class to contain document references. More...

class  doc2
 A class to contain document references. More...

class  field_value
 Abstract base class for the VRML field types. More...

class  field_value_ptr
 A reference-counting smart pointer for field_values. More...

class  field_value_type_mismatch
 Thrown when field value types do not match, generally in a ROUTE or IS. More...

class  font_style_node
 Abstract base class for font style nodes. More...

class  frustum
 A view frustum. More...

class  geometry_node
 Abstract base class for geometry nodes. More...

class  grouping_node
 Abstract base class for grouping nodes. More...

class  img
 Image data. More...

class  invalid_url
 Thrown when parsing a URI fails. More...

class  invalid_vrml
 Exception thrown when the parser fails due to errors in the VRML input. More...

class  mat4f
 A class for all matrix operations. More...

class  material_node
 Abstract base class for material nodes. More...

class  mfcolor
 A color array node field value. More...

class  mffloat
 A float 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  mfvec3f
 A 3-component vector array node field value. More...

class  node
 A node in the scene graph. More...

struct  node::polled_eventout_value
 Simple struct for use in implementing nodes that are polled for pending events. More...

class  node::route
 A route from one node to another through which events propagate. More...

class  node_class
 A class object for node instances. More...

class  node_class_ptr
 node_class_ptr is a reference-counting smart pointer for node_classes. More...

class  node_interface
 Type information for an interface of a node. More...

class  node_interface_set
 A group of unique node_interfaces. More...

struct  node_interface_set::id_less
 A functor for ordering node_interfaces in the set. More...

class  node_ptr
 A reference-counted smart pointer for nodes. More...

class  node_traverser
 Traverse the children of each node in a node hierarchy only once. More...

class  node_type
 Type information object for nodes. More...

class  node_type_ptr
 node_type_ptr is a reference-counting smart pointer for node_types. More...

class  normal_node
 Abstract base class for normal nodes. More...

class  quatf
 A quaternion. More...

class  rendering_context
 Information needed during a render traversal. More...

class  rotation
 A rotation. More...

class  scene
 A scene in the VRML world. More...

class  scope
 The scope class keeps track of defined nodes and prototypes. More...

class  scope_ptr
 scope_ptr is a reference-counting smart pointer for scopes. More...

class  script
 Abstract class implemented by scripting language bindings. More...

class  script_node
 Represents a VRML Script node. More...

class  script_node::script_node_type
 Type objects for script_nodes. More...

class  script_node_class
 Class object for script_nodes. More...

class  sfbool
 A boolean node field value. More...

class  sfcolor
 A color node field value. More...

class  sffloat
 A single precision floating point node field value. More...

class  sfimage
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  sfvec3f
 A 3-component vector node field value. More...

class  sound_source_node
 Abstract base class for sound source nodes. More...

class  texture_coordinate_node
 Abstract base class for texture coordinate nodes. More...

class  texture_node
 Abstract base class for texture nodes. More...

class  texture_transform_node
 Abstract base class for texture transform nodes. More...

class  transform_node
 Abstract base class for texture transform nodes. More...

class  unreachable_url
 Thrown when a URI cannot be reached. More...

class  unsupported_interface
 Exception to indicate that a node interface is not supported. More...

class  vec2f
 Two-component single precision vector. More...

class  vec3f
 Three-component single precision vector. More...

class  viewer
 Map the scene graph to the underlying graphics library. More...

class  viewpoint_node
 Abstract base class for texture transform nodes. More...


Typedefs

typedef int32_t int32
 32-bit signed integer.

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 ()
bool operator!= (const color &lhs, const color &rhs) throw ()
std::ostream & operator<< (std::ostream &out, const color &c)
const vec2f operator * (const vec2f &lhs, const float rhs) throw ()
const vec2f operator/ (const vec2f &lhs, const float rhs) throw ()
const vec2f operator+ (const vec2f &lhs, const vec2f &rhs) throw ()
const vec2f operator- (const vec2f &lhs, const vec2f &rhs) throw ()
bool operator== (const vec2f &lhs, const vec2f &rhs) throw ()
bool operator!= (const vec2f &lhs, const vec2f &rhs) throw ()
std::ostream & operator<< (std::ostream &out, const vec2f &v)
const vec3f operator * (const vec3f &lhs, const vec3f &rhs) throw ()
const vec3f operator * (const vec3f &lhs, const float rhs) throw ()
const vec3f operator * (const vec3f &vec, const mat4f &mat) throw ()
const vec3f operator * (const mat4f &mat, const vec3f &vec) throw ()
const vec3f operator/ (const vec3f &lhs, const float rhs) throw ()
const vec3f operator+ (const vec3f &lhs, const vec3f &rhs) throw ()
const vec3f operator- (const vec3f &lhs, const vec3f &rhs) throw ()
bool operator== (const vec3f &lhs, const vec3f &rhs) throw ()
bool operator!= (const vec3f &lhs, const vec3f &rhs) throw ()
std::ostream & operator<< (std::ostream &out, const vec3f &v)
const rotation operator * (const rotation &lhs, const rotation &rhs) throw ()
bool operator== (const rotation &lhs, const rotation &rhs) throw ()
bool operator!= (const rotation &lhs, const rotation &rhs) throw ()
std::ostream & operator<< (std::ostream &out, const rotation &r)
bool operator== (const mat4f &lhs, const mat4f &rhs) throw ()
bool operator!= (const mat4f &lhs, const mat4f &rhs) throw ()
 float (&mat4f::operator[](size_t index) throw())[4]
 To make it usual matrix (non-const).

const  float (&mat4f::operator[](size_t index) const throw())[4]
 To make it usual matrix (const).

const mat4f operator * (const mat4f &lhs, const mat4f &rhs) throw ()
const mat4f operator * (const mat4f &mat, const float scalar) throw ()
const mat4f operator * (const float scalar, const mat4f &mat) throw ()
std::ostream & operator<< (std::ostream &out, const mat4f &mat)
bool operator== (const quatf &lhs, const quatf &rhs) throw ()
bool operator!= (const quatf &lhs, const quatf &rhs) throw ()
const quatf operator * (const quatf &lhs, const quatf &rhs) throw ()
const quatf operator * (const quatf &quat, const float scalar) throw ()
const quatf operator * (const float scalar, const quatf &quat) throw ()
const quatf operator/ (const quatf &quat, const float scalar) throw ()
const quatf operator+ (const quatf &lhs, const quatf &rhs) throw ()
const quatf operator- (const quatf &lhs, const quatf &rhs) throw ()
std::ostream & operator<< (std::ostream &out, const quatf &quat)
std::ostream & operator<< (std::ostream &out, const field_value &value)
 Stream output.

std::ostream & operator<< (std::ostream &out, field_value::type_id type_id)
std::istream & operator>> (std::istream &out, field_value::type_id &type_id)
bool operator== (const sfbool &lhs, const sfbool &rhs) throw ()
bool operator!= (const sfbool &lhs, const sfbool &rhs) throw ()
bool operator== (const sfcolor &lhs, const sfcolor &rhs) throw ()
bool operator!= (const sfcolor &lhs, const sfcolor &rhs) throw ()
bool operator== (const sffloat &lhs, const sffloat &rhs) throw ()
bool operator!= (const sffloat &lhs, const sffloat &rhs) throw ()
bool operator== (const sfint32 &lhs, const sfint32 &rhs) throw ()
bool operator!= (const sfint32 &lhs, const sfint32 &rhs) throw ()
bool operator== (const sfnode &lhs, const sfnode &rhs) throw ()
bool operator!= (const sfnode &lhs, const sfnode &rhs) throw ()
bool operator== (const sfrotation &lhs, const sfrotation &rhs) throw ()
bool operator!= (const sfrotation &lhs, const sfrotation &rhs) throw ()
bool operator== (const sfstring &lhs, const sfstring &rhs) throw ()
bool operator!= (const sfstring &lhs, const sfstring &rhs) throw ()
bool operator== (const sftime &lhs, const sftime &rhs) throw ()
bool operator!= (const sftime &lhs, const sftime &rhs) throw ()
bool operator== (const sfvec2f &lhs, const sfvec2f &rhs) throw ()
bool operator!= (const sfvec2f &lhs, const sfvec2f &rhs) throw ()
bool operator== (const sfvec3f &lhs, const sfvec3f &rhs) throw ()
bool operator!= (const sfvec3f &lhs, const sfvec3f &rhs) throw ()
bool operator== (const mfcolor &lhs, const mfcolor &rhs) throw ()
bool operator!= (const mfcolor &lhs, const mfcolor &rhs) throw ()
bool operator== (const mffloat &lhs, const mffloat &rhs) throw ()
bool operator!= (const mffloat &lhs, const mffloat &rhs) throw ()
bool operator== (const mfint32 &lhs, const mfint32 &rhs) throw ()
bool operator!= (const mfint32 &lhs, const mfint32 &rhs) throw ()
bool operator== (const mfnode &lhs, const mfnode &rhs) throw ()
bool operator!= (const mfnode &lhs, const mfnode &rhs) throw ()
bool operator== (const mfrotation &lhs, const mfrotation &rhs) throw ()
bool operator!= (const mfrotation &lhs, const mfrotation &rhs) throw ()
bool operator== (const mfstring &lhs, const mfstring &rhs) throw ()
bool operator!= (const mfstring &lhs, const mfstring &rhs) throw ()
bool operator== (const mftime &lhs, const mftime &rhs) throw ()
bool operator!= (const mftime &lhs, const mftime &rhs) throw ()
bool operator== (const mfvec2f &lhs, const mfvec2f &rhs) throw ()
bool operator!= (const mfvec2f &lhs, const mfvec2f &rhs) throw ()
bool operator== (const mfvec3f &lhs, const mfvec3f &rhs) throw ()
bool operator!= (const mfvec3f &lhs, const mfvec3f &rhs) throw ()
bool operator== (const field_value_ptr &lhs, const field_value_ptr &rhs) throw ()
 Compare for equality.

bool operator!= (const field_value_ptr &lhs, const field_value_ptr &rhs) throw ()
std::ostream & operator<< (std::ostream &out, const node &n)
 Stream output.

std::ostream & operator<< (std::ostream &out, node_interface::type_id type)
std::istream & operator>> (std::istream &in, node_interface::type_id &type)
bool operator== (const node_interface &lhs, const node_interface &rhs) throw ()
bool operator!= (const node_interface &lhs, const node_interface &rhs) throw ()
bool operator== (const node::route &lhs, const node::route &rhs) throw ()
bool operator!= (const node::route &lhs, const node::route &rhs) throw ()
bool operator== (const node_class_ptr &lhs, const node_class_ptr &rhs) throw ()
bool operator!= (const node_class_ptr &lhs, const node_class_ptr &rhs) throw ()
bool operator== (const node_ptr &lhs, const node_ptr &rhs) throw ()
bool operator!= (const node_ptr &lhs, const node_ptr &rhs) throw ()
bool operator== (const node_type_ptr &lhs, const node_type_ptr &rhs) throw ()
 Compare for equality.

bool operator!= (const node_type_ptr &lhs, const node_type_ptr &rhs) throw ()
bool operator== (const scope_ptr &lhs, const scope_ptr &rhs) throw ()
 Compare for equality.

bool operator!= (const scope_ptr &lhs, const scope_ptr &rhs) throw ()

Variables

const double pi = 3.14159265358979323846
 pi

const double pi_2 = 1.57079632679489661923
 pi/2

const double pi_4 = 0.78539816339744830962
 pi/4

const double inv_pi = 0.31830988618379067154
 1/pi

system * the_system = &defaultSystem
 The global system object.


Detailed Description

The OpenVRML Runtime Library.

Function Documentation

std::ostream & openvrml::operator<< std::ostream &  out,
const node &  n
 

Stream output.

Parameters:
out output stream.
n a node.
Returns:
out.

std::ostream & openvrml::operator<< std::ostream &  out,
const field_value &  value
 

Stream output.

Parameters:
out an output stream.
value a field value.
Returns:
out.

bool openvrml::operator== const scope_ptr &  lhs,
const scope_ptr &  rhs
throw () [inline]
 

Compare for equality.

Parameters:
lhs left-hand operand.
rhs right-hand operand.
Returns:
true if lhs and rhs point to the same scope; false otherwise.

bool openvrml::operator== const node_type_ptr &  lhs,
const node_type_ptr &  rhs
throw () [inline]
 

Compare for equality.

Parameters:
lhs left-hand operand.
rhs right-hand operand.
Returns:
true if lhs and rhs point to the same node_type; false otherwise.

bool openvrml::operator== const field_value_ptr &  lhs,
const field_value_ptr &  rhs
throw () [inline]
 

Compare for equality.

Parameters:
lhs left-hand operand.
rhs right-hand operand.
Returns:
true if lhs and rhs point to the same field_value; false otherwise.