#include <SegmentConnection.h>
Public Member Functions | |
SegmentConnection (unsigned int cross_section_id, btTransform transform) | |
Construct from normal variables. | |
SegmentConnection (std::istream &source) | |
Construct by reading data from a stream. | |
virtual | ~SegmentConnection () |
destructor | |
unsigned int | get_cross_section_id () const |
Get the cross section id. | |
const btTransform & | get_transform () const |
Get the transformation of the cross section from the origin of. | |
Protected Attributes | |
unsigned int | cross_section_id |
btTransform | transform |
There is two basic components, an unsigned integer which identifies the cross section, and a transformation. We can pick stuff with the same cross section and transform them so the cross sections line up and there are no holes.
Definition at line 27 of file SegmentConnection.h.
Track::SegmentConnection::SegmentConnection | ( | unsigned int | cross_section_id, | |
btTransform | transform | |||
) |
Construct from normal variables.
cross_section_id | A name for the shape of the cross section around the hole that is used throught the theme. | |
transform | A transform from the TrackMeshes' origin to the cross section's origin, so that the cross section lies across the xz plane. |
Definition at line 17 of file SegmentConnection.cpp.
Track::SegmentConnection::SegmentConnection | ( | std::istream & | source | ) |
Construct by reading data from a stream.
source | The stream to read from. It will be advanced to the end of the SegmentConnection's description. |
Definition at line 24 of file SegmentConnection.cpp.
Track::SegmentConnection::~SegmentConnection | ( | ) | [virtual] |
unsigned int Track::SegmentConnection::get_cross_section_id | ( | ) | const |
Get the cross section id.
Definition at line 43 of file SegmentConnection.cpp.
const btTransform & Track::SegmentConnection::get_transform | ( | ) | const |
Get the transformation of the cross section from the origin of.
Definition at line 48 of file SegmentConnection.cpp.
unsigned int Track::SegmentConnection::cross_section_id [protected] |
Definition at line 59 of file SegmentConnection.h.
btTransform Track::SegmentConnection::transform [protected] |
Definition at line 60 of file SegmentConnection.h.
Generated at Mon Sep 6 00:41:18 2010 by Doxygen version 1.4.7 for Racer version svn335.