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

openvrml::vrml97_node::color_interpolator_node Class Reference

ColorInterpolator node instances. More...

Inheritance diagram for openvrml::vrml97_node::color_interpolator_node:

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

Collaboration graph
[legend]
List of all members.

Public Member Functions

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

virtual ~color_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 eventIn handler.


Private Attributes

mffloat key
 key exposedField.

mfcolor keyValue
 keyValue exposedField.

sfcolor value
 value_changed eventOut.


Friends

class color_interpolator_class
 Class object for ColorInterpolator nodes.


Detailed Description

ColorInterpolator node instances.


Constructor & Destructor Documentation

openvrml::vrml97_node::color_interpolator_node::color_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.

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

Destroy.


Member Function Documentation

void openvrml::vrml97_node::color_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.
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::color_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.
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::color_interpolator_node::process_set_keyValue const field_value value,
double  timestamp
throw (std::bad_cast, std::bad_alloc) [private]
 

set_keyValue eventIn handler.

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

Friends And Related Function Documentation

openvrml::vrml97_node::color_interpolator_node::color_interpolator_class [friend]
 

Class object for ColorInterpolator nodes.


Member Data Documentation

mffloat openvrml::vrml97_node::color_interpolator_node::key [private]
 

key exposedField.

mfcolor openvrml::vrml97_node::color_interpolator_node::keyValue [private]
 

keyValue exposedField.

sfcolor openvrml::vrml97_node::color_interpolator_node::value [private]
 

value_changed eventOut.