openvrml::navigation_info_node Class Reference

#include <openvrml/node.h>

Inheritance diagram for openvrml::navigation_info_node:

Inheritance graph
[legend]
List of all members.

Detailed Description

Abstract base class for normal nodes.


Public Member Functions

virtual ~navigation_info_node ()=0 throw ()
 Destroy.
virtual const std::vector<
float > & 
avatar_size () const=0 throw ()
 The avatar size.
virtual bool headlight () const=0 throw ()
 The headlight state.
virtual float speed () const=0 throw ()
 The speed.
virtual const std::vector<
std::string > & 
type () const=0 throw ()
 The navigation type.
virtual float visibility_limit () const=0 throw ()
 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.

Constructor & Destructor Documentation

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

Destroy.

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 > & navigation_info_node::avatar_size (  )  const throw () [pure virtual]

The avatar size.

Returns:
the avatar dimensions.

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

The headlight state.

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

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

The speed.

Returns:
the current speed of the user view.

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

The navigation type.

Returns:
the navigation type.

Reimplemented from openvrml::node.

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

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.