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_SEGMENTCONNECTION_H_ 00012 #define LIBTRACK_SEGMENTCONNECTION_H_ 00013 00014 #include <istream> 00015 00016 #include <LinearMath/btTransform.h> 00017 00018 namespace Track 00019 { 00020 00027 class SegmentConnection 00028 { 00029 public: 00036 SegmentConnection(unsigned int cross_section_id, btTransform transform); 00037 00042 SegmentConnection(std::istream & source); 00043 00045 virtual ~SegmentConnection(); 00046 00051 unsigned int get_cross_section_id() const; 00052 00057 const btTransform & get_transform() const; 00058 protected: 00059 unsigned int cross_section_id; 00060 btTransform transform; 00061 }; 00062 00063 } 00064 00065 #endif /*LIBTRACK_SEGMENTCONNECTION_H_*/
Generated at Mon Sep 6 00:41:12 2010 by Doxygen version 1.4.7 for Racer version svn335.