openvrml::vrml97_node::sound_node Class Reference

Inheritance diagram for openvrml::vrml97_node::sound_node:
[legend]

List of all members.


Detailed Description

Represents Sound node instances.

Public Member Functions

 sound_node (const node_type &type, const boost::shared_ptr< openvrml::scope > &scope)
 Construct.
virtual ~sound_node () throw ()
 Destroy.

Private Member Functions

virtual void do_render_child (openvrml::viewer &viewer, rendering_context context)
 Render the node.

Private Attributes

exposedfield< sfvec3fdirection_
 direction exposedField.
exposedfield< sffloatintensity_
 intensity exposedField.
exposedfield< sfvec3flocation_
 location exposedField.
exposedfield< sffloatmax_back_
 maxBack exposedField.
exposedfield< sffloatmax_front_
 maxFront exposedField.
exposedfield< sffloatmin_back_
 minBack exposedField.
exposedfield< sffloatmin_front_
 minFront exposedField.
exposedfield< sffloatpriority_
 priority exposedField.
exposedfield< sfnodesource_
 source exposedField.
sfbool spatialize_
 spatialize field.

Friends

class sound_class
 Class object for Sound instances.

Constructor & Destructor Documentation

openvrml::vrml97_node::sound_node::sound_node ( const node_type type,
const boost::shared_ptr< openvrml::scope > &  scope 
)

Construct.

Parameters:
type the node_type associated with the instance.
scope the scope associated with the instance.

openvrml::vrml97_node::sound_node::~sound_node (  )  throw () [virtual]

Destroy.


Member Function Documentation

void openvrml::vrml97_node::sound_node::do_render_child ( openvrml::viewer viewer,
rendering_context  context 
) [private, virtual]

Render the node.

Parameters:
viewer a Viewer.
context a rendering context.

Reimplemented from openvrml::child_node.


Friends And Related Function Documentation

openvrml::vrml97_node::sound_node::sound_class [friend]

Class object for Sound instances.


Member Data Documentation

direction exposedField.

intensity exposedField.

location exposedField.

maxBack exposedField.

maxFront exposedField.

minBack exposedField.

minFront exposedField.

priority exposedField.

source exposedField.

spatialize field.