Computer Assited Medical Intervention Tool Kit  version 5.0
QtCanvasPixmapArray Class Reference

#include <qtcanvas.h>

+ Collaboration diagram for QtCanvasPixmapArray:

Public Member Functions

uint count () const
 
uint count () const
 
QtCanvasPixmapimage (int i) const
 
QtCanvasPixmapimage (int i) const
 
bool isValid () const
 
bool isValid () const
 
bool operator! ()
 
bool operator! ()
 
 QtCanvasPixmapArray ()
 
 QtCanvasPixmapArray ()
 
 QtCanvasPixmapArray (const QList< QPixmap > &pixmaps, const QPolygon &hotspots=QPolygon())
 
 QtCanvasPixmapArray (const QList< QPixmap > &pixmaps, const QPolygon &hotspots=QPolygon())
 
 QtCanvasPixmapArray (const QString &datafilenamepattern, int framecount=0)
 
 QtCanvasPixmapArray (const QString &datafilenamepattern, int framecount=0)
 
bool readCollisionMasks (const QString &filenamepattern)
 
bool readCollisionMasks (const QString &filenamepattern)
 
bool readPixmaps (const QString &datafilenamepattern, int framecount=0)
 
bool readPixmaps (const QString &datafilenamepattern, int framecount=0)
 
void setImage (int i, QtCanvasPixmap *p)
 
void setImage (int i, QtCanvasPixmap *p)
 
 ~QtCanvasPixmapArray ()
 
 ~QtCanvasPixmapArray ()
 

Private Member Functions

bool readPixmaps (const QString &datafilenamepattern, int framecount, bool maskonly)
 
bool readPixmaps (const QString &datafilenamepattern, int framecount, bool maskonly)
 
void reset ()
 
void reset ()
 

Private Attributes

int framecount
 
QtCanvasPixmap ** img
 

Constructor & Destructor Documentation

◆ QtCanvasPixmapArray() [1/6]

QtCanvasPixmapArray::QtCanvasPixmapArray ( )

◆ QtCanvasPixmapArray() [2/6]

QtCanvasPixmapArray::QtCanvasPixmapArray ( const QString &  datafilenamepattern,
int  framecount = 0 
)

References readPixmaps().

+ Here is the call graph for this function:

◆ QtCanvasPixmapArray() [3/6]

QtCanvasPixmapArray::QtCanvasPixmapArray ( const QList< QPixmap > &  pixmaps,
const QPolygon &  hotspots = QPolygon() 
)

References framecount, img, and reset().

+ Here is the call graph for this function:

◆ ~QtCanvasPixmapArray() [1/2]

QtCanvasPixmapArray::~QtCanvasPixmapArray ( )

References reset().

+ Here is the call graph for this function:

◆ QtCanvasPixmapArray() [4/6]

QtCanvasPixmapArray::QtCanvasPixmapArray ( )

◆ QtCanvasPixmapArray() [5/6]

QtCanvasPixmapArray::QtCanvasPixmapArray ( const QString &  datafilenamepattern,
int  framecount = 0 
)

◆ QtCanvasPixmapArray() [6/6]

QtCanvasPixmapArray::QtCanvasPixmapArray ( const QList< QPixmap > &  pixmaps,
const QPolygon &  hotspots = QPolygon() 
)

◆ ~QtCanvasPixmapArray() [2/2]

QtCanvasPixmapArray::~QtCanvasPixmapArray ( )

Member Function Documentation

◆ count() [1/2]

uint QtCanvasPixmapArray::count ( ) const
inline

References framecount.

Referenced by QtCanvasSprite::frameCount(), and QtCanvasSprite::setSequence().

+ Here is the caller graph for this function:

◆ count() [2/2]

uint QtCanvasPixmapArray::count ( ) const
inline

References framecount.

◆ image() [1/2]

QtCanvasPixmap* QtCanvasPixmapArray::image ( int  i) const
inline

References img.

Referenced by QtCanvasSprite::image().

+ Here is the caller graph for this function:

◆ image() [2/2]

QtCanvasPixmap* QtCanvasPixmapArray::image ( int  i) const
inline

References img.

◆ isValid() [1/2]

bool QtCanvasPixmapArray::isValid ( ) const

References img.

◆ isValid() [2/2]

bool QtCanvasPixmapArray::isValid ( ) const

◆ operator!() [1/2]

bool QtCanvasPixmapArray::operator! ( )

References img.

◆ operator!() [2/2]

bool QtCanvasPixmapArray::operator! ( )

◆ readCollisionMasks() [1/2]

bool QtCanvasPixmapArray::readCollisionMasks ( const QString &  filenamepattern)

◆ readCollisionMasks() [2/2]

bool QtCanvasPixmapArray::readCollisionMasks ( const QString &  filenamepattern)

References framecount, and readPixmaps().

+ Here is the call graph for this function:

◆ readPixmaps() [1/4]

bool QtCanvasPixmapArray::readPixmaps ( const QString &  datafilenamepattern,
int  framecount,
bool  maskonly 
)
private

References QtCanvasPixmap::collision_mask, framecount, img, and reset().

+ Here is the call graph for this function:

◆ readPixmaps() [2/4]

bool QtCanvasPixmapArray::readPixmaps ( const QString &  datafilenamepattern,
int  framecount,
bool  maskonly 
)
private

◆ readPixmaps() [3/4]

bool QtCanvasPixmapArray::readPixmaps ( const QString &  datafilenamepattern,
int  framecount = 0 
)

◆ readPixmaps() [4/4]

bool QtCanvasPixmapArray::readPixmaps ( const QString &  datafilenamepattern,
int  framecount = 0 
)

Referenced by QtCanvasPixmapArray(), and readCollisionMasks().

+ Here is the caller graph for this function:

◆ reset() [1/2]

void QtCanvasPixmapArray::reset ( )
private

References framecount, and img.

Referenced by QtCanvasPixmapArray(), readPixmaps(), and ~QtCanvasPixmapArray().

+ Here is the caller graph for this function:

◆ reset() [2/2]

void QtCanvasPixmapArray::reset ( )
private

◆ setImage() [1/2]

void QtCanvasPixmapArray::setImage ( int  i,
QtCanvasPixmap p 
)

References framecount, and img.

◆ setImage() [2/2]

void QtCanvasPixmapArray::setImage ( int  i,
QtCanvasPixmap p 
)

Member Data Documentation

◆ framecount

int QtCanvasPixmapArray::framecount
private

◆ img

QtCanvasPixmap ** QtCanvasPixmapArray::img
private

The documentation for this class was generated from the following files: