Candy
|
The depth data silhouette tracker tracks the most extreme point of the silhouette of the specified camera's depth data. More...
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) | |
![]() | |
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) | |
![]() | |
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) | |
![]() | |
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< SFPaintTexture > | debugTexture |
![]() | |
std::auto_ptr< SFDepthCamera > | depthCamera |
![]() | |
std::auto_ptr< H3D::SFVec2f > | extremeDirection |
![]() | |
std::auto_ptr< H3D::SFInt32 > | averagingRegionWidth |
![]() | |
![]() | |
struct HVR_API | Point |
std::auto_ptr< MFMappingNode > | mapping |
![]() | |
![]() | |
std::auto_ptr< H3D::MFVec3f > | rawPosition |
![]() | |
std::auto_ptr< H3D::MFRotation > | rawOrientation |
![]() | |
std::auto_ptr< CalibratedMatrix > | trackerMatrix |
![]() | |
std::auto_ptr< H3D::MFVec3f > | trackerPosition |
![]() | |
std::auto_ptr< H3D::MFRotation > | trackerOrientation |
![]() | |
Static Public Attributes | |
static H3D::H3DNodeDatabase | database |
![]() | |
static H3D::H3DNodeDatabase | database |
![]() | |
static H3D::H3DNodeDatabase | database |
![]() | |
static H3D::H3DNodeDatabase | database |
Protected Member Functions | |
void | update () |
![]() | |
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< SFImage > | depthData |
std::auto_ptr< SFImage > | depthDataBackground |
![]() | |
std::auto_ptr< Processor > | processor |
Calls the update function when new position or orientation data are needed. More... | |
![]() | |
struct HVR_API | MFTrackerPoint |
std::auto_ptr< MFTrackerPoint > | trackerPoint |
Friends | |
struct | SFDepthCamera |
Additional Inherited Members | |
![]() | |
typedef H3D::MField< Point > | MFPoint |
typedef H3D::TypedMFNode < HVRMappingNode > | MFMappingNode |
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.
std::auto_ptr< H3D::SFInt32 > HVR::DepthDataSilhouetteTracker::averagingRegionWidth |
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 |
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 |
The camera to read the depth data from.
std::auto_ptr< H3D::SFVec2f > HVR::DepthDataSilhouetteTracker::extremeDirection |
The direction, in image coordinates, in which the extreme should be sought.