$darkmode
vtd::VtdWorldSensor Class Reference
Inheritance diagram for vtd::VtdWorldSensor:
Collaboration diagram for vtd::VtdWorldSensor:

Public Member Functions

 VtdWorldSensor (std::shared_ptr< VtdSensorData > data)
 
const cloe::Objectssensed_objects () const override
 
const cloe::Frustumfrustum () const override
 
const Eigen::Isometry3d & mount_pose () const override
 
- Public Member Functions inherited from cloe::ObjectSensor
fable::Json active_state () const override
 
 Component (const std::string &name, const std::string &description="")
 
 Component (std::string &&name, std::string &&description="")
 
- Public Member Functions inherited from cloe::Component
 Component (const std::string &name, const std::string &description="")
 
 Component (std::string &&name, std::string &&description="")
 
uint64_t id () const
 
template<typename T >
T * as ()
 
Duration process (const Sync &sync) override
 
void reset () override
 
void abort () override
 
- Public Member Functions inherited from cloe::Model
virtual ~Model () noexcept=default
 
virtual Duration resolution () const
 
virtual bool is_connected () const
 
virtual bool is_operational () const
 
virtual void connect ()
 
virtual void disconnect ()
 
virtual void enroll (Registrar &)
 
virtual void start (const Sync &)
 
virtual void pause (const Sync &)
 
virtual void resume (const Sync &)
 
virtual void stop (const Sync &)
 
 Entity (std::string name)
 
 Entity (std::string name, std::string desc)
 
- Public Member Functions inherited from cloe::Entity
 Entity (std::string name)
 
 Entity (std::string name, std::string desc)
 
const std::string & name () const
 
void set_name (std::string name)
 
const std::string & description () const
 
void set_description (std::string desc)
 

Additional Inherited Members

- Protected Member Functions inherited from cloe::Entity
virtual Logger logger () const
 
- Protected Attributes inherited from cloe::Model
bool connected_ {false}
 
bool operational_ {false}
 
- Protected Attributes inherited from cloe::Entity
std::string name_
 
std::string desc_
 

Member Function Documentation

◆ frustum()

const cloe::Frustum& vtd::VtdWorldSensor::frustum ( ) const
inlineoverridevirtual

Return the frustum of the object sensor.

Implements cloe::ObjectSensor.

◆ mount_pose()

const Eigen::Isometry3d& vtd::VtdWorldSensor::mount_pose ( ) const
inlineoverridevirtual

Return the mounting position of the object sensor.

Implements cloe::ObjectSensor.

◆ sensed_objects()

const cloe::Objects& vtd::VtdWorldSensor::sensed_objects ( ) const
inlineoverridevirtual

Return the sensed world objects, whether dynamic or static. "World" in this case means the environment. These may be fused or from an individual sensor.

  • The returned pointer is invalid after ClearCache is called.
  • The ObjectSensor that returns the pointer manages the memory.
  • The returned objects have the origin of center-rear axle.

Implements cloe::ObjectSensor.


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