Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | Related Pages

JellyMesh.h

00001 /*************************************************************************** 00002 * This file is part of OpenCAL: Open Computer Animation Library * 00003 * I created OpenCAL as my master's thesis Computer Science (multimedia) * 00004 * at the tUL university in Diepenbeek, Belgium * 00005 * * 00006 * Copyright (C) 2003-2004 by Jeroen Dierckx * 00007 * jeroen.dierckx@student.luc.ac.be * 00008 * * 00009 ***************************************************************************/ 00010 00011 #ifndef OPENCAL_JELLYMESH_H 00012 #define OPENCAL_JELLYMESH_H 00013 00014 // Includes 00015 #include <OpenCAL/global.h> 00016 #include <OpenCAL/MassSpringSystem.h> 00017 00018 #include <OpenCAL/Vector3.h> 00019 using OpenCAL::Utils::Vector3; 00020 00021 namespace OpenCAL 00022 { 00023 // Forward declarations 00024 class PointMass; 00025 00032 class OPENCAL_API JellyMesh: public MassSpringSystem 00033 { 00034 protected: 00035 // Member variables 00036 string m_filename; 00037 00038 public: 00039 // Constructors and destructor 00040 JellyMesh(System *parent, const string &filename, const Vector3 &position = Vector3::zero); 00041 virtual ~JellyMesh(); 00042 00043 protected: 00044 // Protected functions 00045 void constructMesh(const Vector3 &position); 00046 }; 00047 } 00048 00049 #endif // OPENCAL_JELLYMESH_H

Generated on Sun Aug 15 19:19:22 2004 for OpenCAL: Open Computer Animation Library by doxygen 1.3.8