Changeset 11998 for trunk/FACT++/gui
- Timestamp:
- 09/07/11 09:57:01 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/gui/FactGui.h
r11994 r11998 427 427 DimStampedInfo fDimBiasCurrent; 428 428 429 DimStampedInfo fDimFeedbackDeviation; 430 DimStampedInfo fDimFeedbackReference; 431 429 432 map<string, DimInfo*> fServices; 430 433 … … 2447 2450 SetFscValue(fHumidity3, d, 2, enable); 2448 2451 SetFscValue(fHumidity4, d, 3, enable); 2452 } 2453 2454 // ========================== Feedback ================================== 2455 2456 void handleFeedbackDeviation(const DimData &d) 2457 { 2458 if (!CheckSize(d, 416*sizeof(float))) 2459 return; 2460 2461 const float *ptr = d.ptr<float>(); 2462 2463 fFeedbackDevCam->SetData(valarray<float>(ptr, 416)); 2464 fFeedbackDevCam->updateGL(); 2465 } 2466 2467 void handleFeedbackReference(const DimData &d) 2468 { 2469 if (!CheckSize(d, 416*sizeof(float))) 2470 return; 2471 2472 const float *ptr = d.ptr<float>(); 2473 2474 fFeedbackRefCam->SetData(valarray<float>(ptr, 416)); 2475 fFeedbackRefCam->updateGL(); 2449 2476 } 2450 2477 … … 2962 2989 if (getInfo()==&fDimBiasCurrent) 2963 2990 return PostInfoHandler(&FactGui::handleBiasCurrent); 2991 2992 if (getInfo()==&fDimFeedbackReference) 2993 return PostInfoHandler(&FactGui::handleFeedbackReference); 2994 2995 if (getInfo()==&fDimFeedbackDeviation) 2996 return PostInfoHandler(&FactGui::handleFeedbackDeviation); 2964 2997 2965 2998 // if (getInfo()==&fDimFadFiles) … … 3510 3543 fDimBiasCurrent ("BIAS_CONTROL/CURRENT", (void*)NULL, 0, this), 3511 3544 //- 3545 fDimFeedbackDeviation ("FEEDBACK/DEVIATION", (void*)NULL, 0, this), 3546 fDimFeedbackReference ("FEEDBACK/REFERENCE", (void*)NULL, 0, this), 3547 //- 3512 3548 fEventData(0), fDrsCalibration(1440*1024*6), 3513 3549 fTimeStamp0(0)
Note:
See TracChangeset
for help on using the changeset viewer.