div class="twikiTopBar">

Chair for Computer Aided Medical Procedures & Augmented Reality
Lehrstuhl für Informatikanwendungen in der Medizin & Augmented Reality

ARTkPoseReconstructService Class Reference
[Pose Reconstruction based on AR Toolkit code]

The class handling the setup of needs & abilities. More...

Inheritance diagram for ARTkPoseReconstructService:

Inheritance graph
[legend]
Collaboration diagram for ARTkPoseReconstructService:

Collaboration graph
[legend]

Protected Member Functions

CORBA::Object_ptr createAbilityObject (DWARF::AbilityDescription_ptr abilityDescr)
 Create an Ability object for a given description.
CORBA::Object_ptr createNeedObject (DWARF::NeedDescription_ptr needDescr)
 Create a Need object for a given description.
void run ()
 core method of service. Does nothing.

Detailed Description

The class handling the setup of needs & abilities.

This class is derived from the DWARF C++ Template service.

Author:
Martin Wagner <martin.wagner@in.tum.de>

Definition at line 55 of file ARTkPoseReconstructService.h.


Member Function Documentation

Object_ptr ARTkPoseReconstructService::createAbilityObject DWARF::AbilityDescription_ptr  abilityDescr  )  [protected, virtual]
 

Create an Ability object for a given description.

This method creates a DWARF PoseSender object for every ability of type PoseData that has at least an attribute MarkerName. The attributes are interpreted as follows:

  • "MarkerName" describes the id of the marker to be looked for
  • "MarkerSize" gives the square size of the marker in meters. The default value is 0.08
  • "MarkerCenterX" gives the X center coordinate of the marker. The default value is 0.00
  • "MarkerCenterY" gives the Y center coordinate of the marker. The default value is 0.00
  • "Continuous" indicates whether continuous tracking should be done (if set to <true>). This stabilizes the pose estimation by reusing the information from the last frame. However, accuracy might decrease

Parameters:
abilityDescr The description of the ability
Returns:
The created C++ Object_ptr

Reimplemented from TemplateService.

Definition at line 65 of file ARTkPoseReconstructService.cpp.

Object_ptr ARTkPoseReconstructService::createNeedObject DWARF::NeedDescription_ptr  needDescr  )  [protected, virtual]
 

Create a Need object for a given description.

This method returns an object of type ARTkFrameMarkerNeed for all needs of type artkFrameMarkers. A useful predicate is

  • camPosition the position of the camera

Useful attributes of the communication partners are

  • camPosition the position of the camera delivering the video frames with the markers
  • camParam the ar toolkit compliant camera parameters
  • camWidth the number of x pixels in the camera image
  • camHeight the number of y pixels in the camera image

Parameters:
needDescr The description of the ability
Returns:
The created C++ Object_ptr

Reimplemented from TemplateService.

Definition at line 233 of file ARTkPoseReconstructService.cpp.

ARTkPoseReconstructService Class Reference | generated on Sun Apr 29 02:01:09 2007 by Doxygen 1.4.1 for DWARF