Dragable.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 LIBTRACK_DRAGABLE_H_
00012 #define LIBTRACK_DRAGABLE_H_
00013 
00014 #include "Selectable.h"
00015 #include <boost/shared_ptr.hpp>
00016 #include <LinearMath/btVector3.h>
00017 #include "../document/DocumentDelta.h"
00018 
00019 namespace Track
00020 {
00021 
00022 namespace EditAssist
00023 {
00024 
00029 class Dragable
00030     :   public Selectable
00031 {
00032 public:
00039     virtual void snap(btVector3 & position, btVector3 normal) const;
00040     
00047     virtual boost::shared_ptr<Document::DocumentDelta> make_delta(btVector3 position) const = 0;
00048 };
00049 
00050 }
00051 
00052 }
00053 
00054 #endif // LIBTRACk_DRAGABLE_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.