ControlPoint.h

Go to the documentation of this file.
00001 
00005 /* Copyright © 2009 James Legg.
00006     This program is free software: you can redistribute it and/or modify
00007     it under the terms of the GNU General Public License as published by
00008     the Free Software Foundation, either version 3 of the License, or
00009     (at your option) any later version.
00010 */
00011 #ifndef CONTROL_POINT_H_
00012 #define CONTROL_POINT_H_
00013 
00014 #include "Dragable.h"
00015 
00016 #include <LinearMath/btVector3.h>
00017 
00018 namespace Track
00019 {
00020 
00026 namespace EditAssist
00027 {
00028 
00031 class ControlPoint
00032     :   public Dragable
00033 {
00034 public:
00035     // from Track::Selectable
00036     virtual bool is_here(btVector3 start, btVector3 stop, btScalar radius) const;
00037     
00041     const btVector3 & get_position() const;
00042     
00045     virtual void set_position(const btVector3 & new_position);
00046     
00055     virtual void draw() const = 0;
00056 protected:
00057     btVector3 position;
00058 };
00059 
00060 }
00061 
00062 }
00063 
00064 #endif // CONTROL_POINT_H_

Get Racer at SourceForge.net. Fast, secure and Free Open Source software downloads

Generated at Mon Sep 6 00:41:11 2010 by Doxygen version 1.4.7 for Racer version svn335.