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

int getTFTransform (tf::Pose &pose, std::string &parent)
virtual void init (std::string name, std::string parentName, osg::Node *root, osg::Node *trackNode, double range, bool visible, unsigned int mask)
 VirtualRangeSensor (std::string name, std::string parentName, osg::Node *root, osg::Node *trackNode, double range, bool visible, unsigned int mask)
 VirtualRangeSensor ()

Public Attributes

std::string name
osg::ref_ptr
< IntersectorUpdateCallback
node_tracker
std::string parentLinkName
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 110 of file VirtualRangeSensor.h.


Constructor & Destructor Documentation

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

Definition at line 22 of file VirtualRangeSensor.cpp.

Definition at line 18 of file VirtualRangeSensor.cpp.


Member Function Documentation

int VirtualRangeSensor::getTFTransform ( tf::Pose pose,
std::string &  parent 
)

Definition at line 53 of file VirtualRangeSensor.cpp.

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

Definition at line 28 of file VirtualRangeSensor.cpp.


Member Data Documentation

Definition at line 113 of file VirtualRangeSensor.h.

Definition at line 118 of file VirtualRangeSensor.h.

Definition at line 113 of file VirtualRangeSensor.h.

Max distance of the beam.

Definition at line 116 of file VirtualRangeSensor.h.

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

Definition at line 115 of file VirtualRangeSensor.h.

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

Definition at line 114 of file VirtualRangeSensor.h.

Whether to make the beam visible or not.

Definition at line 117 of file VirtualRangeSensor.h.


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


uwsim
Author(s): Mario Prats , Javier Perez
autogenerated on Fri Aug 28 2015 13:28:58