Stg::RaytraceResult Class Reference

#include <stage.hh>

Public Member Functions

 RaytraceResult ()
 
 RaytraceResult (const Pose &pose, meters_t range)
 

Public Attributes

Color color
 the color struck by this beam More...
 
Modelmod
 the model struck by this beam More...
 
Pose pose
 location and direction of the ray origin More...
 
meters_t range
 range to beam hit in meters More...
 

Detailed Description

raytrace sample

Constructor & Destructor Documentation

◆ RaytraceResult() [1/2]

Stg::RaytraceResult::RaytraceResult ( )
inline

◆ RaytraceResult() [2/2]

Stg::RaytraceResult::RaytraceResult ( const Pose pose,
meters_t  range 
)
inline

Member Data Documentation

◆ color

Color Stg::RaytraceResult::color

the color struck by this beam

◆ mod

Model* Stg::RaytraceResult::mod

the model struck by this beam

◆ pose

Pose Stg::RaytraceResult::pose

location and direction of the ray origin

◆ range

meters_t Stg::RaytraceResult::range

range to beam hit in meters


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