QCPDataSelection Class Reference

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

Public Member Functions

 QCPDataSelection ()
 
 QCPDataSelection (const QCPDataRange &range)
 
bool operator== (const QCPDataSelection &other) const
 
bool operator!= (const QCPDataSelection &other) const
 
QCPDataSelectionoperator+= (const QCPDataSelection &other)
 
QCPDataSelectionoperator+= (const QCPDataRange &other)
 
QCPDataSelectionoperator-= (const QCPDataSelection &other)
 
QCPDataSelectionoperator-= (const QCPDataRange &other)
 
int dataRangeCount () const
 
int dataPointCount () const
 
QCPDataRange dataRange (int index=0) const
 
QList< QCPDataRangedataRanges () const
 
QCPDataRange span () const
 
void addDataRange (const QCPDataRange &dataRange, bool simplify=true)
 
void clear ()
 
bool isEmpty () const
 
void simplify ()
 
void enforceType (QCP::SelectionType type)
 
bool contains (const QCPDataSelection &other) const
 
QCPDataSelection intersection (const QCPDataRange &other) const
 
QCPDataSelection intersection (const QCPDataSelection &other) const
 
QCPDataSelection inverse (const QCPDataRange &outerRange) const
 

Friends

const QCPDataSelection operator+ (const QCPDataSelection &a, const QCPDataSelection &b)
 
const QCPDataSelection operator+ (const QCPDataRange &a, const QCPDataSelection &b)
 
const QCPDataSelection operator+ (const QCPDataSelection &a, const QCPDataRange &b)
 
const QCPDataSelection operator+ (const QCPDataRange &a, const QCPDataRange &b)
 
const QCPDataSelection operator- (const QCPDataSelection &a, const QCPDataSelection &b)
 
const QCPDataSelection operator- (const QCPDataRange &a, const QCPDataSelection &b)
 
const QCPDataSelection operator- (const QCPDataSelection &a, const QCPDataRange &b)
 
const QCPDataSelection operator- (const QCPDataRange &a, const QCPDataRange &b)
 

Related Functions

(Note that these are not member functions.)

QDebug operator<< (QDebug d, const QCPDataSelection &selection)
 

Constructor & Destructor Documentation

◆ QCPDataSelection() [1/2]

QCPDataSelection::QCPDataSelection ( )
explicit

◆ QCPDataSelection() [2/2]

QCPDataSelection::QCPDataSelection ( const QCPDataRange range)
explicit

Member Function Documentation

◆ addDataRange()

void QCPDataSelection::addDataRange ( const QCPDataRange dataRange,
bool  simplify = true 
)

◆ clear()

void QCPDataSelection::clear ( )

◆ contains()

bool QCPDataSelection::contains ( const QCPDataSelection other) const

◆ dataPointCount()

int QCPDataSelection::dataPointCount ( ) const

◆ dataRange()

QCPDataRange QCPDataSelection::dataRange ( int  index = 0) const

◆ dataRangeCount()

int QCPDataSelection::dataRangeCount ( ) const
inline

◆ dataRanges()

QList<QCPDataRange> QCPDataSelection::dataRanges ( ) const
inline

◆ enforceType()

void QCPDataSelection::enforceType ( QCP::SelectionType  type)

◆ intersection() [1/2]

QCPDataSelection QCPDataSelection::intersection ( const QCPDataRange other) const

◆ intersection() [2/2]

QCPDataSelection QCPDataSelection::intersection ( const QCPDataSelection other) const

◆ inverse()

QCPDataSelection QCPDataSelection::inverse ( const QCPDataRange outerRange) const

◆ isEmpty()

bool QCPDataSelection::isEmpty ( ) const
inline

◆ operator!=()

bool QCPDataSelection::operator!= ( const QCPDataSelection other) const
inline

◆ operator+=() [1/2]

QCPDataSelection& QCPDataSelection::operator+= ( const QCPDataSelection other)

◆ operator+=() [2/2]

QCPDataSelection& QCPDataSelection::operator+= ( const QCPDataRange other)

◆ operator-=() [1/2]

QCPDataSelection& QCPDataSelection::operator-= ( const QCPDataSelection other)

◆ operator-=() [2/2]

QCPDataSelection& QCPDataSelection::operator-= ( const QCPDataRange other)

◆ operator==()

bool QCPDataSelection::operator== ( const QCPDataSelection other) const

◆ simplify()

void QCPDataSelection::simplify ( )

◆ span()

QCPDataRange QCPDataSelection::span ( ) const

Friends And Related Function Documentation

◆ operator+ [1/4]

const QCPDataSelection operator+ ( const QCPDataSelection a,
const QCPDataSelection b 
)
friend

Return a QCPDataSelection with the data points in a joined with the data points in b. The resulting data selection is already simplified (see QCPDataSelection::simplify).

◆ operator+ [2/4]

const QCPDataSelection operator+ ( const QCPDataRange a,
const QCPDataSelection b 
)
friend

Return a QCPDataSelection with the data points in a joined with the data points in b. The resulting data selection is already simplified (see QCPDataSelection::simplify).

◆ operator+ [3/4]

const QCPDataSelection operator+ ( const QCPDataSelection a,
const QCPDataRange b 
)
friend

Return a QCPDataSelection with the data points in a joined with the data points in b. The resulting data selection is already simplified (see QCPDataSelection::simplify).

◆ operator+ [4/4]

const QCPDataSelection operator+ ( const QCPDataRange a,
const QCPDataRange b 
)
friend

Return a QCPDataSelection with the data points in a joined with the data points in b. The resulting data selection is already simplified (see QCPDataSelection::simplify).

◆ operator- [1/4]

const QCPDataSelection operator- ( const QCPDataSelection a,
const QCPDataSelection b 
)
friend

Return a QCPDataSelection with the data points which are in a but not in b.

◆ operator- [2/4]

const QCPDataSelection operator- ( const QCPDataRange a,
const QCPDataSelection b 
)
friend

Return a QCPDataSelection with the data points which are in a but not in b.

◆ operator- [3/4]

const QCPDataSelection operator- ( const QCPDataSelection a,
const QCPDataRange b 
)
friend

Return a QCPDataSelection with the data points which are in a but not in b.

◆ operator- [4/4]

const QCPDataSelection operator- ( const QCPDataRange a,
const QCPDataRange b 
)
friend

Return a QCPDataSelection with the data points which are in a but not in b.

◆ operator<<()

QDebug operator<< ( QDebug  d,
const QCPDataSelection selection 
)
related

Prints selection in a human readable format to the qDebug output.


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