openvrml::vrml97_node::extrusion_node Class Reference
Extrusion node instances.
More...
Inheritance diagram for openvrml::vrml97_node::extrusion_node:
[legend]Collaboration diagram for openvrml::vrml97_node::extrusion_node:
[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. |
|
Member Function Documentation
|
|
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. |
|