![]() |
VR-Forces 4.1 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.
| DtTMBackground::DtTMBackground | ( | ) |
default constructor
| DtTMBackground::DtTMBackground | ( | const DtTMBackground & | orig | ) |
default copy constructor
|
virtual |
default destructor
| DtTMBackground& DtTMBackground::operator= | ( | const DtTMBackground & | rhs | ) |
default assignment operator
This function must be called or else nothing will happen.
Reimplemented in DtTerrainBackground, and DtPixmapBackground.
|
pure virtual |
Overload these functions in a working background class.
Implemented in DtTerrainBackground, and DtPixmapBackground.
|
pure virtual |
Implemented in DtTerrainBackground, and DtPixmapBackground.
|
virtual |
|
virtual |
|
virtual |
|
virtual |
Deletes old pixmap and resets new pixmap into lens area.
|
inline |
References myNeedsRedraw.
|
inline |
References myNeedsRedraw.
|
protected |
|
protected |
|
protected |
|
protected |
Referenced by needsRedraw(), and setNeedsRedraw().