All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions | Protected Attributes
pangolin::OpenNiVideo Struct Reference

Interface to video capture sources. More...

#include <openni.h>

Inheritance diagram for pangolin::OpenNiVideo:
Inheritance graph
[legend]

List of all members.

Public Member Functions

bool GrabNewest (unsigned char *image, bool wait=true)
bool GrabNext (unsigned char *image, bool wait=true)
unsigned Height () const
 OpenNiVideo (OpenNiSensorType s1, OpenNiSensorType s2)
std::string PixFormat () const
size_t SizeBytes () const
void Start ()
void Stop ()
unsigned Width () const
 ~OpenNiVideo ()

Protected Attributes

xn::Context context
xn::DepthGenerator depthNode
xn::ImageGenerator imageNode
xn::IRGenerator irNode
OpenNiSensorType s1
size_t s1SizeBytes
OpenNiSensorType s2
size_t s2SizeBytes
size_t sizeBytes

Detailed Description

Interface to video capture sources.

Definition at line 21 of file openni.h.


Constructor & Destructor Documentation

Definition at line 6 of file openni.cpp.

Definition at line 105 of file openni.cpp.


Member Function Documentation

bool pangolin::OpenNiVideo::GrabNewest ( unsigned char *  image,
bool  wait = true 
) [virtual]

Copy the newest frame from the camera to image discarding all older frames. Optionally wait for a frame if one isn't ready Returns true iff image was copied

Implements pangolin::VideoInterface.

Definition at line 196 of file openni.cpp.

bool pangolin::OpenNiVideo::GrabNext ( unsigned char *  image,
bool  wait = true 
) [virtual]

Copy the next frame from the camera to image. Optionally wait for a frame if one isn't ready Returns true iff image was copied

Implements pangolin::VideoInterface.

Definition at line 147 of file openni.cpp.

unsigned pangolin::OpenNiVideo::Height ( ) const [virtual]

Implements pangolin::VideoInterface.

Definition at line 115 of file openni.cpp.

std::string pangolin::OpenNiVideo::PixFormat ( ) const [virtual]

Implements pangolin::VideoInterface.

Definition at line 125 of file openni.cpp.

size_t pangolin::OpenNiVideo::SizeBytes ( ) const [virtual]

Implements pangolin::VideoInterface.

Definition at line 120 of file openni.cpp.

void pangolin::OpenNiVideo::Start ( ) [virtual]

Implements pangolin::VideoInterface.

Definition at line 137 of file openni.cpp.

void pangolin::OpenNiVideo::Stop ( ) [virtual]

Implements pangolin::VideoInterface.

Definition at line 142 of file openni.cpp.

unsigned pangolin::OpenNiVideo::Width ( ) const [virtual]

Implements pangolin::VideoInterface.

Definition at line 110 of file openni.cpp.


Member Data Documentation

xn::Context pangolin::OpenNiVideo::context [protected]

Definition at line 38 of file openni.h.

xn::DepthGenerator pangolin::OpenNiVideo::depthNode [protected]

Definition at line 39 of file openni.h.

xn::ImageGenerator pangolin::OpenNiVideo::imageNode [protected]

Definition at line 40 of file openni.h.

xn::IRGenerator pangolin::OpenNiVideo::irNode [protected]

Definition at line 41 of file openni.h.

Definition at line 43 of file openni.h.

Definition at line 45 of file openni.h.

Definition at line 44 of file openni.h.

Definition at line 46 of file openni.h.

Definition at line 47 of file openni.h.


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


pangolin_wrapper
Author(s): Todor Stoyanov
autogenerated on Wed Feb 13 2013 14:03:25