All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends
Public Member Functions | Static Public Member Functions | Public Attributes
ccny_rgbd::RGBDKeyframe Class Reference

Extension of an RGBDFrame, which has a pose, and a 3D point cloud. More...

#include <rgbd_keyframe.h>

Inheritance diagram for ccny_rgbd::RGBDKeyframe:
Inheritance graph
[legend]

List of all members.

Public Member Functions

EIGEN_MAKE_ALIGNED_OPERATOR_NEW RGBDKeyframe ()
 Default (empty) constructor.
 RGBDKeyframe (const RGBDFrame &frame)
 Copy constructor from a RGBDFrame.

Static Public Member Functions

static bool load (RGBDKeyframe &keyframe, const std::string &path)
 Loads the RGBD keyframe to disk.
static bool save (const RGBDKeyframe &keyframe, const std::string &path)
 Saves the RGBD keyframe to disk.

Public Attributes

bool manually_added
 Whether the frame was added manually by the user.
double path_length_angular
 path length, in radians, of the camera trajectory at the moment of adding the keyframe
double path_length_linear
 path length, in meters, of the camera trajectory at the moment of adding the keyframe
tf::Transform pose
 pose of the camera, in some fixed frame

Detailed Description

Extension of an RGBDFrame, which has a pose, and a 3D point cloud.

The class is used for keyframe-based graph alignment, as well as dense mapping.

Definition at line 42 of file rgbd_keyframe.h.


Constructor & Destructor Documentation

Default (empty) constructor.

Definition at line 28 of file rgbd_keyframe.cpp.

Copy constructor from a RGBDFrame.

Parameters:
framereference to the frame which is being used to create a keyframe

Definition at line 34 of file rgbd_keyframe.cpp.


Member Function Documentation

bool ccny_rgbd::RGBDKeyframe::load ( RGBDKeyframe keyframe,
const std::string &  path 
) [static]

Loads the RGBD keyframe to disk.

Loads the RGBDFrame, as well as the additional keyframe info as .yml

Parameters:
keyframeReference to the keyframe being saved
pathThe path to the folder where everything will be stored
Return values:
trueSuccessfully loaded the data
falseLoading failed - for example, directory not found

Definition at line 72 of file rgbd_keyframe.cpp.

bool ccny_rgbd::RGBDKeyframe::save ( const RGBDKeyframe keyframe,
const std::string &  path 
) [static]

Saves the RGBD keyframe to disk.

Saves the RGBDFrame, as well as the additional keyframe info as .yml

Parameters:
keyframeReference to the keyframe being saved
pathThe path to the folder where everything will be stored
Return values:
trueSuccessfully saved the data
falseSaving failed - for example, cannot create directory

Definition at line 44 of file rgbd_keyframe.cpp.


Member Data Documentation

Whether the frame was added manually by the user.

Definition at line 59 of file rgbd_keyframe.h.

path length, in radians, of the camera trajectory at the moment of adding the keyframe

Definition at line 69 of file rgbd_keyframe.h.

path length, in meters, of the camera trajectory at the moment of adding the keyframe

Definition at line 64 of file rgbd_keyframe.h.

pose of the camera, in some fixed frame

Definition at line 57 of file rgbd_keyframe.h.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends


ccny_rgbd
Author(s): Ivan Dryanovski
autogenerated on Fri Apr 12 2013 20:38:48