![]() |
VR-Forces 4.0.4 Class Documentation
|
This class does nothing at all. More...

Public Member Functions | |
| DtTMBackground () | |
| default constructor | |
| DtTMBackground (const DtTMBackground &orig) | |
| default copy constructor | |
| virtual | ~DtTMBackground () |
| default destructor | |
| DtTMBackground & | operator= (const DtTMBackground &rhs) |
| default assignment operator | |
| virtual bool | init (DtTMArea *area) |
| This function must be called or else nothing will happen. | |
| virtual void | draw (QPainter *painter=NULL)=0 |
| Overload these functions in a working background class. | |
| virtual void | clear ()=0 |
| virtual const DtTMViewportExtents * | viewportExtents () const |
| virtual void | setViewportExtents (DtTMViewportExtents *v) |
| virtual QPixmap * | pixmap () const |
| virtual void | setPixmap (QPixmap *) |
| Deletes old pixmap and resets new pixmap into lens area. | |
| void | setNeedsRedraw (bool) |
| bool | needsRedraw () const |
Protected Attributes | |
| QPixmap * | myPixmap |
| DtTMViewportExtents * | myViewportExtents |
| DtTMArea * | myArea |
| bool | myNeedsRedraw |
This class does nothing at all.
It is a virtual interface for a real background class such as one that handles pixmaps, terrain, rastermaps, or whatever doohicky you want as a background.
default constructor
| DtTMBackground::DtTMBackground | ( | const DtTMBackground & | orig | ) |
default copy constructor
| virtual DtTMBackground::~DtTMBackground | ( | ) | [virtual] |
default destructor
| DtTMBackground& DtTMBackground::operator= | ( | const DtTMBackground & | rhs | ) |
default assignment operator
| virtual bool DtTMBackground::init | ( | DtTMArea * | area | ) | [virtual] |
This function must be called or else nothing will happen.
Reimplemented in DtTerrainBackground, and DtPixmapBackground.
| virtual void DtTMBackground::draw | ( | QPainter * | painter = NULL | ) | [pure virtual] |
Overload these functions in a working background class.
Implemented in DtTerrainBackground, and DtPixmapBackground.
| virtual void DtTMBackground::clear | ( | ) | [pure virtual] |
Implemented in DtTerrainBackground, and DtPixmapBackground.
| virtual const DtTMViewportExtents* DtTMBackground::viewportExtents | ( | ) | const [virtual] |
| virtual void DtTMBackground::setViewportExtents | ( | DtTMViewportExtents * | v | ) | [virtual] |
| virtual QPixmap* DtTMBackground::pixmap | ( | ) | const [virtual] |
| virtual void DtTMBackground::setPixmap | ( | QPixmap * | ) | [virtual] |
Deletes old pixmap and resets new pixmap into lens area.
| void DtTMBackground::setNeedsRedraw | ( | bool | b | ) | [inline] |
References myNeedsRedraw.
| bool DtTMBackground::needsRedraw | ( | ) | const [inline] |
References myNeedsRedraw.
QPixmap* DtTMBackground::myPixmap [protected] |
DtTMViewportExtents* DtTMBackground::myViewportExtents [protected] |
DtTMArea* DtTMBackground::myArea [protected] |
bool DtTMBackground::myNeedsRedraw [protected] |
Referenced by needsRedraw(), and setNeedsRedraw().