Robotics Library  0.7.0
Public Member Functions | List of all members
rl::sg::RaycastScene Class Referenceabstract

#include <RaycastScene.h>

Inheritance diagram for rl::sg::RaycastScene:
Inheritance graph
[legend]

Public Member Functions

 RaycastScene ()
 
virtual ~RaycastScene ()
 
virtual Shaperaycast (const ::rl::math::Vector3 &source, const ::rl::math::Vector3 &target, ::rl::math::Real &distance)=0
 
virtual bool raycast (Shape *shape, const ::rl::math::Vector3 &source, const ::rl::math::Vector3 &target, ::rl::math::Real &distance)=0
 
- Public Member Functions inherited from rl::sg::Scene
 Scene ()
 
virtual ~Scene ()
 
virtual void add (Model *model)
 
Iterator begin ()
 
virtual Modelcreate ()=0
 
Iterator end ()
 
ModelgetModel (const ::std::size_t &i) const
 
virtual ::std::string getName () const
 
::std::size_t getNumModels () const
 
void load (const ::std::string &filename, const bool &doBoundingBoxPoints=false, const bool &doPoints=false)
 
virtual void remove (Model *model)
 
virtual void setName (const ::std::string &name)
 

Additional Inherited Members

- Public Types inherited from rl::sg::Scene
typedef ::std::vector< Model * >::iterator Iterator
 
- Protected Attributes inherited from rl::sg::Scene
bool isScalingSupported
 
::std::vector< Model * > models
 

Constructor & Destructor Documentation

◆ RaycastScene()

rl::sg::RaycastScene::RaycastScene ( )

◆ ~RaycastScene()

rl::sg::RaycastScene::~RaycastScene ( )
virtual

Member Function Documentation

◆ raycast() [1/2]

virtual Shape* rl::sg::RaycastScene::raycast ( const ::rl::math::Vector3 source,
const ::rl::math::Vector3 target,
::rl::math::Real distance 
)
pure virtual

◆ raycast() [2/2]

virtual bool rl::sg::RaycastScene::raycast ( Shape shape,
const ::rl::math::Vector3 source,
const ::rl::math::Vector3 target,
::rl::math::Real distance 
)
pure virtual

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