Changeset 217 for osgVisual/trunk/include
- Timestamp:
- Feb 2, 2011, 8:39:16 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
osgVisual/trunk/include/object/visual_object.h
r202 r217 277 277 void setCameraOffsetTranslation( double x_, double y_, double z_); 278 278 279 /** 280 * \brief This function sets the trackingId to allow to identify the visual_obejct for tracking purposes. 281 * 282 * See also getTrackingId() and trackingId 283 * 284 * @param trackindID_ : trackingId to set. 285 */ 286 void setTrackingId(int trackingId_) {trackingId = trackingId_;}; 287 288 /** 289 * \brief This function returns the trackingId to allow to identify the visual_obejct for tracking purposes. 290 * 291 * @return : -1 If no trackingId is set, othwerwise the trackingId. 292 */ 293 int getTrackingId() {return trackingId;}; 294 279 295 /*@}*/ 280 296 /** @name Label management … … 283 299 /*@{*/ 284 300 /** 285 * \brief This Function removes all labels attached to this object.301 * \brief This function removes all labels attached to this object. 286 302 * 287 303 */ … … 448 464 osg::ref_ptr<object_updater> updater; 449 465 466 /** 467 * Tracking ID of the visual_object. Used to identify which node should be tracked by tracking-manipulators. 468 */ 469 int trackingId; 470 450 471 // Labels 451 472 /**
Note: See TracChangeset
for help on using the changeset viewer.