00001 // Copyright (c) 2002-2004 Rensselaer Polytechnic Institute 00002 // All rights reserved. 00003 00004 // Redistribution and use in source and binary forms, with or without 00005 // modification, are permitted provided that the following conditions are met: 00006 00007 // * Redistributions of source code must retain the above copyright notice, 00008 // this list of conditions and the following disclaimer. 00009 00010 // * Redistributions in binary form must reproduce the above copyright notice, 00011 // this list of conditions and the following disclaimer in the documentation 00012 // and/or other materials provided with the distribution. 00013 00014 // * Neither the name of Rensselaer Polytechnic Institute nor the names 00015 // of any of the authors and contributors may be used to endorse or promote 00016 // products derived from this software without specific prior written 00017 // permission. 00018 00019 // * Modified source versions must be plainly marked as such, and must not be 00020 // misrepresented as being the original software. 00021 00022 // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER AND CONTRIBUTORS ``AS IS'' 00023 // AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 00024 // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 00025 // ARE DISCLAIMED. IN NO EVENT SHALL RENSELLAER POLYTECHNIC INSTITUTE, THE 00026 // AUTHORS, OR CONTRIBUTORS BE HELD LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 00027 // SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, 00028 // PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; 00029 // OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, 00030 // WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR 00031 // OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF 00032 // ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.