ESyS-Particle
4.0.1
Main Page
Related Pages
Namespaces
Classes
Files
File List
Fields
MaxTrigger.h
1
2
// //
3
// Copyright (c) 2003-2011 by The University of Queensland //
4
// Earth Systems Science Computational Centre (ESSCC) //
5
// http://www.uq.edu.au/esscc //
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
24
struct
MaxTrigParams
25
{
26
double
trig_on_value;
27
double
trig_off_value;
28
int
buff_size;
29
int
tail_size;
30
};
31
32
class
MaxTrigger
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
Generated on Mon Jun 4 2012 22:48:26 for ESyS-Particle by
1.8.1