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

#include <camera.h>

Inheritance diagram for Camera:
[legend]
Collaboration diagram for Camera:
[legend]

Public Types

enum class  Type {
  L8 , R8G8B8 , B8G8R8 , BAYER_RGGB8 ,
  BAYER_BGGR8 , BAYER_GBRG8 , BAYER_GRBG8
}
 

Public Member Functions

 Camera ()
 
 Camera (const Camera &rhs)
 
void reset () override
 
void update () override
 
void getOrigin (double *xyz) const override
 
void setType (Type t_)
 
void setType (const char *c)
 
void setUpdateRate (double ur) override
 
void getUpdateRate (double &ur) const override
 
void setOrigin (std::shared_ptr< Pose > o) override
 
const char * getTypename () override
 
void getRange (Image< double, 4 > &r) override
 
void setRange (Image< double, 4 > &r) override
 
void get (Image< double, 4 > &o) const override
 
void print (std::ostream &os) override
 
- Public Member Functions inherited from ObjectBase
virtual bool empty () const =0
 
virtual bool isA (const char *name)=0
 
virtual void clear ()=0
 

Additional Inherited Members

- Protected Member Functions inherited from SensorBase< Image< double, 4 > >
 SensorBase ()
 
 ~SensorBase () override
 
virtual const char * getTypename () const=0
 
- Protected Member Functions inherited from ObjectBase
 ObjectBase ()
 
virtual ~ObjectBase ()
 
virtual ObjectBasegetPointer ()
 

Member Enumeration Documentation

◆ Type

enum class Camera::Type
strong
Enumerator
L8 
R8G8B8 
B8G8R8 
BAYER_RGGB8 
BAYER_BGGR8 
BAYER_GBRG8 
BAYER_GRBG8 

Constructor & Destructor Documentation

◆ Camera() [1/2]

Camera::Camera ( )

◆ Camera() [2/2]

Camera::Camera ( const Camera rhs)

Member Function Documentation

◆ get()

void Camera::get ( Image< double, 4 > &  o) const
overridevirtual

◆ getOrigin()

void Camera::getOrigin ( double *  xyz) const
overridevirtual

◆ getRange()

void Camera::getRange ( Image< double, 4 > &  r)
overridevirtual

◆ getTypename()

const char * Camera::getTypename ( )
overridevirtual

Implements ObjectBase.

◆ getUpdateRate()

void Camera::getUpdateRate ( double &  ur) const
overridevirtual

◆ print()

void Camera::print ( std::ostream &  os)
overridevirtual

Implements ObjectBase.

◆ reset()

void Camera::reset ( )
overridevirtual

Reimplemented from SensorBase< Image< double, 4 > >.

◆ setOrigin()

void Camera::setOrigin ( std::shared_ptr< Pose o)
overridevirtual

◆ setRange()

void Camera::setRange ( Image< double, 4 > &  r)
overridevirtual

◆ setType() [1/2]

void Camera::setType ( const char *  c)

◆ setType() [2/2]

void Camera::setType ( Type  t_)

◆ setUpdateRate()

void Camera::setUpdateRate ( double  ur)
overridevirtual

◆ update()

void Camera::update ( )
overridevirtual

Reimplemented from SensorBase< Image< double, 4 > >.


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