openvrml::geometry_node Class Reference
Abstract base class for geometry nodes.
More...
#include <openvrml/node.h>
List of all members.
Detailed Description
Abstract base class for geometry nodes.
Constructor & Destructor Documentation
openvrml::geometry_node::~geometry_node |
( |
|
) |
throw () [pure virtual] |
openvrml::geometry_node::geometry_node |
( |
const node_type & |
type, |
|
|
const boost::shared_ptr< openvrml::scope > & |
scope | |
|
) |
| | throw () [protected] |
Member Function Documentation
Insert geometry into a viewer.
- Parameters:
-
[in,out] | v | viewer. |
[in] | context | rendering context. |
bool openvrml::geometry_node::emissive |
( |
|
) |
const throw () |
Indicates whether the geometry should be drawn with the emissive color.
- Returns:
true
if the geometry should be drawn with the emissive color; false
otherwise (if the geometry should be drawn with the diffuse color).
Get the color node (if any) associated with this geometry.
- Returns:
- the
color_node
associated associated with this geometry, or 0 if there is no such node.
bool openvrml::geometry_node::do_emissive |
( |
|
) |
const throw () [private, virtual] |
const openvrml::color_node * openvrml::geometry_node::do_color |
( |
|
) |
const throw () [private, virtual] |
Get the color node (if any) associated with this geometry.
- Returns:
- the
color_node
associated associated with this geometry, or 0 if there is no such node.