#include <MoveTrackAttachmentDelta.h>
Inheritance diagram for Document::TrackAttachmentPositionFinder:
Public Member Functions | |
TrackAttachmentPositionFinder (std::size_t edge_name, std::size_t attachment_name) | |
Create, associating with a vertex. | |
virtual void | read (const Track::Track &track, btVector3 &position) |
Get the location of the associated track attachment. | |
virtual void | write (Track::Track &track, const btVector3 &new_position) |
Move the associated track attachment. | |
Protected Attributes | |
std::size_t | m_edge_name |
The name of the edge. | |
std::size_t | m_attachment_name |
The name of the attachment. |
Definition at line 24 of file MoveTrackAttachmentDelta.h.
Document::TrackAttachmentPositionFinder::TrackAttachmentPositionFinder | ( | std::size_t | edge_name, | |
std::size_t | attachment_name | |||
) |
Create, associating with a vertex.
edge_name | The name of the edge with the attachment on it. | |
attachment_nmae | The name of the attachment. |
Definition at line 20 of file MoveTrackAttachmentDelta.cpp.
void Document::TrackAttachmentPositionFinder::read | ( | const Track::Track & | track, | |
btVector3 & | position | |||
) | [virtual] |
Get the location of the associated track attachment.
track | The Track the associated vertex is in. | |
position | Position of the TrackAttachment. The first component is how far along the edge's curve the point is on the scale of 0 (beginning) to 1 (end). The second component is the lateral position, and the third component is the vertical position. |
Implements Document::PropertyDeltaIdentifier< btVector3 >.
Definition at line 27 of file MoveTrackAttachmentDelta.cpp.
void Document::TrackAttachmentPositionFinder::write | ( | Track::Track & | track, | |
const btVector3 & | new_position | |||
) | [virtual] |
Move the associated track attachment.
track | The Track containing the associated vertex. | |
new_position | The location to move the associated vertex to. |
Implements Document::PropertyDeltaIdentifier< btVector3 >.
Definition at line 37 of file MoveTrackAttachmentDelta.cpp.
std::size_t Document::TrackAttachmentPositionFinder::m_attachment_name [protected] |
std::size_t Document::TrackAttachmentPositionFinder::m_edge_name [protected] |
Generated at Mon Sep 6 00:41:17 2010 by Doxygen version 1.4.7 for Racer version svn335.