ChassisCircular2 Class Reference

Mechanics Framework, circular base, two wheels. More...

#include <chassiscircular2.h>

Inheritance diagram for ChassisCircular2:

Inheritance graph
[legend]
Collaboration diagram for ChassisCircular2:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 ChassisCircular2 (MechanicsDocument *mechanicsDocument, bool newItem, const char *id=0)
 ~ChassisCircular2 ()
virtual void advance (int phase)

Static Public Member Functions

static Itemconstruct (ItemDocument *itemDocument, bool newItem, const char *id)
static LibraryItemlibraryItem ()

Protected Member Functions

virtual void itemResized ()
void drawShape (QPainter &p)

Protected Attributes

double m_theta1
double m_theta2
QRect m_wheel1Pos
QRect m_wheel2Pos

Detailed Description

Mechanics Framework, circular base, two wheels.

Author:
David Saxton

Definition at line 23 of file chassiscircular2.h.


Member Function Documentation

void ChassisCircular2::itemResized (  )  [protected, virtual]

Called when this item is resized, so that sub classes can do whatever

Reimplemented from MechanicsItem.

Definition at line 68 of file chassiscircular2.cpp.

References m_wheel1Pos, m_wheel2Pos, and Item::sizeRect().

Referenced by ChassisCircular2().


The documentation for this class was generated from the following files:
Generated on Tue May 8 17:05:35 2007 for KTechLab by  doxygen 1.5.1