zZoneInfluenceItemRotation Class Reference

#include <zZoneInfluence.h>

Inheritance diagram for zZoneInfluenceItemRotation:

Inheritance graph
[legend]
Collaboration diagram for zZoneInfluenceItemRotation:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 zZoneInfluenceItemRotation (zZonePtr aZone)
virtual ~zZoneInfluenceItemRotation ()
void set (const tPolynomialMarshaler< nMessage > &other)
virtual void apply (const tPolynomial< nMessage > &value)

Protected Attributes

tPolynomialMarshaler< nMessagerotation


Detailed Description

Definition at line 48 of file zZoneInfluence.h.


Constructor & Destructor Documentation

zZoneInfluenceItemRotation::zZoneInfluenceItemRotation ( zZonePtr  aZone  ) 

Definition at line 26 of file zZoneInfluence.cpp.

00026                                                                     :
00027         zZoneInfluenceItem(aZone),
00028         rotation()
00029 {}

virtual zZoneInfluenceItemRotation::~zZoneInfluenceItemRotation (  )  [inline, virtual]

Definition at line 53 of file zZoneInfluence.h.

00053 {};


Member Function Documentation

void zZoneInfluenceItemRotation::set ( const tPolynomialMarshaler< nMessage > &  other  )  [inline]

Definition at line 55 of file zZoneInfluence.h.

References rotation.

00056     {
00057         rotation = other;
00058     }

void zZoneInfluenceItemRotation::apply ( const tPolynomial< nMessage > &  value  )  [virtual]

Reimplemented from zZoneInfluenceItem.

Definition at line 32 of file zZoneInfluence.cpp.

References tPolynomialMarshaler< T >::marshal(), rotation, and zZoneInfluenceItem::zone.

00032                                                                       {
00033 
00034     tPolynomial<nMessage> tf = rotation.marshal(valueEq);
00035     
00036     zone->getShape()->setRotation2( tf );
00037 }

Here is the call graph for this function:


Member Data Documentation

tPolynomialMarshaler<nMessage> zZoneInfluenceItemRotation::rotation [protected]

Definition at line 50 of file zZoneInfluence.h.

Referenced by apply(), and set().


The documentation for this class was generated from the following files:
Generated on Sun Mar 16 00:02:40 2008 for Armagetron Advanced by  doxygen 1.5.4