QCPColorMapData Class Reference

#include </home/florent/devel/release/src/gepetto-viewer/plugins/pyqcustomplot/qcustomplot-1.3.2/qcustomplot.h>

Collaboration diagram for QCPColorMapData:

Public Member Functions

 QCPColorMapData (int keySize, int valueSize, const QCPRange &keyRange, const QCPRange &valueRange)
 
 ~QCPColorMapData ()
 
 QCPColorMapData (const QCPColorMapData &other)
 
QCPColorMapDataoperator= (const QCPColorMapData &other)
 
int keySize () const
 
int valueSize () const
 
QCPRange keyRange () const
 
QCPRange valueRange () const
 
QCPRange dataBounds () const
 
double data (double key, double value)
 
double cell (int keyIndex, int valueIndex)
 
void setSize (int keySize, int valueSize)
 
void setKeySize (int keySize)
 
void setValueSize (int valueSize)
 
void setRange (const QCPRange &keyRange, const QCPRange &valueRange)
 
void setKeyRange (const QCPRange &keyRange)
 
void setValueRange (const QCPRange &valueRange)
 
void setData (double key, double value, double z)
 
void setCell (int keyIndex, int valueIndex, double z)
 
void recalculateDataBounds ()
 
void clear ()
 
void fill (double z)
 
bool isEmpty () const
 
void coordToCell (double key, double value, int *keyIndex, int *valueIndex) const
 
void cellToCoord (int keyIndex, int valueIndex, double *key, double *value) const
 
 QCPColorMapData (int keySize, int valueSize, const QCPRange &keyRange, const QCPRange &valueRange)
 
 ~QCPColorMapData ()
 
 QCPColorMapData (const QCPColorMapData &other)
 
QCPColorMapDataoperator= (const QCPColorMapData &other)
 
int keySize () const
 
int valueSize () const
 
QCPRange keyRange () const
 
QCPRange valueRange () const
 
QCPRange dataBounds () const
 
double data (double key, double value)
 
double cell (int keyIndex, int valueIndex)
 
unsigned char alpha (int keyIndex, int valueIndex)
 
void setSize (int keySize, int valueSize)
 
void setKeySize (int keySize)
 
void setValueSize (int valueSize)
 
void setRange (const QCPRange &keyRange, const QCPRange &valueRange)
 
void setKeyRange (const QCPRange &keyRange)
 
void setValueRange (const QCPRange &valueRange)
 
void setData (double key, double value, double z)
 
void setCell (int keyIndex, int valueIndex, double z)
 
void setAlpha (int keyIndex, int valueIndex, unsigned char alpha)
 
void recalculateDataBounds ()
 
void clear ()
 
void clearAlpha ()
 
void fill (double z)
 
void fillAlpha (unsigned char alpha)
 
bool isEmpty () const
 
void coordToCell (double key, double value, int *keyIndex, int *valueIndex) const
 
void cellToCoord (int keyIndex, int valueIndex, double *key, double *value) const
 
 QCPColorMapData (int keySize, int valueSize, const QCPRange &keyRange, const QCPRange &valueRange)
 
 ~QCPColorMapData ()
 
 QCPColorMapData (const QCPColorMapData &other)
 
QCPColorMapDataoperator= (const QCPColorMapData &other)
 
int keySize () const
 
int valueSize () const
 
QCPRange keyRange () const
 
QCPRange valueRange () const
 
QCPRange dataBounds () const
 
double data (double key, double value)
 
double cell (int keyIndex, int valueIndex)
 
void setSize (int keySize, int valueSize)
 
void setKeySize (int keySize)
 
void setValueSize (int valueSize)
 
void setRange (const QCPRange &keyRange, const QCPRange &valueRange)
 
void setKeyRange (const QCPRange &keyRange)
 
void setValueRange (const QCPRange &valueRange)
 
void setData (double key, double value, double z)
 
void setCell (int keyIndex, int valueIndex, double z)
 
void recalculateDataBounds ()
 
void clear ()
 
void fill (double z)
 
bool isEmpty () const
 
void coordToCell (double key, double value, int *keyIndex, int *valueIndex) const
 
void cellToCoord (int keyIndex, int valueIndex, double *key, double *value) const
 

Protected Member Functions

bool createAlpha (bool initializeOpaque=true)
 

Protected Attributes

int mKeySize
 
int mValueSize
 
QCPRange mKeyRange
 
QCPRange mValueRange
 
bool mIsEmpty
 
double * mData
 
QCPRange mDataBounds
 
bool mDataModified
 
unsigned char * mAlpha
 

Friends

class QCPColorMap
 

Constructor & Destructor Documentation

◆ QCPColorMapData() [1/6]

QCPColorMapData::QCPColorMapData ( int  keySize,
int  valueSize,
const QCPRange keyRange,
const QCPRange valueRange 
)

◆ ~QCPColorMapData() [1/3]

QCPColorMapData::~QCPColorMapData ( )

◆ QCPColorMapData() [2/6]

QCPColorMapData::QCPColorMapData ( const QCPColorMapData other)

◆ QCPColorMapData() [3/6]

QCPColorMapData::QCPColorMapData ( int  keySize,
int  valueSize,
const QCPRange keyRange,
const QCPRange valueRange 
)

◆ ~QCPColorMapData() [2/3]

QCPColorMapData::~QCPColorMapData ( )

◆ QCPColorMapData() [4/6]

QCPColorMapData::QCPColorMapData ( const QCPColorMapData other)

◆ QCPColorMapData() [5/6]

QCPColorMapData::QCPColorMapData ( int  keySize,
int  valueSize,
const QCPRange keyRange,
const QCPRange valueRange 
)

◆ ~QCPColorMapData() [3/3]

QCPColorMapData::~QCPColorMapData ( )

◆ QCPColorMapData() [6/6]

QCPColorMapData::QCPColorMapData ( const QCPColorMapData other)

Member Function Documentation

◆ alpha()

unsigned char QCPColorMapData::alpha ( int  keyIndex,
int  valueIndex 
)

◆ cell() [1/3]

double QCPColorMapData::cell ( int  keyIndex,
int  valueIndex 
)

◆ cell() [2/3]

double QCPColorMapData::cell ( int  keyIndex,
int  valueIndex 
)

◆ cell() [3/3]

double QCPColorMapData::cell ( int  keyIndex,
int  valueIndex 
)

◆ cellToCoord() [1/3]

void QCPColorMapData::cellToCoord ( int  keyIndex,
int  valueIndex,
double *  key,
double *  value 
) const

◆ cellToCoord() [2/3]

void QCPColorMapData::cellToCoord ( int  keyIndex,
int  valueIndex,
double *  key,
double *  value 
) const

◆ cellToCoord() [3/3]

void QCPColorMapData::cellToCoord ( int  keyIndex,
int  valueIndex,
double *  key,
double *  value 
) const

◆ clear() [1/3]

void QCPColorMapData::clear ( )

◆ clear() [2/3]

void QCPColorMapData::clear ( )

◆ clear() [3/3]

void QCPColorMapData::clear ( )

◆ clearAlpha()

void QCPColorMapData::clearAlpha ( )

◆ coordToCell() [1/3]

void QCPColorMapData::coordToCell ( double  key,
double  value,
int *  keyIndex,
int *  valueIndex 
) const

◆ coordToCell() [2/3]

void QCPColorMapData::coordToCell ( double  key,
double  value,
int *  keyIndex,
int *  valueIndex 
) const

◆ coordToCell() [3/3]

void QCPColorMapData::coordToCell ( double  key,
double  value,
int *  keyIndex,
int *  valueIndex 
) const

◆ createAlpha()

bool QCPColorMapData::createAlpha ( bool  initializeOpaque = true)
protected

◆ data() [1/3]

double QCPColorMapData::data ( double  key,
double  value 
)

◆ data() [2/3]

double QCPColorMapData::data ( double  key,
double  value 
)

◆ data() [3/3]

double QCPColorMapData::data ( double  key,
double  value 
)

◆ dataBounds() [1/3]

QCPRange QCPColorMapData::dataBounds ( ) const
inline

◆ dataBounds() [2/3]

QCPRange QCPColorMapData::dataBounds ( ) const
inline

◆ dataBounds() [3/3]

QCPRange QCPColorMapData::dataBounds ( ) const
inline

◆ fill() [1/3]

void QCPColorMapData::fill ( double  z)

◆ fill() [2/3]

void QCPColorMapData::fill ( double  z)

◆ fill() [3/3]

void QCPColorMapData::fill ( double  z)

◆ fillAlpha()

void QCPColorMapData::fillAlpha ( unsigned char  alpha)

◆ isEmpty() [1/3]

bool QCPColorMapData::isEmpty ( ) const
inline

◆ isEmpty() [2/3]

bool QCPColorMapData::isEmpty ( ) const
inline

◆ isEmpty() [3/3]

bool QCPColorMapData::isEmpty ( ) const
inline

◆ keyRange() [1/3]

QCPRange QCPColorMapData::keyRange ( ) const
inline

◆ keyRange() [2/3]

QCPRange QCPColorMapData::keyRange ( ) const
inline

◆ keyRange() [3/3]

QCPRange QCPColorMapData::keyRange ( ) const
inline

◆ keySize() [1/3]

int QCPColorMapData::keySize ( ) const
inline

◆ keySize() [2/3]

int QCPColorMapData::keySize ( ) const
inline

◆ keySize() [3/3]

int QCPColorMapData::keySize ( ) const
inline

◆ operator=() [1/3]

QCPColorMapData& QCPColorMapData::operator= ( const QCPColorMapData other)

◆ operator=() [2/3]

QCPColorMapData& QCPColorMapData::operator= ( const QCPColorMapData other)

◆ operator=() [3/3]

QCPColorMapData& QCPColorMapData::operator= ( const QCPColorMapData other)

◆ recalculateDataBounds() [1/3]

void QCPColorMapData::recalculateDataBounds ( )

◆ recalculateDataBounds() [2/3]

void QCPColorMapData::recalculateDataBounds ( )

◆ recalculateDataBounds() [3/3]

void QCPColorMapData::recalculateDataBounds ( )

◆ setAlpha()

void QCPColorMapData::setAlpha ( int  keyIndex,
int  valueIndex,
unsigned char  alpha 
)

◆ setCell() [1/3]

void QCPColorMapData::setCell ( int  keyIndex,
int  valueIndex,
double  z 
)

◆ setCell() [2/3]

void QCPColorMapData::setCell ( int  keyIndex,
int  valueIndex,
double  z 
)

◆ setCell() [3/3]

void QCPColorMapData::setCell ( int  keyIndex,
int  valueIndex,
double  z 
)

◆ setData() [1/3]

void QCPColorMapData::setData ( double  key,
double  value,
double  z 
)

◆ setData() [2/3]

void QCPColorMapData::setData ( double  key,
double  value,
double  z 
)

◆ setData() [3/3]

void QCPColorMapData::setData ( double  key,
double  value,
double  z 
)

◆ setKeyRange() [1/3]

void QCPColorMapData::setKeyRange ( const QCPRange keyRange)

◆ setKeyRange() [2/3]

void QCPColorMapData::setKeyRange ( const QCPRange keyRange)

◆ setKeyRange() [3/3]

void QCPColorMapData::setKeyRange ( const QCPRange keyRange)

◆ setKeySize() [1/3]

void QCPColorMapData::setKeySize ( int  keySize)

◆ setKeySize() [2/3]

void QCPColorMapData::setKeySize ( int  keySize)

◆ setKeySize() [3/3]

void QCPColorMapData::setKeySize ( int  keySize)

◆ setRange() [1/3]

void QCPColorMapData::setRange ( const QCPRange keyRange,
const QCPRange valueRange 
)

◆ setRange() [2/3]

void QCPColorMapData::setRange ( const QCPRange keyRange,
const QCPRange valueRange 
)

◆ setRange() [3/3]

void QCPColorMapData::setRange ( const QCPRange keyRange,
const QCPRange valueRange 
)

◆ setSize() [1/3]

void QCPColorMapData::setSize ( int  keySize,
int  valueSize 
)

◆ setSize() [2/3]

void QCPColorMapData::setSize ( int  keySize,
int  valueSize 
)

◆ setSize() [3/3]

void QCPColorMapData::setSize ( int  keySize,
int  valueSize 
)

◆ setValueRange() [1/3]

void QCPColorMapData::setValueRange ( const QCPRange valueRange)

◆ setValueRange() [2/3]

void QCPColorMapData::setValueRange ( const QCPRange valueRange)

◆ setValueRange() [3/3]

void QCPColorMapData::setValueRange ( const QCPRange valueRange)

◆ setValueSize() [1/3]

void QCPColorMapData::setValueSize ( int  valueSize)

◆ setValueSize() [2/3]

void QCPColorMapData::setValueSize ( int  valueSize)

◆ setValueSize() [3/3]

void QCPColorMapData::setValueSize ( int  valueSize)

◆ valueRange() [1/3]

QCPRange QCPColorMapData::valueRange ( ) const
inline

◆ valueRange() [2/3]

QCPRange QCPColorMapData::valueRange ( ) const
inline

◆ valueRange() [3/3]

QCPRange QCPColorMapData::valueRange ( ) const
inline

◆ valueSize() [1/3]

int QCPColorMapData::valueSize ( ) const
inline

◆ valueSize() [2/3]

int QCPColorMapData::valueSize ( ) const
inline

◆ valueSize() [3/3]

int QCPColorMapData::valueSize ( ) const
inline

Friends And Related Function Documentation

◆ QCPColorMap

QCPColorMap
friend

Member Data Documentation

◆ mAlpha

unsigned char* QCPColorMapData::mAlpha
protected

◆ mData

double * QCPColorMapData::mData
protected

◆ mDataBounds

QCPRange QCPColorMapData::mDataBounds
protected

◆ mDataModified

bool QCPColorMapData::mDataModified
protected

◆ mIsEmpty

bool QCPColorMapData::mIsEmpty
protected

◆ mKeyRange

QCPRange QCPColorMapData::mKeyRange
protected

◆ mKeySize

int QCPColorMapData::mKeySize
protected

◆ mValueRange

QCPRange QCPColorMapData::mValueRange
protected

◆ mValueSize

int QCPColorMapData::mValueSize
protected

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