Main Page   Namespace List   Class Hierarchy   Compound List   Namespace Members   Compound Members   Related Pages  

OpenVRML Namespace Reference

The OpenVRML Runtime Library. More...


Compounds

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

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

class  Audio
 Play audio clips. More...

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

class  Browser
 Encapsulates a VRML browser. More...

class  BSphere
 A bounding sphere. More...

class  BVolume
 A bounding volume. More...

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

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

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

struct  Event
 An event. More...

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

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

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

class  FieldValuePtr
 FieldValuePtr is a reference-counting smart pointer for FieldValues. More...

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

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

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

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

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

class  NodeClass
 A class object for Node instances. More...

class  NodeClassPtr
 NodeClassPtr is a reference-counting smart pointer for NodeClasss. More...

class  Image
class  InvalidURI
 Thrown when parsing a URI fails. More...

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

class  MFColor
 Encapsulates a MFColor. More...

class  MFFloat
 Encapsulates a MFFloat. More...

class  MFInt32
 Encapsulates a MFInt32. More...

class  MFNode
 Encapsulates a MFNode. More...

class  MFRotation
 Encapsulates an MFRotation. More...

class  MFString
 Encapsulates a MFString. More...

class  MFTime
 Encapsulates a MFTime. More...

class  MFVec2f
 Encapsulates an MFVec2f. More...

class  MFVec3f
 Encapsulates an MFVec3f. More...

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

class  NodeInterfaceSet
 A group of unique NodeInterfaces. More...

class  NodePtr
 A reference-counted smart pointer for Nodes. More...

class  NodeType
 Type information object for Nodes. More...

struct  PolledEventOutValue
 Simple struct for use in implementing nodes that are polled for pending events. More...

class  NodeTypePtr
 NodeTypePtr is a reference-counting smart pointer for NodeTypes. More...

class  NodeVisitor
 An interface to be implemented by visitors for nodes in a scene graph. More...

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

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

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

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

class  ScopePtr
 ScopePtr is a reference-counting smart pointer for Scopes. More...

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

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

class  ScriptNodeClass
 Class object for ScriptNodes. More...

class  ScriptNodeType
 Type objects for ScriptNodes. More...

class  SFBool
 Encapsulates an SFBool value. More...

class  SFColor
 Encapsulates an SFColor value. More...

class  SFFloat
 Encapsulates an SFFloat value. More...

class  SFImage
class  SFInt32
 Encapsulates an SFInt32 value. More...

class  SFNode
 Encapsulates an SFNode. More...

class  SFRotation
 Encapsulates an SFRotation. More...

class  SFString
 Encapsulates an SFString. More...

class  SFTime
 Encapsulates an SFTime value. More...

class  SFVec2f
 Encapsulates a SFVec2f value. More...

class  SFVec3f
 Encapsulates a SFVec3f value. More...

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

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

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

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

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

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

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

class  VrmlFrustum
 A view frustum. More...

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

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


Typedefs

typedef unsigned char byte
typedef unsigned short two_bytes
typedef unsigned int four_bytes
typedef array_vector< float, 3 > ColorVec
typedef array_vector< float, 4 > RotationVec
typedef array_vector< float, 2 > Vec2fVec
typedef array_vector< float, 3 > Vec3fVec
typedef std::map< std::string,
Node * > 
NamedNodeMap
typedef std::list< NodeTypePtrNodeTypeList

Enumerations

enum  AudioFileType {
  AudioFile_UNKNOWN,
  AudioFile_WAV
}
enum  AudioEncoding {
  AUDIO_LINEAR,
  AUDIO_ULAW
}

Functions

std::ostream & operator<< (std::ostream &out, const FieldValue &fieldValue)
 Stream output.

std::ostream & operator<< (std::ostream &out, FieldValue::Type type)
std::istream & operator>> (std::istream &out, FieldValue::Type &type)
void Vdiff (float V[3], const float A[3], const float B[3])
void Vcross (float V[3], const float A[3], const float B[3])
void axis_aligned_bbox (float M[4][4], float *min, float *max)
void Vset (float V[3], const float A[3])
void Vscale (float V[3], const float s)
float Vdot (const float A[3], const float B[3])
std::ostream & operator<< (std::ostream &out, const Node &node)
 Stream output.

std::ostream &OPENVRML_SCOPE operator<< (std::ostream &out, NodeInterface::Type type)
std::istream &OPENVRML_SCOPE operator>> (std::istream &in, NodeInterface::Type &type)
bool operator== (const NodeInterface &lhs, const NodeInterface &rhs) throw ()
bool operator!= (const NodeInterface &lhs, const NodeInterface &rhs) throw ()
bool operator== (const Node::Route &lhs, const Node::Route &rhs) throw ()
bool operator!= (const Node::Route &lhs, const Node::Route &rhs) throw ()
std::ostream &OPENVRML_SCOPE operator<< (std::ostream &out, const VrmlMatrix &mat)
bool OPENVRML_SCOPE operator== (const VrmlMatrix &lhs, const VrmlMatrix &rhs) throw ()
bool OPENVRML_SCOPE operator!= (const VrmlMatrix &lhs, const VrmlMatrix &rhs) throw ()
 float (&VrmlMatrix::operator[](size_t index) throw())[4]
 To make it usual matrix (non-const).

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

const float (&VrmlMatrix::get() const throw())[4][4]

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

OPENVRML_SCOPE System * theSystem = &defaultSystem

Detailed Description

The OpenVRML Runtime Library.


Function Documentation

float &VrmlMatrix::    operator(size_t index) const throw()[] [inline]
 

To make it usual matrix (const).

float &VrmlMatrix::    operator(size_t index) throw()[] [inline]
 

To make it usual matrix (non-const).

std::ostream &OPENVRML_SCOPE operator<< std::ostream &    out,
const Node   node
 

Stream output.

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

std::ostream & operator<< std::ostream &    out,
const FieldValue   fieldValue
 

Stream output.

Parameters:
out an output stream.
fieldValue a FieldValue.
Returns:
out.

Variable Documentation

const double inv_pi = 0.31830988618379067154
 

1/pi

const double pi = 3.14159265358979323846
 

pi

const double pi_2 = 1.57079632679489661923
 

pi/2

const double pi_4 = 0.78539816339744830962
 

pi/4