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

openvrml::vrml97_node::extrusion_node Class Reference

Extrusion node instances. More...

Inheritance diagram for openvrml::vrml97_node::extrusion_node:

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

Collaboration graph
[legend]
List of all members.

Public Member Functions

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

virtual ~extrusion_node () throw ()
 Destroy.

virtual viewer::object_t insert_geometry (openvrml::viewer &viewer, rendering_context context)
 Insert this geometry into viewer's display list.


Private Member Functions

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

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

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

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


Private Attributes

sfbool beginCap
 beginCap field.

sfbool ccw
 ccw field.

sfbool convex
 convex field.

sffloat creaseAngle
 creaseAngle field.

mfvec2f crossSection
 crossSection field.

sfbool endCap
 endCap field.

mfrotation orientation
 orientation field.

mfvec2f scale
 scale field.

sfbool solid
 solid field.

mfvec3f spine
 spine field.


Friends

class extrusion_class
 Class object for Extrusion nodes.


Detailed Description

Extrusion node instances.


Constructor & Destructor Documentation

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

Destroy.


Member Function Documentation

viewer::object_t openvrml::vrml97_node::extrusion_node::insert_geometry openvrml::viewer viewer,
rendering_context  context
[virtual]
 

Insert this geometry into viewer's display list.

Parameters:
viewer a Viewer.
context the rendering context.

Implements openvrml::geometry_node.

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

set_crossSection eventIn handler.

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

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

set_orientation field mutator.

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

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

set_scale eventIn handler.

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

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

set_spine 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::extrusion_node::extrusion_class [friend]
 

Class object for Extrusion nodes.


Member Data Documentation

sfbool openvrml::vrml97_node::extrusion_node::beginCap [private]
 

beginCap field.

sfbool openvrml::vrml97_node::extrusion_node::ccw [private]
 

ccw field.

sfbool openvrml::vrml97_node::extrusion_node::convex [private]
 

convex field.

sffloat openvrml::vrml97_node::extrusion_node::creaseAngle [private]
 

creaseAngle field.

mfvec2f openvrml::vrml97_node::extrusion_node::crossSection [private]
 

crossSection field.

sfbool openvrml::vrml97_node::extrusion_node::endCap [private]
 

endCap field.

mfrotation openvrml::vrml97_node::extrusion_node::orientation [private]
 

orientation field.

mfvec2f openvrml::vrml97_node::extrusion_node::scale [private]
 

scale field.

sfbool openvrml::vrml97_node::extrusion_node::solid [private]
 

solid field.

mfvec3f openvrml::vrml97_node::extrusion_node::spine [private]
 

spine field.