Main Page Modules Namespace List Class Hierarchy Compound List Namespace Members Compound Members Related Pages
openvrml::vrml97_node::elevation_grid_node Class Reference
ElevationGrid node instances.
More...
Inheritance diagram for openvrml::vrml97_node::elevation_grid_node:
[legend]Collaboration diagram for openvrml::vrml97_node::elevation_grid_node:
[legend]List of all members.
|
Public Member Functions |
| | elevation_grid_node (const node_type &type, const scope_ptr &scope) |
| | Construct.
|
| virtual | ~elevation_grid_node () throw () |
| | Destroy.
|
| virtual bool | modified () const |
| | Determine whether the node has been modified.
|
| 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_color (const field_value &value, double timestamp) throw (std::bad_cast, std::bad_alloc) |
| | set_color eventIn handler.
|
| void | process_set_height (const field_value &value, double timestamp) throw (std::bad_cast, std::bad_alloc) |
| | set_height eventIn handler.
|
| void | process_set_normal (const field_value &value, double timestamp) throw (std::bad_cast, std::bad_alloc) |
| | set_normal eventIn handler.
|
| void | process_set_texCoord (const field_value &value, double timestamp) throw (std::bad_cast, std::bad_alloc) |
| | set_texCoord eventIn handler.
|
Private Attributes |
| sfnode | color |
| | color exposedField.
|
| sfnode | normal |
| | normal exposedField.
|
| sfnode | texCoord |
| | texCoord exposedField.
|
| sfbool | ccw |
| | ccw field.
|
| sfbool | colorPerVertex |
| | colorPerVertex field.
|
| sffloat | creaseAngle |
| | creaseAngle field.
|
| mffloat | height |
| | height field.
|
| sfbool | normalPerVertex |
| | normalPerVertex field.
|
| sfbool | solid |
| | solid field.
|
| sfint32 | xDimension |
| | xDimension field.
|
| sffloat | xSpacing |
| | xSpacing field.
|
| sfint32 | zDimension |
| | zDimension field.
|
| sffloat | zSpacing |
| | zSpacing field.
|
Friends |
| class | elevation_grid_class |
| | Class object for ElevationGrid nodes.
|
Detailed Description
ElevationGrid node instances.
Constructor & Destructor Documentation
| openvrml::vrml97_node::elevation_grid_node::elevation_grid_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::elevation_grid_node::~elevation_grid_node |
( |
|
) |
throw () [virtual] |
|
Member Function Documentation
|
|
Insert this geometry into viewer's display list.
- Parameters:
-
| viewer | a Viewer. |
| context | the rendering context. |
Implements openvrml::geometry_node. |
| bool openvrml::vrml97_node::elevation_grid_node::modified |
( |
|
) |
const [virtual] |
|
|
|
Determine whether the node has been modified.
- Returns:
true if the node or one of its children has been modified, false otherwise.
Reimplemented from openvrml::node. |
| void openvrml::vrml97_node::elevation_grid_node::process_set_color |
( |
const field_value & |
value, |
|
|
double |
timestamp |
|
) |
throw (std::bad_cast, std::bad_alloc) [private] |
|
|
|
set_color eventIn handler.
- Parameters:
-
| value | an sfnode value. |
| timestamp | the current time. |
- Exceptions:
-
| std::bad_cast | if value is not an sfnode. |
| std::bad_alloc | if memory allocation fails. |
|
| void openvrml::vrml97_node::elevation_grid_node::process_set_height |
( |
const field_value & |
value, |
|
|
double |
timestamp |
|
) |
throw (std::bad_cast, std::bad_alloc) [private] |
|
|
|
set_height 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::elevation_grid_node::process_set_normal |
( |
const field_value & |
value, |
|
|
double |
timestamp |
|
) |
throw (std::bad_cast, std::bad_alloc) [private] |
|
|
|
set_normal eventIn handler.
- Parameters:
-
| value | an sfnode value. |
| timestamp | the current time. |
- Exceptions:
-
| std::bad_cast | if value is not an sfnode. |
| std::bad_alloc | if memory allocation fails. |
|
| void openvrml::vrml97_node::elevation_grid_node::process_set_texCoord |
( |
const field_value & |
value, |
|
|
double |
timestamp |
|
) |
throw (std::bad_cast, std::bad_alloc) [private] |
|
|
|
set_texCoord eventIn handler.
- Parameters:
-
| value | an sfnode value. |
| timestamp | the current time. |
- Exceptions:
-
| std::bad_cast | if value is not an sfnode. |
| std::bad_alloc | if memory allocation fails. |
|
Friends And Related Function Documentation
openvrml::vrml97_node::elevation_grid_node::elevation_grid_class [friend]
|
|
|
|
Class object for ElevationGrid nodes.
|
Member Data Documentation
sfbool openvrml::vrml97_node::elevation_grid_node::ccw [private]
|
|
sfnode openvrml::vrml97_node::elevation_grid_node::color [private]
|
|
sfbool openvrml::vrml97_node::elevation_grid_node::colorPerVertex [private]
|
|
sffloat openvrml::vrml97_node::elevation_grid_node::creaseAngle [private]
|
|
mffloat openvrml::vrml97_node::elevation_grid_node::height [private]
|
|
sfnode openvrml::vrml97_node::elevation_grid_node::normal [private]
|
|
sfbool openvrml::vrml97_node::elevation_grid_node::normalPerVertex [private]
|
|
sfbool openvrml::vrml97_node::elevation_grid_node::solid [private]
|
|
sfnode openvrml::vrml97_node::elevation_grid_node::texCoord [private]
|
|
sfint32 openvrml::vrml97_node::elevation_grid_node::xDimension [private]
|
|
sffloat openvrml::vrml97_node::elevation_grid_node::xSpacing [private]
|
|
sfint32 openvrml::vrml97_node::elevation_grid_node::zDimension [private]
|
|
sffloat openvrml::vrml97_node::elevation_grid_node::zSpacing [private]
|
|