#include <RotateVertexDelta.h>
Inheritance diagram for Document::VertexAngleFinder:
Public Member Functions | |
VertexAngleFinder (std::size_t vertex_id) | |
Create associating with a vertex. | |
virtual void | read (const Track::Track &track, btQuaternion &angle) |
Read the assiociated vertex's angle. | |
virtual void | write (Track::Track &track, const btQuaternion &new_angle) |
Change the associated vertex's angle. | |
Protected Attributes | |
std::size_t | vertex_id |
The name of the associated vertex. |
Definition at line 26 of file RotateVertexDelta.h.
Document::VertexAngleFinder::VertexAngleFinder | ( | std::size_t | vertex_id | ) |
Create associating with a vertex.
vertex_id | The name of the vertex to associate with. |
Definition at line 18 of file RotateVertexDelta.cpp.
void Document::VertexAngleFinder::read | ( | const Track::Track & | track, | |
btQuaternion & | angle | |||
) | [virtual] |
Read the assiociated vertex's angle.
track | The track containing the associated vertex. | |
angle | Variable to set to the angle of the associated vertex. |
Implements Document::PropertyDeltaIdentifier< btQuaternion >.
Definition at line 23 of file RotateVertexDelta.cpp.
void Document::VertexAngleFinder::write | ( | Track::Track & | track, | |
const btQuaternion & | new_angle | |||
) | [virtual] |
Change the associated vertex's angle.
track | The track containing the associated vertex. | |
new_angle | The angle to set the associated vertex to. After rotating, the positive z direction is used as up; and the positive y direction is generally forward, along the track. |
Implements Document::PropertyDeltaIdentifier< btQuaternion >.
Definition at line 28 of file RotateVertexDelta.cpp.
std::size_t Document::VertexAngleFinder::vertex_id [protected] |
Generated at Mon Sep 6 00:41:17 2010 by Doxygen version 1.4.7 for Racer version svn335.