Panda3D
|
00001 // Filename: filterProperties.cxx 00002 // Created by: jyelon (01Aug2007) 00003 // 00004 //////////////////////////////////////////////////////////////////// 00005 // 00006 // PANDA 3D SOFTWARE 00007 // Copyright (c) Carnegie Mellon University. All rights reserved. 00008 // 00009 // All use of this software is subject to the terms of the revised BSD 00010 // license. You should have received a copy of this license along 00011 // with this source code in a file named "LICENSE." 00012 // 00013 //////////////////////////////////////////////////////////////////// 00014 00015 #include "filterProperties.h" 00016 00017 TypeHandle FilterProperties::_type_handle; 00018 00019 //////////////////////////////////////////////////////////////////// 00020 // Function: FilterProperties::Constructor 00021 // Access: Published 00022 // Description: 00023 //////////////////////////////////////////////////////////////////// 00024 FilterProperties:: 00025 FilterProperties() 00026 { 00027 } 00028 00029 //////////////////////////////////////////////////////////////////// 00030 // Function: FilterProperties::Destructor 00031 // Access: Published 00032 // Description: 00033 //////////////////////////////////////////////////////////////////// 00034 FilterProperties:: 00035 ~FilterProperties() { 00036 } 00037 00038 //////////////////////////////////////////////////////////////////// 00039 // Function: FilterProperties::add_filter 00040 // Access: Private 00041 // Description: 00042 //////////////////////////////////////////////////////////////////// 00043 void FilterProperties:: 00044 add_filter(FilterType t, PN_stdfloat a, PN_stdfloat b, PN_stdfloat c, PN_stdfloat d, PN_stdfloat e, PN_stdfloat f, PN_stdfloat g, PN_stdfloat h) { 00045 FilterConfig conf; 00046 conf._type = t; 00047 conf._a = a; 00048 conf._b = b; 00049 conf._c = c; 00050 conf._d = d; 00051 conf._e = e; 00052 conf._f = f; 00053 conf._g = g; 00054 conf._h = h; 00055 _config.push_back(conf); 00056 } 00057