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