Skip to content

Commit

Permalink
docs: Update API descriptions
Browse files Browse the repository at this point in the history
  • Loading branch information
xlz committed Apr 27, 2016
1 parent a71ab1f commit 4c7e03c
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
2 changes: 2 additions & 0 deletions doc/mainpage.dox
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
/** @mainpage API Reference

Older versions: [0.1](0.1).

Introduction
============

Expand Down
2 changes: 1 addition & 1 deletion include/libfreenect2/frame_listener.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ class LIBFREENECT2_API Frame
/** Available types of frames. */
enum Type
{
Color = 1, ///< 1920x1080
Color = 1, ///< 1920x1080. BGRX or RGBX.
Ir = 2, ///< 512x424 float. Range is [0.0, 65535.0].
Depth = 4 ///< 512x424 float, unit: millimeter. Non-positive, NaN, and infinity are invalid or missing data.
};
Expand Down
8 changes: 4 additions & 4 deletions include/libfreenect2/libfreenect2.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ class LIBFREENECT2_API Freenect2Device
*
* FrameListener will receive frames when the device is running.
*
* @return Undefined. To be defined in 0.2.
* @return true if ok, false if error.
*/
virtual bool start() = 0;

Expand All @@ -173,19 +173,19 @@ class LIBFREENECT2_API Freenect2Device
*
* @param rgb Whether to enable RGB stream.
* @param depth Whether to enable depth stream.
* @return Undefined. To be defined in 0.2.
* @return true if ok, false if error.
*/
virtual bool startStreams(bool rgb, bool depth) = 0;

/** Stop data processing.
*
* @return Undefined. To be defined in 0.2.
* @return true if ok, false if error.
*/
virtual bool stop() = 0;

/** Shut down the device.
*
* @return Undefined. To be defined in 0.2.
* @return true if ok, false if error.
*/
virtual bool close() = 0;
};
Expand Down

0 comments on commit 4c7e03c

Please sign in to comment.