Home | Download | Screen shots | Discussion | Documentation |
---|
Public Member Functions | |
sphere_node (const node_type &type, const boost::shared_ptr< openvrml::scope > &scope) | |
Construct. | |
virtual | ~sphere_node () throw () |
Destroy. | |
virtual const openvrml::bounding_volume & | bounding_volume () const |
Get the bounding volume. | |
Private Member Functions | |
virtual viewer::object_t | do_render_geometry (openvrml::viewer &viewer, rendering_context context) |
Insert this geometry into viewer's display list. | |
Private Attributes | |
sffloat | radius |
radius field. | |
bounding_sphere | bsphere |
Bounding volume. | |
Friends | |
class | sphere_class |
Class object for Sphere instances. |
|
Construct.
|
|
Destroy.
|
|
Get the bounding volume.
Reimplemented from openvrml::node. |
|
Insert this geometry into
Reimplemented from openvrml::geometry_node. |
|
Class object for Sphere instances.
|
|
radius field.
|
|
Bounding volume.
|