zZoneInfluenceItemScale Class Reference

#include <zZoneInfluence.h>

Inheritance diagram for zZoneInfluenceItemScale:

Inheritance graph
[legend]
Collaboration diagram for zZoneInfluenceItemScale:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 zZoneInfluenceItemScale (zZonePtr aZone)
virtual ~zZoneInfluenceItemScale ()
void set (REAL sca)
virtual void apply (const tPolynomial< nMessage > &value)

Protected Attributes

REAL scale


Detailed Description

Definition at line 63 of file zZoneInfluence.h.


Constructor & Destructor Documentation

zZoneInfluenceItemScale::zZoneInfluenceItemScale ( zZonePtr  aZone  ) 

Definition at line 39 of file zZoneInfluence.cpp.

00039                                                               :
00040         zZoneInfluenceItem(aZone),
00041         scale(0.0)
00042 {}

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

Definition at line 68 of file zZoneInfluence.h.

00068 {};


Member Function Documentation

void zZoneInfluenceItemScale::set ( REAL  sca  )  [inline]

Definition at line 70 of file zZoneInfluence.h.

References scale.

00070                        {
00071         scale = sca;
00072     };

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

Reimplemented from zZoneInfluenceItem.

Definition at line 45 of file zZoneInfluence.cpp.

References scale, tFunction::SetOffset(), tFunction::SetSlope(), and zZoneInfluenceItem::zone.

00045                                                                  {
00046     tFunction tfScale;
00047     tfScale.SetOffset( scale );
00048     tfScale.SetSlope( 0.0f );
00049     zone->getShape()->setScale( tfScale );
00050 }

Here is the call graph for this function:


Member Data Documentation

REAL zZoneInfluenceItemScale::scale [protected]

Definition at line 65 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:41 2008 for Armagetron Advanced by  doxygen 1.5.4