Public Member Functions | Public Attributes
VirtualRangeSensor Class Reference

#include <VirtualRangeSensor.h>

Inheritance diagram for VirtualRangeSensor:
Inheritance graph
[legend]

List of all members.

Public Member Functions

virtual void init (std::string name, osg::Node *root, osg::Node *trackNode, double range, bool visible)
 VirtualRangeSensor (std::string name, osg::Node *root, osg::Node *trackNode, double range, bool visible)
 VirtualRangeSensor ()

Public Attributes

std::string name
osg::ref_ptr
< IntersectorUpdateCallback
node_tracker
double range
 Max distance of the beam.
osg::ref_ptr< osg::Node > root
osg::ref_ptr< osg::Node > trackNode
bool visible
 Whether to make the beam visible or not.

Detailed Description

Virtual range sensor that computes the distance to an obstacle along a given direction

Definition at line 108 of file VirtualRangeSensor.h.


Constructor & Destructor Documentation

VirtualRangeSensor::VirtualRangeSensor ( std::string  name,
osg::Node *  root,
osg::Node *  trackNode,
double  range,
bool  visible 
)

Definition at line 21 of file VirtualRangeSensor.cpp.

Definition at line 17 of file VirtualRangeSensor.cpp.


Member Function Documentation

void VirtualRangeSensor::init ( std::string  name,
osg::Node *  root,
osg::Node *  trackNode,
double  range,
bool  visible 
) [virtual]

Definition at line 27 of file VirtualRangeSensor.cpp.


Member Data Documentation

Definition at line 111 of file VirtualRangeSensor.h.

Definition at line 116 of file VirtualRangeSensor.h.

Max distance of the beam.

Definition at line 114 of file VirtualRangeSensor.h.

osg::ref_ptr<osg::Node> VirtualRangeSensor::root

Definition at line 113 of file VirtualRangeSensor.h.

osg::ref_ptr<osg::Node> VirtualRangeSensor::trackNode

Definition at line 112 of file VirtualRangeSensor.h.

Whether to make the beam visible or not.

Definition at line 115 of file VirtualRangeSensor.h.


The documentation for this class was generated from the following files:


uwsim
Author(s): Mario Prats
autogenerated on Mon Oct 6 2014 08:24:07