16 #if !defined(_ciELECTRONICS_H_)
17 #define _ciELECTRONICS_H_
21 #endif // _MSC_VER > 1000
125 void setGain(
double gain ) { m_gain = gain; }
169 void setAGCGainThreshold(
const double threshold)
171 m_AGCGainThreshold = threshold;
180 double getAGCGainThreshold()
182 return m_AGCGainThreshold;
192 if(mode<0) m_AGCMode=0;
193 else if(mode>3) m_AGCMode=3;
194 else m_AGCMode =
mode;
285 void setColorMapUserDefinedRadFile(
const char* filepath);
306 void setBitDepthOutput(
bool enable,
float bitDepth )
308 m_bitDepthOutput = bitDepth;
309 m_enableBitDepthOutput =
enable;
318 void getBitDepthOutput(
bool &
enable,
float &bitDepth)
const
320 bitDepth = m_bitDepthOutput;
321 enable = m_enableBitDepthOutput;
348 bool archive(std::ofstream &outf,
int idx = 0);
359 int serialize(
char *filepath,
int idx);
381 bool parseXML(
clXML& xmlDocument);
391 bool loadXMLNode(
std::string tag,
char *nodeString);
427 bool loadXMLNode(
std::string tag,
double *nodeDouble);
437 void saveXML(
clXML* xmlDocument);
446 int serializeCheck(
char *filepath);
504 char m_colorMapUserDefinedRadFile[512];
517 #endif // _ciELECTRONICS_H_