#include <zZoneInfluence.h>
Public Member Functions | |
zZoneInfluenceItemRotation (zZonePtr aZone) | |
virtual | ~zZoneInfluenceItemRotation () |
void | set (const tPolynomialMarshaler< nMessage > &other) |
virtual void | apply (const tPolynomial< nMessage > &value) |
Protected Attributes | |
tPolynomialMarshaler< nMessage > | rotation |
Definition at line 48 of file zZoneInfluence.h.
zZoneInfluenceItemRotation::zZoneInfluenceItemRotation | ( | zZonePtr | aZone | ) |
Definition at line 26 of file zZoneInfluence.cpp.
00026 : 00027 zZoneInfluenceItem(aZone), 00028 rotation() 00029 {}
virtual zZoneInfluenceItemRotation::~zZoneInfluenceItemRotation | ( | ) | [inline, virtual] |
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 }