openvrml::navigation_info_node Class Reference

Abstract base class for normal nodes. More...

#include <openvrml/node.h>

Inheritance diagram for openvrml::navigation_info_node:

List of all members.


Public Member Functions

virtual ~navigation_info_node ()=0 throw ()
 Destroy.
virtual const std::vector
< float > & 
avatar_size () const =0 throw ()
 Get the avatar dimensions.
virtual bool headlight () const =0 throw ()
 Get the state of the headlight.
virtual float speed () const =0 throw ()
 Get the current speed of the user view.
virtual const std::vector
< std::string > & 
type () const =0 throw ()
 Get the navigation type.
virtual float visibility_limit () const =0 throw ()
 Get the visibility limit.

Protected Member Functions

 navigation_info_node (const node_type &type, const boost::shared_ptr< openvrml::scope > &scope) throw ()
 Construct.

Private Member Functions

virtual navigation_info_nodeto_navigation_info () throw ()
 Cast to a navigation_info_node.

Detailed Description

Abstract base class for normal nodes.

Constructor & Destructor Documentation

openvrml::navigation_info_node::~navigation_info_node (  )  throw () [pure virtual]

Destroy.

openvrml::navigation_info_node::navigation_info_node ( const node_type t,
const boost::shared_ptr< openvrml::scope > &  scope 
) throw () [protected]

Construct.

Parameters:
[in] t the node_type associated with the node.
[in] scope the scope the node belongs to.


Member Function Documentation

const std::vector< float > & openvrml::navigation_info_node::avatar_size (  )  const throw () [pure virtual]

Get the avatar dimensions.

Returns:
the avatar dimensions.

bool openvrml::navigation_info_node::headlight (  )  const throw () [pure virtual]

Get the state of the headlight.

Returns:
true if the headlight is on; false otherwise.

float openvrml::navigation_info_node::speed (  )  const throw () [pure virtual]

Get the current speed of the user view.

Returns:
the current speed of the user view.

const std::vector< std::string > & openvrml::navigation_info_node::type (  )  const throw () [pure virtual]

Get the navigation type.

Returns:
the navigation type.

Reimplemented from openvrml::node.

float openvrml::navigation_info_node::visibility_limit (  )  const throw () [pure virtual]

Get the visibility limit.

Returns:
the visibility limit.

openvrml::navigation_info_node * openvrml::navigation_info_node::to_navigation_info (  )  throw () [private, virtual]

Cast to a navigation_info_node.

Returns:
a pointer to this navigation_info_node.

Reimplemented from openvrml::node.