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

GPositionalInfluence.h

00001 /***************************************************************************
00002  *   Copyright (C) 2004 by Raphael Langerhorst                             *
00003  *   raphael-langerhorst@gmx.at                                            *
00004  *                                                                         *
00005  *   Permission is hereby granted, free of charge, to any person obtaining *
00006  *   a copy of this software and associated documentation files (the       *
00007  *   "Software"), to deal in the Software without restriction, including   *
00008  *   without limitation the rights to use, copy, modify, merge, publish,   *
00009  *   distribute, sublicense, and/or sell copies of the Software, and to    *
00010  *   permit persons to whom the Software is furnished to do so, subject to *
00011  *   the following conditions:                                             *
00012  *                                                                         *
00013  *   The above copyright notice and this permission notice shall be        *
00014  *   included in all copies or substantial portions of the Software.       *
00015  *                                                                         *
00016  *   THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,       *
00017  *   EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF    *
00018  *   MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.*
00019  *   IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR     *
00020  *   OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, *
00021  *   ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR *
00022  *   OTHER DEALINGS IN THE SOFTWARE.                                       *
00023  ***************************************************************************/
00024  
00025 #ifndef GBEGPOSITIONALINFLUENCEH
00026 #define GBEGPOSITIONALINFLUENCEH
00027 
00028 #include <GElementInfluence.h>
00029 
00030 #include <GVector3.h>
00031 
00032 namespace GBE {
00033 
00042 class GPositionalInfluence : public GCS::GElementInfluence
00043 {
00044   protected:
00045 
00050     const GCS::GVector3 Position;
00051     
00056     const GCS::GVector3 Rotation;
00057     
00062     const double Radius;
00063     
00068     const GCS::GElementID Parent;
00069     
00070 public:
00074     GPositionalInfluence(const GCS::GElementID& source, const GCS::GEnergy& energy,
00075                          const GCS::GVector3& position,
00076                          const GCS::GVector3& rotation,
00077                          double radius,
00078                          const GCS::GElementID& parent);
00079 
00083     virtual ~GPositionalInfluence();
00084     
00088     const GCS::GVector3& position() const;
00089     
00093     const GCS::GVector3& rotation() const;
00094     
00098     const double radius() const;
00099     
00103     const GCS::GElementID& parent() const;
00104 
00105 };
00106 
00107 }
00108 
00109 #endif

Generated on Thu Oct 21 21:18:03 2004 for G System by doxygen 1.3.6