Changeset 235
- Timestamp:
- Feb 14, 2011, 6:36:08 PM (14 years ago)
- Location:
- osgVisual/trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
osgVisual/trunk/bin/osgVisualConfig.xml
r234 r235 71 71 </geometry> 72 72 </model> 73 <trackmodel id="2" updater_slot=" trackID"></trackmodel>73 <trackmodel id="2" updater_slot="TRACKING_ID"></trackmodel> 74 74 </models> 75 75 <datetime day="0" month="0" year="0" hour="12" minute="30"></datetime> -
osgVisual/trunk/src/core/visual_core.cpp
r234 r235 360 360 //testObj->setGeometry( util::getDemoCylinder(5000.0, 20.0 ) ); 361 361 //testObj->addUpdater( new object_updater(testObj) ); 362 //testObj->setTrackingId(2); 362 363 363 364 //osg::ref_ptr<visual_object> testObj2 = new visual_object( rootNode, "neuschwanstein" ); // todo memleak … … 366 367 //testObj2->loadGeometry( "../models/neuschwanstein.osgb" ); 367 368 ////testObj2->addUpdater( new object_updater(testObj2) ); 369 //testObj2->setTrackingId(3); 368 370 369 371 //osg::ref_ptr<visual_object> testObj3 = new visual_object( rootNode, "SAENGER1" ); // todo memleak … … 371 373 //testObj3->loadGeometry( "../models/saenger1.flt" ); 372 374 //testObj3->addUpdater( new object_updater(testObj3) ); 373 // 375 //testObj3->setTrackingId(4); 374 376 375 377 osg::ref_ptr<visual_object> testObj4 = new visual_object( rootNode, "SAENGER2" ); // todo memleak … … 378 380 testObj4->addUpdater( new object_updater(testObj4) ); 379 381 testObj4->addLabel("testLabel", "Object4 :)",osg::Vec4(1.0f,0.25f,1.0f,1.0f)); 382 testObj4->setTrackingId(5); 380 383 381 384 //osg::ref_ptr<visual_object> testObj5 = new visual_object( rootNode, "SAENGER" ); // todo memleak … … 384 387 ////testObj5->setScale( 2 ); 385 388 //testObj5->addUpdater( new object_updater(testObj5) ); 386 387 //trackNode( testObj4 ); 389 //testObj5->setTrackingId(6); 390 391 manipulators->trackNode( testObj4 ); 388 392 389 393 // Load EDDF
Note: See TracChangeset
for help on using the changeset viewer.