VR-Vantage 3.1 API Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
seInterface.h
Go to the documentation of this file.
1 
2 // Copyright JRM Enterprises, Inc. 2004
3 // All rights reserved.
4 //
5 // This code is the intellectual property of JRM Enterprises, Inc.
6 // It may not be used or released as source or compiled binary form
7 // without the prior written consent of JRM Enterprises, Inc.
8 //
9 // Original Author: MWO Date: Nov 2004
10 //
11 // $Header:
12 //
13 // $Log:
14 //
16 
17 #ifndef _seINTERFACE_H_
18 #define _seINTERFACE_H_
19 
20 //common interface includes
21 //#include "seIncAll.h"
22 #include "ciOptics.h"
23 #include "ciDetector.h"
24 #include "ciElectronics.h"
25 #include "ciSenSim.h"
26 
27 //sensim/sensoreffects includes
28 #include "seSenSim.h"
29 #include "seOptics.h"
30 #include "seDetector.h"
31 #include "seElectronics.h"
32 #include "ciInterface.h"
33 
35 // class: seInterface
36 //
37 // description: CI to SE (sensor effecs/sensim) interface class
38 //
40 {
41 public:
42 
44  // copySensorEffects
52  void copySensorEffects(seSenSim *seData, bool copyToCI = false, int index = -1);
53 
55  // copyOptics
63  void copyOptics(seOptics *seOpticsData, bool copyToCI = false, int index = -1);
64 
66  // copyDetector
74  void copyDetector(seDetector *seDetectorData, bool copyToCI = false, int index = -1);
75 
77  // copyElectronics
85  void copyElectronics(seElectronics *seElectronicsData, bool copyToCI = false, int index = -1);
86 
88  // modifySeStringPath
96  std::string modifySeStringPath(char *stringToModify, bool copyToCI = false);
97 
99  // setDataDirectoryForSenSim
107  void setDataDirectoryForSenSim(char *path);
108 
109 
111  // getDataDirectoryForSenSim
118  char *getDataDirectoryForSenSim() { return m_dataDirectoryPath; }
119 
121  // seInterface
126  seInterface();
127 
129  // ~seInterface
134  virtual ~seInterface();
135 
139  // * \par
140  // * Sets the sensor effects enable flags in the interface.
141  // *
142  // * \param flag - flag data to be assigned
143  // */
144  // void setSensorEffectsFlags(int flag) { m_enableFlags = flag; }
145  //
149  // * \par
150  // * Gets the sensor effects enable flags in the interface.
151  // *
152  // * \return sensor effects enable flags
153  // */
154  // int isSensorEffectsOn() { return m_enableFlags & 0x8; }
155  //
159  // * \par
160  // * indicates that filtering is on.
161  // *
162  // * \return flag indicating whether filtering is on.
163  // */
164  // int isFilterOn() { return m_enableFlags & 0x1; }
165  //
169  // * \par
170  // * indicates that noise processing is on.
171  // *
172  // * \return flag indicating whether noise processing is on.
173  // */
174  // int isNoiseOn() { return m_enableFlags & 0x2; }
175  //
179  // * \par
180  // * indicates that gain and level processing is on.
181  // *
182  // * \return flag indicating whether gain and level processing is on.
183  // */
184  // int isGainOn() { return m_enableFlags & 0x4; }
185 
186 protected:
187 
189 
191 
192  char m_dataDirectoryPath[255];
193 };
194 
195 #endif // _seINTERFACE_H_


Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)