Skip to content
This repository
Browse code

Add set/get_focus_point to the header file

Also fixed the indentation of the docs for these functions.
  • Loading branch information...
commit 8d1cd31206027a66d377aca4b2bc11f163025eb9 1 parent fbdfcf1
Joaquim Rocha authored September 05, 2012
48  skeltrack/skeltrack-skeleton.c
@@ -1548,16 +1548,16 @@ skeltrack_skeleton_new (void)
1548 1548
 }
1549 1549
 
1550 1550
 /**
1551  
-  * skeltrack_skeleton_set_focus_point:
1552  
-  * @self: The #SkeltrackSkeleton
1553  
-  * @x: The x coordinate of the focus point.
1554  
-  * @y: The y coordinate of the focus point.
1555  
-  * @z: The z coordinate of the focus point.
1556  
-  *
1557  
-  * Gets the focus point which is the origin from where the tracking will
1558  
-  * start. The coordinates will be in mm.
1559  
-  *
1560  
-  **/
  1551
+ * skeltrack_skeleton_set_focus_point:
  1552
+ * @self: The #SkeltrackSkeleton
  1553
+ * @x: The x coordinate of the focus point.
  1554
+ * @y: The y coordinate of the focus point.
  1555
+ * @z: The z coordinate of the focus point.
  1556
+ *
  1557
+ * Gets the focus point which is the origin from where the tracking will
  1558
+ * start. The coordinates will be in mm.
  1559
+ *
  1560
+ **/
1561 1561
 void
1562 1562
 skeltrack_skeleton_get_focus_point (SkeltrackSkeleton   *self,
1563 1563
                                     gint                *x,
@@ -1570,19 +1570,20 @@ skeltrack_skeleton_get_focus_point (SkeltrackSkeleton   *self,
1570 1570
 }
1571 1571
 
1572 1572
 /**
1573  
-  * skeltrack_skeleton_set_focus_point:
1574  
-  * @self: The #SkeltrackSkeleton
1575  
-  * @x: The x coordinate of the focus point.
1576  
-  * @y: The y coordinate of the focus point.
1577  
-  * @z: The z coordinate of the focus point.
1578  
-  *
1579  
-  * Sets the focus point which is the origin from where the tracking will
1580  
-  * start. The coordinates should be in mm.
1581  
-  *
1582  
-  * If this method is not called the default values are @x = 0, @y = 0,
1583  
-  * @z = 1000, that is, in the center of the screen and at 1m from the
1584  
-  * camera.
1585  
-  **/
  1573
+ * skeltrack_skeleton_set_focus_point:
  1574
+ * @self: The #SkeltrackSkeleton
  1575
+ * @x: The x coordinate of the focus point.
  1576
+ * @y: The y coordinate of the focus point.
  1577
+ * @z: The z coordinate of the focus point.
  1578
+ *
  1579
+ * Sets the focus point which is the origin from where the tracking will
  1580
+ * start. The coordinates should be in mm.
  1581
+ *
  1582
+ * If this method is not called the default values are @x = 0, @y = 0,
  1583
+ * @z = 1000, that is, in the center of the screen and at 1m from the
  1584
+ * camera.
  1585
+ *
  1586
+ **/
1586 1587
 void
1587 1588
 skeltrack_skeleton_set_focus_point (SkeltrackSkeleton   *self,
1588 1589
                                     gint                 x,
@@ -1617,6 +1618,7 @@ skeltrack_skeleton_set_focus_point (SkeltrackSkeleton   *self,
1617 1618
  *
1618 1619
  * If this method is called while a previous attempt of tracking the joints
1619 1620
  * is still running, a %G_IO_ERROR_PENDING error occurs.
  1621
+ *
1620 1622
  **/
1621 1623
 void
1622 1624
 skeltrack_skeleton_track_joints (SkeltrackSkeleton   *self,
10  skeltrack/skeltrack-skeleton.h
@@ -80,6 +80,16 @@ SkeltrackJointList    skeltrack_skeleton_track_joints_sync      (SkeltrackSkelet
80 80
                                                                  GCancellable        *cancellable,
81 81
                                                                  GError             **error);
82 82
 
  83
+void                  skeltrack_skeleton_get_focus_point        (SkeltrackSkeleton   *self,
  84
+                                                                 gint                *x,
  85
+                                                                 gint                *y,
  86
+                                                                 gint                *z);
  87
+
  88
+void                  skeltrack_skeleton_set_focus_point        (SkeltrackSkeleton   *self,
  89
+                                                                 gint                 x,
  90
+                                                                 gint                 y,
  91
+                                                                 gint                 z);
  92
+
83 93
 G_END_DECLS
84 94
 
85 95
 #endif /* __SKELTRACK_SKELETON_H__ */

0 notes on commit 8d1cd31

Please sign in to comment.
Something went wrong with that request. Please try again.