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

Extrusion Class Reference

Extrusion node instances. More...

Inheritance diagram for Extrusion:

AbstractGeometry AbstractBase GeometryNode Node Node List of all members.

Public Methods

 Extrusion (const NodeType &nodeType, const ScopePtr &scope)
 Constructor.

virtual ~Extrusion () throw ()
 Destructor.

virtual Viewer::Object insertGeometry (Viewer &viewer, VrmlRenderContext context)
 Insert this geometry into viewer's display list.


Private Methods

void processSet_crossSection (const FieldValue &mfvec2f, double timestamp) throw (std::bad_cast, std::bad_alloc)
 set_crossSection eventIn handler.

void processSet_orientation (const FieldValue &mfrotation, double timestamp) throw (std::bad_cast, std::bad_alloc)
 set_orientation field mutator.

void processSet_scale (const FieldValue &mfvec2f, double timestamp) throw (std::bad_cast, std::bad_alloc)
 set_scale eventIn handler.

void processSet_spine (const FieldValue &mfvec3f, double timestamp) throw (std::bad_cast, std::bad_alloc)
 set_spine eventIn handler.


Private Attributes

SFBool beginCap
SFBool ccw
SFBool convex
SFFloat creaseAngle
MFVec2f crossSection
SFBool endCap
MFRotation orientation
MFVec2f scale
SFBool solid
MFVec3f spine

Friends

class ExtrusionClass

Detailed Description

Extrusion node instances.


Constructor & Destructor Documentation

Extrusion const NodeType   nodeType,
const ScopePtr   scope
 

Constructor.

Parameters:
nodeType the NodeType associated with the node instance.
scope the Scope to which the node belongs.

~Extrusion   throw () [virtual]
 

Destructor.


Member Function Documentation

Viewer::Object insertGeometry Viewer   viewer,
VrmlRenderContext    context
[virtual]
 

Insert this geometry into viewer's display list.

Parameters:
viewer a Viewer.
context the rendering context.

Implements GeometryNode.

void processSet_crossSection const FieldValue   mfvec2f,
double    timestamp
throw (std::bad_cast, std::bad_alloc) [private]
 

set_crossSection eventIn handler.

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

void processSet_orientation const FieldValue   mfrotation,
double    timestamp
throw (std::bad_cast, std::bad_alloc) [private]
 

set_orientation field mutator.

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

void processSet_scale const FieldValue   mfvec2f,
double    timestamp
throw (std::bad_cast, std::bad_alloc) [private]
 

set_scale eventIn handler.

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

void processSet_spine const FieldValue   mfvec3f,
double    timestamp
throw (std::bad_cast, std::bad_alloc) [private]
 

set_spine eventIn handler.

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