ESyS-Particle  2.3.2
MaxTrigger.h
Go to the documentation of this file.
1 
2 // //
3 // Copyright (c) 2003-2014 by The University of Queensland //
4 // Centre for Geoscience Computing //
5 // http://earth.uq.edu.au/centre-geoscience-computing //
6 // //
7 // Primary Business: Brisbane, Queensland, Australia //
8 // Licensed under the Open Software License version 3.0 //
9 // http://www.opensource.org/licenses/osl-3.0.php //
10 // //
12 
13 #ifndef __MAX_TRIGGER_H
14 #define __MAX_TRIGGER_H
15 
16 // --- project includes ---
17 #include "Foundation/vec3.h"
18 
19 // --- STL includes ---
20 #include <map>
21 
22 using std::map;
23 
25 {
26  double trig_on_value;
28  int buff_size;
29  int tail_size;
30 };
31 
33 {
34  private:
35  double m_on_level;
36  double m_off_level;
37 
38  public:
39  MaxTrigger(double,double);
40 
41  bool Off(const map<int,Vec3>& );
42  bool On(const map<int,Vec3>& );
43 };
44 
45 #endif // __MAX_TRIGGER_H