30 lines
391 B
C++
30 lines
391 B
C++
#ifndef FAULTMANAGER_H
|
|
#define FAULTMANAGER_H
|
|
|
|
#include <opencv2/core.hpp>
|
|
|
|
class FaultManager
|
|
{
|
|
|
|
public:
|
|
|
|
FaultManager(int temp, double area)
|
|
{
|
|
if (temp)
|
|
temp = temp;
|
|
if (area)
|
|
area = area;
|
|
}
|
|
|
|
void SaveImage(cv::Mat image);
|
|
|
|
int GetTemp();
|
|
double GetArea();
|
|
|
|
private:
|
|
|
|
int temp = 100;
|
|
double area = 100;
|
|
};
|
|
|
|
#endif |