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

openvrml::vrml97_node::normal_interpolator_node Class Reference

NormalInterpolator node instances. More...

Inheritance diagram for openvrml::vrml97_node::normal_interpolator_node:

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

Collaboration graph
[legend]
List of all members.

Public Member Functions

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

virtual ~normal_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.

mfvec3f keyValue
 keyValue exposedField.

mfvec3f value
 value_changed eventOut.


Friends

class normal_interpolator_class
 Class object for NormalInterpolator nodes.


Detailed Description

NormalInterpolator node instances.


Constructor & Destructor Documentation

openvrml::vrml97_node::normal_interpolator_node::normal_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::normal_interpolator_node::~normal_interpolator_node  )  throw () [virtual]
 

Destroy.


Member Function Documentation

void openvrml::vrml97_node::normal_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::normal_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::normal_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 mfvec3f value.
timestamp the current time.
Exceptions:
std::bad_cast if value is not an mfvec3f.
std::bad_alloc if memory allocation fails.

Friends And Related Function Documentation

openvrml::vrml97_node::normal_interpolator_node::normal_interpolator_class [friend]
 

Class object for NormalInterpolator nodes.


Member Data Documentation

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

key exposedField.

mfvec3f openvrml::vrml97_node::normal_interpolator_node::keyValue [private]
 

keyValue exposedField.

mfvec3f openvrml::vrml97_node::normal_interpolator_node::value [private]
 

value_changed eventOut.