From 6bcf419d2e8f739b432d4790d1ba9d48ab65365b Mon Sep 17 00:00:00 2001 From: fcolin Date: Fri, 18 Nov 2011 12:14:12 +0000 Subject: --- ARMFCaptureD3D/MinMaxAvg.h | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 ARMFCaptureD3D/MinMaxAvg.h (limited to 'ARMFCaptureD3D/MinMaxAvg.h') diff --git a/ARMFCaptureD3D/MinMaxAvg.h b/ARMFCaptureD3D/MinMaxAvg.h new file mode 100644 index 0000000..9413ebc --- /dev/null +++ b/ARMFCaptureD3D/MinMaxAvg.h @@ -0,0 +1,18 @@ +#pragma once +class MinMaxAvg +{ +protected: + float min; + float max; + float sum; + int count; +public: + MinMaxAvg(void); + ~MinMaxAvg(void); + void Raz(); + void SetValue( float value ); + float Min() { return min; }; + float Max() { return max; }; + float Avg(); +}; + -- cgit v1.1