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

openvrml::vrml97_node::scalar_interpolator_node Class Reference

ScalarInterpolator node instances. More...

Inheritance diagram for openvrml::vrml97_node::scalar_interpolator_node:

Inheritance graph
[legend]
Collaboration diagram for openvrml::vrml97_node::scalar_interpolator_node:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 scalar_interpolator_node (const node_type &type, const scope_ptr &scope)
 Construct.

virtual ~scalar_interpolator_node () throw ()
 Destroy.


Private Member Functions

void process_set_fraction (const field_value &value, double timestamp) throw (std::bad_cast, std::bad_alloc)
 set_fraction eventIn handler.

void process_set_key (const field_value &value, double timestamp) throw (std::bad_cast, std::bad_alloc)
 set_key eventIn handler.

void process_set_keyValue (const field_value &value, double timestamp) throw (std::bad_cast, std::bad_alloc)
 set_keyValue field mutator.


Private Attributes

mffloat key
 key exposedField.

mffloat keyValue
 keyValue exposedField.

sffloat value
 value_changed eventOut.


Friends

class scalar_interpolator_class
 Class object for ScalarInterpolator instances.


Detailed Description

ScalarInterpolator node instances.


Constructor & Destructor Documentation

openvrml::vrml97_node::scalar_interpolator_node::scalar_interpolator_node const node_type type,
const scope_ptr scope
 

Construct.

Parameters:
type the node_type associated with the node instance.
scope the scope to which the node belongs.

Member Function Documentation

void openvrml::vrml97_node::scalar_interpolator_node::process_set_fraction const field_value value,
double  timestamp
throw (std::bad_cast, std::bad_alloc) [private]
 

set_fraction eventIn handler.

Parameters:
value an sffloat value.
timestamp the current time.
Exceptions:
std::bad_cast if value is not an sffloat.
std::bad_alloc if memory allocation fails.

void openvrml::vrml97_node::scalar_interpolator_node::process_set_key const field_value value,
double  timestamp
throw (std::bad_cast, std::bad_alloc) [private]
 

set_key eventIn handler.

Parameters:
value an mffloat value.
timestamp the current time.
Exceptions:
std::bad_cast if value is not an mffloat.
std::bad_alloc if memory allocation fails.

void openvrml::vrml97_node::scalar_interpolator_node::process_set_keyValue const field_value value,
double  timestamp
throw (std::bad_cast, std::bad_alloc) [private]
 

set_keyValue field mutator.

Parameters:
value an mffloat value.
timestamp the current time.
Exceptions:
std::bad_cast if value is not an mffloat.
std::bad_alloc if memory allocation fails.