Track::PieceDistortion Class Reference

defines the transformation that can be put on a single mesh piece of a track. More...

#include <PieceDistortion.h>

List of all members.

Public Member Functions

 PieceDistortion ()
 PieceDistortion (const PathEdge &edge, unsigned int number, btScalar length, btScalar min_y)
 Create, initalising componets.
virtual ~PieceDistortion ()
btVector3 operator() (btVector3 vertex)
 distort a single vertex

Public Attributes

const PathEdgeedge
unsigned int number
btScalar length
btScalar min_y


Detailed Description

defines the transformation that can be put on a single mesh piece of a track.

Definition at line 23 of file PieceDistortion.h.


Constructor & Destructor Documentation

Track::PieceDistortion::PieceDistortion (  ) 

Track::PieceDistortion::PieceDistortion ( const PathEdge edge,
unsigned int  number,
btScalar  length,
btScalar  min_y 
)

Create, initalising componets.

Parameters:
edge The edge information for the arc the segment lies on.
number Which segment in the repetitions along the edge, starting from 0.
length The length of the segment in the y direction.
min_y The smallest y value in the segment.

Definition at line 17 of file PieceDistortion.cpp.

Track::PieceDistortion::~PieceDistortion (  )  [virtual]

Definition at line 29 of file PieceDistortion.cpp.


Member Function Documentation

btVector3 Track::PieceDistortion::operator() ( btVector3  vertex  ) 

distort a single vertex

Definition at line 33 of file PieceDistortion.cpp.


Member Data Documentation

const PathEdge& Track::PieceDistortion::edge

Definition at line 38 of file PieceDistortion.h.

btScalar Track::PieceDistortion::length

Definition at line 41 of file PieceDistortion.h.

btScalar Track::PieceDistortion::min_y

Definition at line 42 of file PieceDistortion.h.

unsigned int Track::PieceDistortion::number

Definition at line 40 of file PieceDistortion.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:18 2010 by Doxygen version 1.4.7 for Racer version svn335.