Home | Download | Screen shots | Discussion | Documentation |
---|
Public Member Functions | |
directional_light_node (const node_type &type, const boost::shared_ptr< openvrml::scope > &scope) | |
Construct. | |
virtual | ~directional_light_node () throw () |
Destroy. | |
Private Member Functions | |
virtual void | do_render_child (openvrml::viewer &viewer, rendering_context context) |
Render the node. | |
Private Attributes | |
exposedfield< sfvec3f > | direction_ |
direction exposedField. | |
Friends | |
class | directional_light_class |
Class object for DirectionalLight nodes. |
openvrml::vrml97_node::directional_light_node::directional_light_node | ( | const node_type & | type, | |
const boost::shared_ptr< openvrml::scope > & | scope | |||
) |
openvrml::vrml97_node::directional_light_node::~directional_light_node | ( | ) | throw () [virtual] |
Destroy.
void openvrml::vrml97_node::directional_light_node::do_render_child | ( | openvrml::viewer & | viewer, | |
rendering_context | context | |||
) | [private, virtual] |
Render the node.
This should be called before rendering any sibling nodes.
Reimplemented from openvrml::child_node.
openvrml::vrml97_node::directional_light_node::directional_light_class [friend] |
Class object for DirectionalLight nodes.
direction exposedField.