Computer Assited Medical Intervention Tool Kit  version 4.1
Public Member Functions | Private Member Functions | Private Attributes | List of all members
QtCanvasPixmapArray Class Reference

#include <qtcanvas.h>

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 QString &datafilenamepattern, int framecount=0)
 
 QtCanvasPixmapArray (const QString &datafilenamepattern, int framecount=0)
 
 QtCanvasPixmapArray (const QList< QPixmap > &pixmaps, const QPolygon &hotspots=QPolygon())
 
 QtCanvasPixmapArray (const QList< QPixmap > &pixmaps, const QPolygon &hotspots=QPolygon())
 
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().

◆ QtCanvasPixmapArray() [3/6]

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

References framecount, img, and reset().

◆ ~QtCanvasPixmapArray() [1/2]

QtCanvasPixmapArray::~QtCanvasPixmapArray ( )

References reset().

Referenced by collision_double_dispatch().

◆ 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

◆ count() [2/2]

uint QtCanvasPixmapArray::count ( ) const
inline

◆ image() [1/2]

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

◆ image() [2/2]

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

◆ isValid() [1/2]

bool QtCanvasPixmapArray::isValid ( ) const

References img.

Referenced by collision_double_dispatch().

◆ isValid() [2/2]

bool QtCanvasPixmapArray::isValid ( ) const

◆ operator!() [1/2]

bool QtCanvasPixmapArray::operator! ( )

References img.

Referenced by collision_double_dispatch().

◆ 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().

Referenced by collision_double_dispatch().

◆ readPixmaps() [1/4]

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

◆ readPixmaps() [2/4]

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

◆ readPixmaps() [3/4]

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

◆ readPixmaps() [4/4]

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

◆ reset() [1/2]

void QtCanvasPixmapArray::reset ( )
private

◆ reset() [2/2]

void QtCanvasPixmapArray::reset ( )
private

◆ setImage() [1/2]

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

◆ setImage() [2/2]

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

References framecount, and img.

Referenced by collision_double_dispatch().

Member Data Documentation

◆ framecount

int QtCanvasPixmapArray::framecount
private

◆ img

QtCanvasPixmap ** QtCanvasPixmapArray::img
private

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