Public Types | Public Member Functions | Static Public Member Functions | Static Public Attributes | Protected Member Functions | Private Member Functions | List of all members
rtabmap::CameraK4W2 Class Reference

#include <CameraRGBD.h>

Inheritance diagram for rtabmap::CameraK4W2:
Inheritance graph
[legend]

Public Types

enum  Type { kTypeColor2DepthSD, kTypeDepth2ColorSD, kTypeDepth2ColorHD }
 

Public Member Functions

 CameraK4W2 (int deviceId=0, Type type=kTypeDepth2ColorSD, float imageRate=0.0f, const Transform &localTransform=Transform::getIdentity())
 
virtual std::string getSerial () const
 
virtual bool init (const std::string &calibrationFolder=".", const std::string &cameraName="")
 
virtual bool isCalibrated () const
 
virtual ~CameraK4W2 ()
 
- Public Member Functions inherited from rtabmap::Camera
float getImageRate () const
 
const TransformgetLocalTransform () const
 
virtual bool odomProvided () const
 
void resetTimer ()
 
void setImageRate (float imageRate)
 
void setLocalTransform (const Transform &localTransform)
 
SensorData takeImage (CameraInfo *info=0)
 
virtual ~Camera ()
 

Static Public Member Functions

static bool available ()
 

Static Public Attributes

static const int cColorHeight = 1080
 
static const int cColorWidth = 1920
 
static const int cDepthHeight = 424
 
static const int cDepthWidth = 512
 

Protected Member Functions

virtual SensorData captureImage (CameraInfo *info=0)
 
- Protected Member Functions inherited from rtabmap::Camera
 Camera (float imageRate=0, const Transform &localTransform=Transform::getIdentity())
 
int getNextSeqID ()
 

Private Member Functions

void close ()
 

Detailed Description

Definition at line 323 of file CameraRGBD.h.

Member Enumeration Documentation

Enumerator
kTypeColor2DepthSD 
kTypeDepth2ColorSD 
kTypeDepth2ColorHD 

Definition at line 329 of file CameraRGBD.h.

Constructor & Destructor Documentation

rtabmap::CameraK4W2::CameraK4W2 ( int  deviceId = 0,
Type  type = kTypeDepth2ColorSD,
float  imageRate = 0.0f,
const Transform localTransform = Transform::getIdentity() 
)

Definition at line 2074 of file CameraRGBD.cpp.

rtabmap::CameraK4W2::~CameraK4W2 ( )
virtual

Definition at line 2094 of file CameraRGBD.cpp.

Member Function Documentation

bool rtabmap::CameraK4W2::available ( )
static

Definition at line 2065 of file CameraRGBD.cpp.

SensorData rtabmap::CameraK4W2::captureImage ( CameraInfo info = 0)
protectedvirtual

returned rgb and depth images should be already rectified if calibration was loaded

Implements rtabmap::Camera.

Definition at line 2293 of file CameraRGBD.cpp.

void rtabmap::CameraK4W2::close ( )
private

Definition at line 2119 of file CameraRGBD.cpp.

std::string rtabmap::CameraK4W2::getSerial ( ) const
virtual

Implements rtabmap::Camera.

Definition at line 2275 of file CameraRGBD.cpp.

bool rtabmap::CameraK4W2::init ( const std::string &  calibrationFolder = ".",
const std::string &  cameraName = "" 
)
virtual

Implements rtabmap::Camera.

Definition at line 2147 of file CameraRGBD.cpp.

bool rtabmap::CameraK4W2::isCalibrated ( ) const
virtual

Implements rtabmap::Camera.

Definition at line 2270 of file CameraRGBD.cpp.

Member Data Documentation

const int rtabmap::CameraK4W2::cColorHeight = 1080
static

Definition at line 339 of file CameraRGBD.h.

const int rtabmap::CameraK4W2::cColorWidth = 1920
static

Definition at line 338 of file CameraRGBD.h.

const int rtabmap::CameraK4W2::cDepthHeight = 424
static

Definition at line 337 of file CameraRGBD.h.

const int rtabmap::CameraK4W2::cDepthWidth = 512
static

Definition at line 336 of file CameraRGBD.h.


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


rtabmap
Author(s): Mathieu Labbe
autogenerated on Wed Jun 5 2019 22:43:42