QCPBarsGroup Class Reference

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

Inheritance diagram for QCPBarsGroup:
Collaboration diagram for QCPBarsGroup:

Public Types

enum  SpacingType {
  stAbsolute, stAxisRectRatio, stPlotCoords, stAbsolute,
  stAxisRectRatio, stPlotCoords, stAbsolute, stAxisRectRatio,
  stPlotCoords
}
 
enum  SpacingType {
  stAbsolute, stAxisRectRatio, stPlotCoords, stAbsolute,
  stAxisRectRatio, stPlotCoords, stAbsolute, stAxisRectRatio,
  stPlotCoords
}
 
enum  SpacingType {
  stAbsolute, stAxisRectRatio, stPlotCoords, stAbsolute,
  stAxisRectRatio, stPlotCoords, stAbsolute, stAxisRectRatio,
  stPlotCoords
}
 

Public Member Functions

 QCPBarsGroup (QCustomPlot *parentPlot)
 
 ~QCPBarsGroup ()
 
SpacingType spacingType () const
 
double spacing () const
 
void setSpacingType (SpacingType spacingType)
 
void setSpacing (double spacing)
 
QList< QCPBars * > bars () const
 
QCPBarsbars (int index) const
 
int size () const
 
bool isEmpty () const
 
void clear ()
 
bool contains (QCPBars *bars) const
 
void append (QCPBars *bars)
 
void insert (int i, QCPBars *bars)
 
void remove (QCPBars *bars)
 
 QCPBarsGroup (QCustomPlot *parentPlot)
 
virtual ~QCPBarsGroup ()
 
SpacingType spacingType () const
 
double spacing () const
 
void setSpacingType (SpacingType spacingType)
 
void setSpacing (double spacing)
 
QList< QCPBars * > bars () const
 
QCPBarsbars (int index) const
 
int size () const
 
bool isEmpty () const
 
void clear ()
 
bool contains (QCPBars *bars) const
 
void append (QCPBars *bars)
 
void insert (int i, QCPBars *bars)
 
void remove (QCPBars *bars)
 
 QCPBarsGroup (QCustomPlot *parentPlot)
 
 ~QCPBarsGroup ()
 
SpacingType spacingType () const
 
double spacing () const
 
void setSpacingType (SpacingType spacingType)
 
void setSpacing (double spacing)
 
QList< QCPBars * > bars () const
 
QCPBarsbars (int index) const
 
int size () const
 
bool isEmpty () const
 
void clear ()
 
bool contains (QCPBars *bars) const
 
void append (QCPBars *bars)
 
void insert (int i, QCPBars *bars)
 
void remove (QCPBars *bars)
 

Protected Member Functions

void registerBars (QCPBars *bars)
 
void unregisterBars (QCPBars *bars)
 
double keyPixelOffset (const QCPBars *bars, double keyCoord)
 
double getPixelSpacing (const QCPBars *bars, double keyCoord)
 
void registerBars (QCPBars *bars)
 
void unregisterBars (QCPBars *bars)
 
double keyPixelOffset (const QCPBars *bars, double keyCoord)
 
double getPixelSpacing (const QCPBars *bars, double keyCoord)
 
void registerBars (QCPBars *bars)
 
void unregisterBars (QCPBars *bars)
 
double keyPixelOffset (const QCPBars *bars, double keyCoord)
 
double getPixelSpacing (const QCPBars *bars, double keyCoord)
 

Protected Attributes

QCustomPlotmParentPlot
 
SpacingType mSpacingType
 
double mSpacing
 
QList< QCPBars * > mBars
 

Friends

class QCPBars
 

Member Enumeration Documentation

◆ SpacingType [1/3]

Defines the ways the spacing between bars in the group can be specified. Thus it defines what the number passed to setSpacing actually means.

See also
setSpacingType, setSpacing
Enumerator
stAbsolute 

Bar spacing is in absolute pixels.

stAxisRectRatio 

Bar spacing is given by a fraction of the axis rect size.

stPlotCoords 

Bar spacing is in key coordinates and thus scales with the key axis range.

stAbsolute 

Bar spacing is in absolute pixels.

stAxisRectRatio 

Bar spacing is given by a fraction of the axis rect size.

stPlotCoords 

Bar spacing is in key coordinates and thus scales with the key axis range.

stAbsolute 

Bar spacing is in absolute pixels.

stAxisRectRatio 

Bar spacing is given by a fraction of the axis rect size.

stPlotCoords 

Bar spacing is in key coordinates and thus scales with the key axis range.

◆ SpacingType [2/3]

Defines the ways the spacing between bars in the group can be specified. Thus it defines what the number passed to setSpacing actually means.

See also
setSpacingType, setSpacing
Enumerator
stAbsolute 

Bar spacing is in absolute pixels.

stAxisRectRatio 

Bar spacing is given by a fraction of the axis rect size.

stPlotCoords 

Bar spacing is in key coordinates and thus scales with the key axis range.

stAbsolute 

Bar spacing is in absolute pixels.

stAxisRectRatio 

Bar spacing is given by a fraction of the axis rect size.

stPlotCoords 

Bar spacing is in key coordinates and thus scales with the key axis range.

stAbsolute 

Bar spacing is in absolute pixels.

stAxisRectRatio 

Bar spacing is given by a fraction of the axis rect size.

stPlotCoords 

Bar spacing is in key coordinates and thus scales with the key axis range.

◆ SpacingType [3/3]

Defines the ways the spacing between bars in the group can be specified. Thus it defines what the number passed to setSpacing actually means.

See also
setSpacingType, setSpacing
Enumerator
stAbsolute 

Bar spacing is in absolute pixels.

stAxisRectRatio 

Bar spacing is given by a fraction of the axis rect size.

stPlotCoords 

Bar spacing is in key coordinates and thus scales with the key axis range.

stAbsolute 

Bar spacing is in absolute pixels.

stAxisRectRatio 

Bar spacing is given by a fraction of the axis rect size.

stPlotCoords 

Bar spacing is in key coordinates and thus scales with the key axis range.

stAbsolute 

Bar spacing is in absolute pixels.

stAxisRectRatio 

Bar spacing is given by a fraction of the axis rect size.

stPlotCoords 

Bar spacing is in key coordinates and thus scales with the key axis range.

Constructor & Destructor Documentation

◆ QCPBarsGroup() [1/3]

QCPBarsGroup::QCPBarsGroup ( QCustomPlot parentPlot)

◆ ~QCPBarsGroup() [1/3]

QCPBarsGroup::~QCPBarsGroup ( )

◆ QCPBarsGroup() [2/3]

QCPBarsGroup::QCPBarsGroup ( QCustomPlot parentPlot)
explicit

◆ ~QCPBarsGroup() [2/3]

virtual QCPBarsGroup::~QCPBarsGroup ( )
virtual

◆ QCPBarsGroup() [3/3]

QCPBarsGroup::QCPBarsGroup ( QCustomPlot parentPlot)

◆ ~QCPBarsGroup() [3/3]

QCPBarsGroup::~QCPBarsGroup ( )

Member Function Documentation

◆ append() [1/3]

void QCPBarsGroup::append ( QCPBars bars)

◆ append() [2/3]

void QCPBarsGroup::append ( QCPBars bars)

◆ append() [3/3]

void QCPBarsGroup::append ( QCPBars bars)

◆ bars() [1/6]

QList<QCPBars*> QCPBarsGroup::bars ( ) const
inline

◆ bars() [2/6]

QList<QCPBars*> QCPBarsGroup::bars ( ) const
inline

◆ bars() [3/6]

QCPBars* QCPBarsGroup::bars ( int  index) const

◆ bars() [4/6]

QCPBars* QCPBarsGroup::bars ( int  index) const

◆ bars() [5/6]

QList<QCPBars*> QCPBarsGroup::bars ( ) const
inline

◆ bars() [6/6]

QCPBars* QCPBarsGroup::bars ( int  index) const

◆ clear() [1/3]

void QCPBarsGroup::clear ( )

◆ clear() [2/3]

void QCPBarsGroup::clear ( )

◆ clear() [3/3]

void QCPBarsGroup::clear ( )

◆ contains() [1/3]

bool QCPBarsGroup::contains ( QCPBars bars) const
inline

◆ contains() [2/3]

bool QCPBarsGroup::contains ( QCPBars bars) const
inline

◆ contains() [3/3]

bool QCPBarsGroup::contains ( QCPBars bars) const
inline

◆ getPixelSpacing() [1/3]

double QCPBarsGroup::getPixelSpacing ( const QCPBars bars,
double  keyCoord 
)
protected

◆ getPixelSpacing() [2/3]

double QCPBarsGroup::getPixelSpacing ( const QCPBars bars,
double  keyCoord 
)
protected

◆ getPixelSpacing() [3/3]

double QCPBarsGroup::getPixelSpacing ( const QCPBars bars,
double  keyCoord 
)
protected

◆ insert() [1/3]

void QCPBarsGroup::insert ( int  i,
QCPBars bars 
)

◆ insert() [2/3]

void QCPBarsGroup::insert ( int  i,
QCPBars bars 
)

◆ insert() [3/3]

void QCPBarsGroup::insert ( int  i,
QCPBars bars 
)

◆ isEmpty() [1/3]

bool QCPBarsGroup::isEmpty ( ) const
inline

◆ isEmpty() [2/3]

bool QCPBarsGroup::isEmpty ( ) const
inline

◆ isEmpty() [3/3]

bool QCPBarsGroup::isEmpty ( ) const
inline

◆ keyPixelOffset() [1/3]

double QCPBarsGroup::keyPixelOffset ( const QCPBars bars,
double  keyCoord 
)
protected

◆ keyPixelOffset() [2/3]

double QCPBarsGroup::keyPixelOffset ( const QCPBars bars,
double  keyCoord 
)
protected

◆ keyPixelOffset() [3/3]

double QCPBarsGroup::keyPixelOffset ( const QCPBars bars,
double  keyCoord 
)
protected

◆ registerBars() [1/3]

void QCPBarsGroup::registerBars ( QCPBars bars)
protected

◆ registerBars() [2/3]

void QCPBarsGroup::registerBars ( QCPBars bars)
protected

◆ registerBars() [3/3]

void QCPBarsGroup::registerBars ( QCPBars bars)
protected

◆ remove() [1/3]

void QCPBarsGroup::remove ( QCPBars bars)

◆ remove() [2/3]

void QCPBarsGroup::remove ( QCPBars bars)

◆ remove() [3/3]

void QCPBarsGroup::remove ( QCPBars bars)

◆ setSpacing() [1/3]

void QCPBarsGroup::setSpacing ( double  spacing)

◆ setSpacing() [2/3]

void QCPBarsGroup::setSpacing ( double  spacing)

◆ setSpacing() [3/3]

void QCPBarsGroup::setSpacing ( double  spacing)

◆ setSpacingType() [1/3]

void QCPBarsGroup::setSpacingType ( SpacingType  spacingType)

◆ setSpacingType() [2/3]

void QCPBarsGroup::setSpacingType ( SpacingType  spacingType)

◆ setSpacingType() [3/3]

void QCPBarsGroup::setSpacingType ( SpacingType  spacingType)

◆ size() [1/3]

int QCPBarsGroup::size ( ) const
inline

◆ size() [2/3]

int QCPBarsGroup::size ( ) const
inline

◆ size() [3/3]

int QCPBarsGroup::size ( ) const
inline

◆ spacing() [1/3]

double QCPBarsGroup::spacing ( ) const
inline

◆ spacing() [2/3]

double QCPBarsGroup::spacing ( ) const
inline

◆ spacing() [3/3]

double QCPBarsGroup::spacing ( ) const
inline

◆ spacingType() [1/3]

SpacingType QCPBarsGroup::spacingType ( ) const
inline

◆ spacingType() [2/3]

SpacingType QCPBarsGroup::spacingType ( ) const
inline

◆ spacingType() [3/3]

SpacingType QCPBarsGroup::spacingType ( ) const
inline

◆ unregisterBars() [1/3]

void QCPBarsGroup::unregisterBars ( QCPBars bars)
protected

◆ unregisterBars() [2/3]

void QCPBarsGroup::unregisterBars ( QCPBars bars)
protected

◆ unregisterBars() [3/3]

void QCPBarsGroup::unregisterBars ( QCPBars bars)
protected

Friends And Related Function Documentation

◆ QCPBars

QCPBars
friend

Member Data Documentation

◆ mBars

QList< QCPBars * > QCPBarsGroup::mBars
protected

◆ mParentPlot

QCustomPlot * QCPBarsGroup::mParentPlot
protected

◆ mSpacing

double QCPBarsGroup::mSpacing
protected

◆ mSpacingType

SpacingType QCPBarsGroup::mSpacingType
protected

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