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

JellyBeam.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_JELLYBEAM_H 00012 #define OPENCAL_JELLYBEAM_H 00013 00014 // Includes 00015 #include <OpenCAL/global.h> 00016 #include <OpenCAL/MassSpringSystem.h> 00017 00018 namespace OpenCAL 00019 { 00020 // Forward declarations 00021 namespace Utils { class Vector3; } 00022 using Utils::Vector3; 00023 00028 class OPENCAL_API JellyBeam: public MassSpringSystem 00029 { 00030 protected: 00031 // Member variables 00032 00033 public: 00034 // Constructors and destructor 00035 JellyBeam(System *parent, const Vector3 &from, const Vector3 &to); 00036 virtual ~JellyBeam(); 00037 00038 // Get functions 00039 00040 // Set functions 00041 00042 // Other functions 00043 virtual void render(); 00044 /* 00045 #ifdef USE_OPENGL 00046 virtual void drawGL(); 00047 #endif // USE_OPENGL 00048 */ 00049 00050 protected: 00051 // Protected functions 00052 void constructBeam(const Vector3 &from, const Vector3 &to); 00053 }; 00054 } 00055 00056 #endif // OPENCAL_JELLYBEAM_H

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