FACT++  1.0
char * QCameraWidget::GetObjectInfo ( int  px,
int  py 
)

Definition at line 326 of file QCameraWidget.cc.

References BasicGlCamera::fData, BasicGlCamera::PixelAtPosition(), and str.

327  {
328 
329  static stringstream stream;
330  static string str;
331  const int pixel = this->PixelAtPosition(QPoint(px, py));
332  if (pixel >= 0)
333  {
334  stream << "Pixel=" << pixel << " Data=" << fData[pixel] << '\0';
335  }
336  str = stream.str();
337  return const_cast<char*>(str.c_str());
338  }
char str[80]
Definition: test_client.c:7
std::vector< double > fData
virtual int PixelAtPosition(const QPoint &pos)

+ Here is the call graph for this function: