TinyURDF 1.0.0
A Modern C++ Library for Parsing and Visualizing URDF Model Files
Loading...
Searching...
No Matches
Ray Class Reference

Class representing a ray in the system. This class stores information related to distances, intensities, and angles for rays used in the system. More...

#include <ray.h>

Public Member Functions

 Ray ()
 
 ~Ray ()
 
void setDistances (const std::vector< double > &d)
 
void getDistances (std::vector< double > &d) const
 
void setIntensities (const std::vector< double > &i)
 
void getIntensities (std::vector< double > &i) const
 
void setHorizontalMinAngle (double a)
 
void getHorizontalMinAngle (double &a) const
 
void setHorizontalMaxAngle (double a)
 
void getHorizontalMaxAngle (double &a) const
 
void setVerticalMinAngle (double a)
 
void getVerticalMinAngle (double &a) const
 
void setVerticalMaxAngle (double a)
 
void getVerticalMaxAngle (double &a) const
 
void setHorizontalSamples (int s)
 
void getHorizontalSamples (int &s) const
 
void setVerticalSamples (int s)
 
void getVerticalSamples (int &s) const
 
void setResolution (double r)
 
void getResolution (double &r) const
 
void update ()
 
void reset ()
 
void getDistances (std::vector< double > &d, std::vector< double > &i) const
 
void getTypename (const char *t) const
 

Detailed Description

Class representing a ray in the system. This class stores information related to distances, intensities, and angles for rays used in the system.

Constructor & Destructor Documentation

◆ Ray()

Ray::Ray ( )

◆ ~Ray()

Ray::~Ray ( )

Member Function Documentation

◆ getDistances() [1/2]

void Ray::getDistances ( std::vector< double > &  d) const

◆ getDistances() [2/2]

void Ray::getDistances ( std::vector< double > &  d,
std::vector< double > &  i 
) const

◆ getHorizontalMaxAngle()

void Ray::getHorizontalMaxAngle ( double &  a) const

◆ getHorizontalMinAngle()

void Ray::getHorizontalMinAngle ( double &  a) const

◆ getHorizontalSamples()

void Ray::getHorizontalSamples ( int &  s) const

◆ getIntensities()

void Ray::getIntensities ( std::vector< double > &  i) const

◆ getResolution()

void Ray::getResolution ( double &  r) const

◆ getTypename()

void Ray::getTypename ( const char *  t) const

◆ getVerticalMaxAngle()

void Ray::getVerticalMaxAngle ( double &  a) const

◆ getVerticalMinAngle()

void Ray::getVerticalMinAngle ( double &  a) const

◆ getVerticalSamples()

void Ray::getVerticalSamples ( int &  s) const

◆ reset()

void Ray::reset ( )

◆ setDistances()

void Ray::setDistances ( const std::vector< double > &  d)

◆ setHorizontalMaxAngle()

void Ray::setHorizontalMaxAngle ( double  a)

◆ setHorizontalMinAngle()

void Ray::setHorizontalMinAngle ( double  a)

◆ setHorizontalSamples()

void Ray::setHorizontalSamples ( int  s)

◆ setIntensities()

void Ray::setIntensities ( const std::vector< double > &  i)

◆ setResolution()

void Ray::setResolution ( double  r)

◆ setVerticalMaxAngle()

void Ray::setVerticalMaxAngle ( double  a)

◆ setVerticalMinAngle()

void Ray::setVerticalMinAngle ( double  a)

◆ setVerticalSamples()

void Ray::setVerticalSamples ( int  s)

◆ update()

void Ray::update ( )

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