Document::VertexAngleFinder Class Reference

Find/Change the angle of a particular vertex. More...

#include <RotateVertexDelta.h>

Inheritance diagram for Document::VertexAngleFinder:

Document::PropertyDeltaIdentifier< btQuaternion > List of all members.

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.

Detailed Description

Find/Change the angle of a particular vertex.

Definition at line 26 of file RotateVertexDelta.h.


Constructor & Destructor Documentation

Document::VertexAngleFinder::VertexAngleFinder ( std::size_t  vertex_id  ) 

Create associating with a vertex.

Parameters:
vertex_id The name of the vertex to associate with.

Definition at line 18 of file RotateVertexDelta.cpp.


Member Function Documentation

void Document::VertexAngleFinder::read ( const Track::Track track,
btQuaternion &  angle 
) [virtual]

Read the assiociated vertex's angle.

Parameters:
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.

Parameters:
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.


Member Data Documentation

std::size_t Document::VertexAngleFinder::vertex_id [protected]

The name of the associated vertex.

Definition at line 48 of file RotateVertexDelta.h.


The documentation for this class was generated from the following files:
Get Racer at SourceForge.net. Fast, secure and Free Open Source software downloads

Generated at Mon Sep 6 00:41:17 2010 by Doxygen version 1.4.7 for Racer version svn335.