Panda3D
filterProperties.cxx
Go to the documentation of this file.
1 /**
2  * PANDA 3D SOFTWARE
3  * Copyright (c) Carnegie Mellon University. All rights reserved.
4  *
5  * All use of this software is subject to the terms of the revised BSD
6  * license. You should have received a copy of this license along
7  * with this source code in a file named "LICENSE."
8  *
9  * @file filterProperties.cxx
10  * @author jyelon
11  * @date 2007-08-01
12  */
13 
14 #include "filterProperties.h"
15 
16 TypeHandle FilterProperties::_type_handle;
17 
18 /**
19  *
20  */
21 FilterProperties::
22 FilterProperties()
23 {
24 }
25 
26 /**
27  *
28  */
29 FilterProperties::
30 ~FilterProperties() {
31 }
32 
33 /**
34  *
35  */
36 void FilterProperties::
37 add_filter(FilterType t, PN_stdfloat a, PN_stdfloat b, PN_stdfloat c, PN_stdfloat d,
38  PN_stdfloat e, PN_stdfloat f, PN_stdfloat g, PN_stdfloat h,
39  PN_stdfloat i, PN_stdfloat j, PN_stdfloat k, PN_stdfloat l,
40  PN_stdfloat m, PN_stdfloat n) {
41  FilterConfig conf;
42  conf._type = t;
43  conf._a = a;
44  conf._b = b;
45  conf._c = c;
46  conf._d = d;
47  conf._e = e;
48  conf._f = f;
49  conf._g = g;
50  conf._h = h;
51  conf._i = i;
52  conf._j = j;
53  conf._k = k;
54  conf._l = l;
55  conf._m = m;
56  conf._n = n;
57  _config.push_back(conf);
58 }
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
TypeHandle is the identifier used to differentiate C++ class types.
Definition: typeHandle.h:81