Candy
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
Classes | Public Types | Public Member Functions | Public Attributes | Static Public Attributes | Protected Member Functions | Protected Attributes | Friends | List of all members
HVR::DepthDataSilhouetteTracker Class Reference

The depth data silhouette tracker tracks the most extreme point of the silhouette of the specified camera's depth data. More...

Inheritance diagram for HVR::DepthDataSilhouetteTracker:
Inheritance graph
[legend]

Classes

struct  SFDepthCamera
 

Public Types

typedef
H3D::H3DImageObject::SFImage 
SFImage
 
typedef H3D::TypedSFNode
< Candy::PaintTexture
SFPaintTexture
 

Public Member Functions

 DepthDataSilhouetteTracker (H3D::Inst< H3D::SFNode > _metadata=0, H3D::Inst< MFPosition > _rawPosition=0, H3D::Inst< MFOrientation > _rawOrientation=0, H3D::Inst< CalibratedMatrix > _trackerMatrix=0, H3D::Inst< TrackerPosition > _trackerPosition=0, H3D::Inst< TrackerOrientation > _trackerOrientation=0, H3D::Inst< MFMappingNode > _mapping=0, H3D::Inst< Processor > _processor=0, H3D::Inst< SFImage > _depthData=0, H3D::Inst< SFImage > _depthDataBackground=0, H3D::Inst< SFPaintTexture > _debugTexture=0, H3D::Inst< SFDepthCamera > _depthCamera=0, H3D::Inst< H3D::SFVec2f > _extremeDirection=0, H3D::Inst< H3D::SFInt32 > _averagingRegionWidth=0)
 
- Public Member Functions inherited from HVR::HVRPullUpdatedTrackerNode
 HVRPullUpdatedTrackerNode (H3D::Inst< H3D::SFNode > _metadata=0, H3D::Inst< MFPosition > _rawPosition=0, H3D::Inst< MFOrientation > _rawOrientation=0, H3D::Inst< CalibratedMatrix > _trackerMatrix=0, H3D::Inst< TrackerPosition > _trackerPosition=0, H3D::Inst< TrackerOrientation > _trackerOrientation=0, H3D::Inst< MFMappingNode > _mapping=0, H3D::Inst< Processor > _processor=0)
 
- Public Member Functions inherited from HVR::HVRMappedTrackerNode
 HVRMappedTrackerNode (H3D::Inst< H3D::SFNode > _metadata=0, H3D::Inst< H3D::MFVec3f > _rawPosition=0, H3D::Inst< H3D::MFRotation > _rawOrientation=0, H3D::Inst< CalibratedMatrix > _trackerMatrix=0, H3D::Inst< TrackerPosition > _trackerPosition=0, H3D::Inst< TrackerOrientation > _trackerOrientation=0, H3D::Inst< MFMappingNode > _mapping=0, H3D::Inst< MFTrackerPoint > _trackerPoint=0)
 
- Public Member Functions inherited from HVR::HVRTrackerNode
 HVRTrackerNode (H3D::Inst< H3D::SFNode > _metadata=0, H3D::Inst< H3D::MFVec3f > _rawPosition=0, H3D::Inst< H3D::MFRotation > _rawOrientation=0, H3D::Inst< CalibratedMatrix > _trackerMatrix=0, H3D::Inst< H3D::MFVec3f > _trackerPosition=0, H3D::Inst< H3D::MFRotation > _trackerOrientation=0)
 
virtual std::string defaultXMLContainerField ()
 

Public Attributes

std::auto_ptr< SFPaintTexturedebugTexture
  (input/output) This texture will not be cleared between frames, since many trackers may be drawing to the same texture. More...
 
std::auto_ptr< SFDepthCameradepthCamera
  (input/output) The camera to read the depth data from. More...
 
std::auto_ptr< H3D::SFVec2fextremeDirection
  (input/output) The direction, in image coordinates, in which the extreme should be sought. More...
 
std::auto_ptr< H3D::SFInt32averagingRegionWidth
  (input/output) The size, in pixels, of the region to use for averaging the position. More...
 
- Public Attributes inherited from HVR::HVRMappedTrackerNode
struct HVR_API Point
 
std::auto_ptr< MFMappingNodemapping
  (input/output) The HVRMappingNode mapper(s) to use to convert raw data (rawPosition and rawOrientation) into calibrated data (trackerPosition and trackerOrientation). More...
 
- Public Attributes inherited from HVR::HVRTrackerNode
std::auto_ptr< H3D::MFVec3frawPosition
  (output only) The position data as defined by the tracker in its own coordinate system. More...
 
std::auto_ptr< H3D::MFRotationrawOrientation
  (output only) The orientation data as defined by the tracker in its own coordinate system. More...
 
std::auto_ptr< CalibratedMatrixtrackerMatrix
  (output only) The calibrated tracker data in MFMatrix4f matrix form, encoding both position and orientation. More...
 
std::auto_ptr< H3D::MFVec3ftrackerPosition
  (output only) The calibrated tracker position data. More...
 
std::auto_ptr< H3D::MFRotationtrackerOrientation
  (output only) The calibrated tracker orientation data. More...
 

Static Public Attributes

static H3D::H3DNodeDatabase database
 
- Static Public Attributes inherited from HVR::HVRPullUpdatedTrackerNode
static H3D::H3DNodeDatabase database
 
- Static Public Attributes inherited from HVR::HVRMappedTrackerNode
static H3D::H3DNodeDatabase database
 
- Static Public Attributes inherited from HVR::HVRTrackerNode
static H3D::H3DNodeDatabase database
 

Protected Member Functions

void update ()
 
- Protected Member Functions inherited from HVR::HVRTrackerNode
void updateRawMatrix (const std::vector< H3D::Matrix4f > &m)
 Call this function to update the tracker data. More...
 
void updateRawPositionOrientation (const std::vector< H3D::Vec3f > &x, const std::vector< H3D::Rotation > &r)
 Call this function to update the tracker data. More...
 

Protected Attributes

std::auto_ptr< SFImagedepthData
 
std::auto_ptr< SFImagedepthDataBackground
 
- Protected Attributes inherited from HVR::HVRPullUpdatedTrackerNode
std::auto_ptr< Processorprocessor
 Calls the update function when new position or orientation data are needed. More...
 
- Protected Attributes inherited from HVR::HVRMappedTrackerNode
struct HVR_API MFTrackerPoint
 
std::auto_ptr< MFTrackerPointtrackerPoint
 

Friends

struct SFDepthCamera
 

Additional Inherited Members

- Protected Types inherited from HVR::HVRMappedTrackerNode
typedef H3D::MField< PointMFPoint
 
typedef H3D::TypedMFNode
< HVRMappingNode
MFMappingNode
 

Detailed Description

The depth data silhouette tracker tracks the most extreme point of the silhouette of the specified camera's depth data.

The silhouette is defined as the outer-most part of what is not background.

Member Data Documentation

std::auto_ptr< H3D::SFInt32 > HVR::DepthDataSilhouetteTracker::averagingRegionWidth

(input/output) The size, in pixels, of the region to use for averaging the position.

If zero, the default, no averaging is used.

std::auto_ptr< SFPaintTexture > HVR::DepthDataSilhouetteTracker::debugTexture

(input/output) This texture will not be cleared between frames, since many trackers may be drawing to the same texture.

Add the same texture to the depth camera node to reset and fill with the depth image.

std::auto_ptr< SFDepthCamera > HVR::DepthDataSilhouetteTracker::depthCamera

(input/output) The camera to read the depth data from.

std::auto_ptr< H3D::SFVec2f > HVR::DepthDataSilhouetteTracker::extremeDirection

(input/output) The direction, in image coordinates, in which the extreme should be sought.