LunaSysMgr
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
PixmapHugeObject Class Reference

#include <pixmaphugeobject.h>

Inheritance diagram for PixmapHugeObject:
[legend]
Collaboration diagram for PixmapHugeObject:
[legend]

Classes

class  FragmentedPaintCoordinate
 

Public Member Functions

 PixmapHugeObject ()
 
 PixmapHugeObject (int width, int height)
 
 PixmapHugeObject (const QString &fileName, const char *format=0, Qt::ImageConversionFlags flags=Qt::AutoColor)
 
 PixmapHugeObject (const QList< QString > &fileNames, const QSize &fileLayout, const char *format=0, Qt::ImageConversionFlags flags=Qt::AutoColor)
 
 PixmapHugeObject (const QList< QPixmap > &pixmaps, const QSize &layout)
 
virtual ~PixmapHugeObject ()
 
virtual bool valid () const
 
virtual QSize size () const
 
virtual int width () const
 
virtual int height () const
 
virtual QSizeF sizeF () const
 
virtual quint64 sizeOf () const
 
virtual bool isSquare () const
 
virtual void paint (QPainter *painter)
 NOTE: none of the paint() functions check validity, for speed sake. More...
 
virtual void paint (QPainter *painter, const QPointF &targetOriginInPainterCS)
 
virtual void paint (QPainter *painter, const QRectF &targetRectInPainterCS)
 
virtual void paint (QPainter *painter, const QRect &targetRectInPainterCS, const QRect &sourceRect)
 
virtual QPoint translatePaintTargetPointToPixmapPoint (const QPoint &point, const QRect &sourceRect, const QRect &destRect)
 
virtual QVector< qint32 > translatePaintTargetPointToPixmapPointEx (const QPoint &point, const QRect &sourceRect, const QRect &destRect)
 
QVector< inthugeSpaceCoordinatesOfPoint (const QPoint &pointInAbsolutePainterCS)
 
QVector< inthugeSpaceCoordinatesOfPoint (const int x, const int y)
 
QVector
< FragmentedPaintCoordinate
paintCoordinates (const QRect &rectInAbsolutePainterCS)
 
virtual QPixmap * pixAt (const quint32 index) const
 
virtual QPixmap * operator-> () const
 
virtual QPixmap & operator* () const
 
virtual operator QPixmap * () const
 
virtual QPixmap * data () const
 
void dbg_save (const QString &baseName)
 
- Public Member Functions inherited from PixmapObject
 PixmapObject ()
 
 PixmapObject (int width, int height)
 
 PixmapObject (const QString &fileName, const char *format=0, Qt::ImageConversionFlags flags=Qt::AutoColor)
 
 PixmapObject (const QString &fileName, const QSize &desiredSize, bool limitOnly=true, const char *format=0, Qt::ImageConversionFlags flags=Qt::AutoColor)
 
virtual PixmapObjectclone ()
 
virtual ~PixmapObject ()
 
virtual QUuid id () const
 
virtual void setId (const QUuid &uid)
 
virtual void setId (const QString &quuid_as_string)
 
virtual bool resize (const quint32 w, const quint32 h)
 
virtual bool resize (const QSize &size)
 
virtual QSize nativeSize () const
 
virtual int nativeWidth () const
 
virtual int nativeHeight () const
 
virtual QSizeF nativeSizeF () const
 
virtual void fill (const QColor &c)
 

Static Public Member Functions

static QSize pixmapToArraySize (const QSize &pixmapSize, const QSize &maxSinglePixmapSize)
 
static QSize pixmapToArraySize (const QSize &pixmapSize, const QSize &maxSinglePixmapSize, QSize &r_rightAndBottomEdgeSizes)
 
- Static Public Member Functions inherited from PixmapObject
static quint64 sizeOfPixmap (const QPixmap *p_pixmap)
 
static quint64 sizeOfPixmap (quint32 width, quint32 height)
 

Protected Member Functions

 PixmapHugeObject (const QVector< QPixmap * > pixmaps, const QSize &layout)
 protected: More...
 
virtual void allocatePixmaps (const QSize &arraySize, const QSize &normalSize, const QSize &leftoverSize)
 
virtual void copyToPixmaps (const QImage &sourceImage)
 
- Protected Member Functions inherited from PixmapObject
 PixmapObject (QPixmap *p_pixmap)
 
 PixmapObject (const QUuid &specificUid)
 

Protected Attributes

QSize m_arraySize
 
QVector< QRect > m_pixmapRectCoords
 
QSize m_hugePixmapSize
 
QVector< QPixmap * > m_pixmaps
 
bool m_valid
 
- Protected Attributes inherited from PixmapObject
QUuid m_uid
 
QPixmap * pm
 
bool m_destroyEmitted
 

Friends

class VirtualCamera
 
class DemoGoggles
 
class PixPager
 
class PixPagerPage
 
class PixPagerAtlasPage
 
QDebug operator<< (QDebug dbg, const PixmapHugeObject &c)
 

Additional Inherited Members

- Signals inherited from PixmapObject
void signalObjectDestroyed ()
 

Constructor & Destructor Documentation

PixmapHugeObject::PixmapHugeObject ( )
PixmapHugeObject::PixmapHugeObject ( int  width,
int  height 
)
PixmapHugeObject::PixmapHugeObject ( const QString &  fileName,
const char *  format = 0,
Qt::ImageConversionFlags  flags = Qt::AutoColor 
)
PixmapHugeObject::PixmapHugeObject ( const QList< QString > &  fileNames,
const QSize &  fileLayout,
const char *  format = 0,
Qt::ImageConversionFlags  flags = Qt::AutoColor 
)
PixmapHugeObject::PixmapHugeObject ( const QList< QPixmap > &  pixmaps,
const QSize &  layout 
)
PixmapHugeObject::~PixmapHugeObject ( )
virtual
PixmapHugeObject::PixmapHugeObject ( const QVector< QPixmap * >  pixmaps,
const QSize &  layout 
)
protected

protected:

Member Function Documentation

void PixmapHugeObject::allocatePixmaps ( const QSize &  arraySize,
const QSize &  normalSize,
const QSize &  leftoverSize 
)
protectedvirtual
void PixmapHugeObject::copyToPixmaps ( const QImage &  sourceImage)
protectedvirtual
QPixmap * PixmapHugeObject::data ( ) const
virtual

Reimplemented from PixmapObject.

void PixmapHugeObject::dbg_save ( const QString &  baseName)
int PixmapHugeObject::height ( ) const
virtual

Reimplemented from PixmapObject.

QVector< int > PixmapHugeObject::hugeSpaceCoordinatesOfPoint ( const QPoint &  pointInAbsolutePainterCS)
QVector< int > PixmapHugeObject::hugeSpaceCoordinatesOfPoint ( const int  x,
const int  y 
)
bool PixmapHugeObject::isSquare ( ) const
virtual

Reimplemented from PixmapObject.

PixmapHugeObject::operator QPixmap * ( ) const
virtual

Reimplemented from PixmapObject.

QPixmap & PixmapHugeObject::operator* ( ) const
virtual

Reimplemented from PixmapObject.

QPixmap * PixmapHugeObject::operator-> ( ) const
virtual

Reimplemented from PixmapObject.

void PixmapHugeObject::paint ( QPainter *  painter)
virtual

NOTE: none of the paint() functions check validity, for speed sake.

Reimplemented from PixmapObject.

void PixmapHugeObject::paint ( QPainter *  painter,
const QPointF &  targetOriginInPainterCS 
)
virtual

Reimplemented from PixmapObject.

void PixmapHugeObject::paint ( QPainter *  painter,
const QRectF &  targetRectInPainterCS 
)
virtual

Reimplemented from PixmapObject.

void PixmapHugeObject::paint ( QPainter *  painter,
const QRect &  targetRectInPainterCS,
const QRect &  sourceRect 
)
virtual

Reimplemented from PixmapObject.

QVector< PixmapHugeObject::FragmentedPaintCoordinate > PixmapHugeObject::paintCoordinates ( const QRect &  rectInAbsolutePainterCS)
QPixmap * PixmapHugeObject::pixAt ( const quint32  index) const
virtual
QSize PixmapHugeObject::pixmapToArraySize ( const QSize &  pixmapSize,
const QSize &  maxSinglePixmapSize 
)
static
QSize PixmapHugeObject::pixmapToArraySize ( const QSize &  pixmapSize,
const QSize &  maxSinglePixmapSize,
QSize &  r_rightAndBottomEdgeSizes 
)
static
QSize PixmapHugeObject::size ( ) const
virtual

Reimplemented from PixmapObject.

QSizeF PixmapHugeObject::sizeF ( ) const
virtual

Reimplemented from PixmapObject.

quint64 PixmapHugeObject::sizeOf ( ) const
virtual

Reimplemented from PixmapObject.

QPoint PixmapHugeObject::translatePaintTargetPointToPixmapPoint ( const QPoint &  point,
const QRect &  sourceRect,
const QRect &  destRect 
)
virtual

Reimplemented from PixmapObject.

QVector< qint32 > PixmapHugeObject::translatePaintTargetPointToPixmapPointEx ( const QPoint &  point,
const QRect &  sourceRect,
const QRect &  destRect 
)
virtual

Reimplemented from PixmapObject.

bool PixmapHugeObject::valid ( ) const
virtual

Reimplemented from PixmapObject.

int PixmapHugeObject::width ( ) const
virtual

Reimplemented from PixmapObject.

Friends And Related Function Documentation

friend class DemoGoggles
friend
QDebug operator<< ( QDebug  dbg,
const PixmapHugeObject c 
)
friend
friend class PixPager
friend
friend class PixPagerAtlasPage
friend
friend class PixPagerPage
friend
friend class VirtualCamera
friend

Member Data Documentation

QSize PixmapHugeObject::m_arraySize
protected
QSize PixmapHugeObject::m_hugePixmapSize
protected
QVector<QRect> PixmapHugeObject::m_pixmapRectCoords
protected
QVector<QPixmap *> PixmapHugeObject::m_pixmaps
protected
bool PixmapHugeObject::m_valid
protected

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