Candy
|
The OpenNI depth camera connects a depth camera using the OpenNI API to provide depth image data. More...
Classes | |
struct | Collector |
Public Member Functions | |
OpenNIDepthCamera (H3D::Inst< H3D::SFNode > _metadata=0, H3D::Inst< H3D::SFVec2f > _fieldOfView=0, H3D::Inst< ViewSize > _viewSize=0, H3D::Inst< H3D::SFBool > _updateBackground=0, H3D::Inst< H3D::SFFloat > _maximumBackgroundDistance=0, H3D::Inst< H3D::SFFloat > _backgroundDepthMargin=0, H3D::Inst< H3D::SFInt32 > _backgroundPixelMargin=0, H3D::Inst< SFImage > _depthData=0, H3D::Inst< SFPositionImage > _positionData=0, H3D::Inst< SFBackgroundImage > _depthDataBackground=0, H3D::Inst< SFPaintTexture > _debugTexture=0, H3D::Inst< H3D::SFInt32 > _deviceId=0, H3D::Inst< H3D::SFString > _deviceUri=0, H3D::Inst< H3D::SFInt32 > _minimumFrameWidth=0, H3D::Inst< H3D::SFInt32 > _minimumFrameHeight=0, H3D::Inst< H3D::SFInt32 > _minimumFrameFrequency=0, H3D::Inst< Collector > _collector=0) | |
void | initialize () |
![]() | |
DepthCamera (H3D::Inst< H3D::SFNode > _metadata=0, H3D::Inst< H3D::SFVec2f > _fieldOfView=0, H3D::Inst< ViewSize > _viewSize=0, H3D::Inst< H3D::SFBool > _updateBackground=0, H3D::Inst< H3D::SFFloat > _maximumBackgroundDistance=0, H3D::Inst< H3D::SFFloat > _backgroundDepthMargin=0, H3D::Inst< H3D::SFInt32 > _backgroundPixelMargin=0, H3D::Inst< SFImage > _depthData=0, H3D::Inst< SFPositionImage > _positionData=0, H3D::Inst< SFBackgroundImage > _depthDataBackground=0, H3D::Inst< SFPaintTexture > _debugTexture=0) | |
virtual std::string | defaultXMLContainerField () |
H3D::Vec3f | pixel2DtoLine (float x, float y) |
Convert a pixel coordinate on the Kinect image into a 3D line representing that pixels direction from the Kinects point of view. More... | |
H3D::Vec3f | pixel2Dto3D (float x, float y, float d) |
Convert a pixel coordinate on the Kinect image and depth value into a 3D position from the Kinects point of view. More... | |
H3D::Vec3f | pixel2Dto3D (H3D::Vec3f p) |
Convert a pixel coordinate on the Kinect image (x,y,depth) into a 3D position from the Kinects point of view. More... | |
H3D::Vec3f | point2DtoLine (float x, float y) |
Convert a point on the Kinect image into a 3D line representing that pixels direction from the Kinects point of view. More... | |
H3D::Vec3f | point2Dto3D (float x, float y, float d) |
Convert a point on the Kinect image into a 3D position from the Kinects point of view. More... | |
H3D::Vec3f | point2Dto3D (H3D::Vec3f p) |
Convert a point on the Kinect image into a 3D position from the Kinects point of view. More... | |
const std::vector< Shape > & | getShapes () |
H3D::Vec2f | getExtremes () |
Returns a 2D vector containing the largest and smallest value of the depth in x and y, respectively. More... | |
const ExtremesMap & | getExtremesMap () |
Returns a map of extremes. More... | |
Public Attributes | |
std::auto_ptr< H3D::SFInt32 > | deviceId |
![]() | |
std::auto_ptr< H3D::SFString > | deviceUri |
![]() | |
std::auto_ptr< H3D::SFInt32 > | minimumFrameWidth |
![]() | |
std::auto_ptr< H3D::SFInt32 > | minimumFrameHeight |
![]() | |
std::auto_ptr< H3D::SFInt32 > | minimumFrameFrequency |
![]() | |
![]() | |
struct HVR_API | Shape |
struct HVR_API | ExtremesMap |
std::auto_ptr< H3D::SFVec2f > | fieldOfView |
![]() | |
std::auto_ptr< ViewSize > | viewSize |
![]() | |
std::auto_ptr< H3D::SFBool > | updateBackground |
![]() | |
std::auto_ptr< H3D::SFFloat > | maximumBackgroundDistance |
![]() | |
std::auto_ptr< H3D::SFFloat > | backgroundDepthMargin |
![]() | |
std::auto_ptr< H3D::SFInt32 > | backgroundPixelMargin |
![]() | |
std::auto_ptr< SFImage > | depthData |
![]() | |
std::auto_ptr< SFPositionImage > | positionData |
![]() | |
std::auto_ptr< SFBackgroundImage > | depthDataBackground |
![]() | |
std::auto_ptr< SFPaintTexture > | debugTexture |
![]() | |
Static Public Attributes | |
static H3D::H3DNodeDatabase | database |
![]() | |
static H3D::H3DNodeDatabase | database |
Protected Attributes | |
std::auto_ptr< Collector > | collector |
![]() | |
struct HVR_API | ViewSize |
struct HVR_API | SFBackgroundImage |
struct HVR_API | SFPositionImage |
Friends | |
struct | Collector |
Additional Inherited Members | |
![]() | |
typedef H3D::H3DImageObject::SFImage | SFImage |
typedef H3D::TypedSFNode < Candy::PaintTexture > | SFPaintTexture |
typedef std::vector< H3D::Vec3f > | contour_t |
typedef std::vector< contour_t > | contours_t |
![]() | |
void | update_debug_texture () |
The OpenNI depth camera connects a depth camera using the OpenNI API to provide depth image data.
std::auto_ptr< H3D::SFInt32 > HVR::OpenNIDepthCamera::deviceId |
The device to read data from.
std::auto_ptr< H3D::SFString > HVR::OpenNIDepthCamera::deviceUri |
The device to read data from.
std::auto_ptr< H3D::SFInt32 > HVR::OpenNIDepthCamera::minimumFrameFrequency |
The minimum frame frequency, i e FPS.
The first frame format that fulfills all resolution and frequency requirements will be used.
std::auto_ptr< H3D::SFInt32 > HVR::OpenNIDepthCamera::minimumFrameHeight |
The minimum frame height.
The first frame format that fulfills all resolution and frequency requirements will be used.
std::auto_ptr< H3D::SFInt32 > HVR::OpenNIDepthCamera::minimumFrameWidth |
The minimum frame width.
The first frame format that fulfills all resolution and frequency requirements will be used.