StenoseResult.h 895 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. #ifndef _StenoseResult_h_
  2. #define _StenoseResult_h_
  3. namespace stenose
  4. {
  5. typedef struct Point
  6. {
  7. int x;
  8. int y;
  9. } Point;
  10. typedef struct StenoseNBResult
  11. {
  12. double m_dblSurface;
  13. double m_dblVesselArea;
  14. double m_dblRatio;
  15. double m_dblDensity;
  16. int m_dwMean;
  17. int code_retour;
  18. int code_debug1;
  19. int code_debug2;
  20. int code_debug3;
  21. int code_debug4;
  22. int code_debug5;
  23. int m_dwPoints;
  24. Point* m_pPoints;
  25. } StenoseNBResult;
  26. typedef struct StenoseResult
  27. {
  28. double m_dblEllipse;
  29. double m_dblStenose;
  30. double m_dblRatio;
  31. int code_retour;
  32. int code_debug1;
  33. int code_debug2;
  34. int code_debug3;
  35. int code_debug4;
  36. int code_debug5;
  37. /** Arrays of length = m_dwPoints.
  38. They contain the coordinates of detected points.
  39. **/
  40. int m_dwPoints;
  41. Point* m_pPoints;
  42. } StenoseResult;
  43. }
  44. #endif