00001 /* -*- C++ -*- */ 00002 00003 /* COPYRIGHT 00004 * 00005 * This file is part of the Visual Effects Engine - VEE 00006 * 00007 * Read the "VEE-LICENSE" file for the license. 00008 * 00009 * Authors & Copyright: 00010 * 00011 * Tommi Ilmonen, Tuukka Heikura, Marko Myllymaa and 00012 * Janne Kontkanen 2001-2004 00013 * 00014 * Additional copyrights: Tekes 2003-2004 00015 * 00016 * firstname.lastname@hut.fi 00017 * 00018 */ 00019 00020 #ifndef VEE_RIGID_PARTICLE_H 00021 #define VEE_RIGID_PARTICLE_H 00022 00023 #include <vee_particle2.h> 00024 00027 class VEE_RigidParticle : public VEE_Particle2 00028 { 00029 public: 00030 VEE_RigidParticle(); 00031 virtual ~VEE_RigidParticle(); 00032 00033 virtual bool setValue(const char *, VEE_Value *); 00034 virtual VEE_Object *clone() const; 00035 00036 int mesh() const { return m_mesh; } 00037 const VEE_Vector3 & rotationAxis() const { return m_rotationAxis; } 00038 00039 protected: 00040 int m_mesh; 00041 VEE_Vector3 m_rotationAxis; 00042 }; 00043 00044 #endif