OpenTwin 0.1
OpenTwin
 
Loading...
Searching...
No Matches
ot::PlotDataset Class Reference

#include "PlotDataset.h"

Public Member Functions

 PlotDataset (Plot *_ownerPlot, int _id, const QString &_title, double *_dataX, double *_dataY, long _dataSize)
 
virtual ~PlotDataset ()
 
void replaceData (double *_dataX, double *_dataY, long _dataSize)
 
void setYim (double *_dataYim)
 
void setCurveIsVisibile (bool _isVisible=true, bool _repaint=true)
 
void setCurveWidth (double _penSize, bool _repaint=true)
 
void setCurveColor (const QColor &_color, bool _repaint=true)
 
void setCurvePointsVisible (bool _isVisible=true, bool _repaint=true)
 
void setCurvePointInnerColor (const QColor &_color, bool _repaint=true)
 
void setCurvePointOuterColor (const QColor &_color, bool _repaint=true)
 
void setCurvePointSize (int _size, bool _repaint=true)
 
void setCurvePointOuterColorWidth (double _size, bool _repaint=true)
 
void attach (void)
 
void detach (void)
 
void setCurveTitle (const QString &_title)
 
const QString & getCurveTitle (void) const
 
void setDimmed (bool _isDimmed, bool _repaint=true)
 
void setEntityID (unsigned long long _entityID)
 
void setEntityVersion (unsigned long long _entityVersion)
 
void setCurveEntityID (unsigned long long _entityID)
 
void setCurveEntityVersion (unsigned long long _entityVersion)
 
void setTreeItemID (unsigned long long _treeItemID)
 
void setAxisTitleX (const std::string &_title)
 
void setAxisTitleY (const std::string &_title)
 
void calculateData (Plot1DCfg::AxisQuantity _axisQuantity)
 
bool getCurveIsVisible (void) const
 
int id (void) const
 
bool getDataAt (int _index, double &_x, double &_y)
 
bool getData (double *&_x, double *&_y, long &_size)
 
bool getYim (double *&_yim, long &_size)
 
bool getCopyOfData (double *&_x, double *&_y, long &_size)
 
bool getCopyOfYim (double *&_yim, long &_size)
 
unsigned long long getEntityID (void)
 
unsigned long long getEntityVersion (void)
 
unsigned long long getCurveEntityID (void)
 
unsigned long long getCurveEntityVersion (void)
 
unsigned long long getTreeItemID (void)
 
std::string getAxisTitleX (void)
 
std::string getAxisTitleY (void)
 
void updateVisualization (void)
 

Friends

class Plot
 

Constructor & Destructor Documentation

◆ PlotDataset()

ot::PlotDataset::PlotDataset ( Plot * _ownerPlot,
int _id,
const QString & _title,
double * _dataX,
double * _dataY,
long _dataSize )

◆ ~PlotDataset()

ot::PlotDataset::~PlotDataset ( )
virtual

Member Function Documentation

◆ attach()

void ot::PlotDataset::attach ( void )

◆ calculateData()

void ot::PlotDataset::calculateData ( Plot1DCfg::AxisQuantity _axisQuantity)

◆ detach()

void ot::PlotDataset::detach ( void )

◆ getAxisTitleX()

std::string ot::PlotDataset::getAxisTitleX ( void )
inline

◆ getAxisTitleY()

std::string ot::PlotDataset::getAxisTitleY ( void )
inline

◆ getCopyOfData()

bool ot::PlotDataset::getCopyOfData ( double *& _x,
double *& _y,
long & _size )

◆ getCopyOfYim()

bool ot::PlotDataset::getCopyOfYim ( double *& _yim,
long & _size )

◆ getCurveEntityID()

unsigned long long ot::PlotDataset::getCurveEntityID ( void )
inline

◆ getCurveEntityVersion()

unsigned long long ot::PlotDataset::getCurveEntityVersion ( void )
inline

◆ getCurveIsVisible()

bool ot::PlotDataset::getCurveIsVisible ( void ) const
inline

◆ getCurveTitle()

const QString & ot::PlotDataset::getCurveTitle ( void ) const
inline

◆ getData()

bool ot::PlotDataset::getData ( double *& _x,
double *& _y,
long & _size )

◆ getDataAt()

bool ot::PlotDataset::getDataAt ( int _index,
double & _x,
double & _y )

◆ getEntityID()

unsigned long long ot::PlotDataset::getEntityID ( void )
inline

◆ getEntityVersion()

unsigned long long ot::PlotDataset::getEntityVersion ( void )
inline

◆ getTreeItemID()

unsigned long long ot::PlotDataset::getTreeItemID ( void )
inline

◆ getYim()

bool ot::PlotDataset::getYim ( double *& _yim,
long & _size )

◆ id()

int ot::PlotDataset::id ( void ) const
inline

◆ replaceData()

void ot::PlotDataset::replaceData ( double * _dataX,
double * _dataY,
long _dataSize )

◆ setAxisTitleX()

void ot::PlotDataset::setAxisTitleX ( const std::string & _title)
inline

◆ setAxisTitleY()

void ot::PlotDataset::setAxisTitleY ( const std::string & _title)
inline

◆ setCurveColor()

void ot::PlotDataset::setCurveColor ( const QColor & _color,
bool _repaint = true )

◆ setCurveEntityID()

void ot::PlotDataset::setCurveEntityID ( unsigned long long _entityID)
inline

◆ setCurveEntityVersion()

void ot::PlotDataset::setCurveEntityVersion ( unsigned long long _entityVersion)
inline

◆ setCurveIsVisibile()

void ot::PlotDataset::setCurveIsVisibile ( bool _isVisible = true,
bool _repaint = true )

◆ setCurvePointInnerColor()

void ot::PlotDataset::setCurvePointInnerColor ( const QColor & _color,
bool _repaint = true )

◆ setCurvePointOuterColor()

void ot::PlotDataset::setCurvePointOuterColor ( const QColor & _color,
bool _repaint = true )

◆ setCurvePointOuterColorWidth()

void ot::PlotDataset::setCurvePointOuterColorWidth ( double _size,
bool _repaint = true )

◆ setCurvePointSize()

void ot::PlotDataset::setCurvePointSize ( int _size,
bool _repaint = true )

◆ setCurvePointsVisible()

void ot::PlotDataset::setCurvePointsVisible ( bool _isVisible = true,
bool _repaint = true )

◆ setCurveTitle()

void ot::PlotDataset::setCurveTitle ( const QString & _title)

◆ setCurveWidth()

void ot::PlotDataset::setCurveWidth ( double _penSize,
bool _repaint = true )

◆ setDimmed()

void ot::PlotDataset::setDimmed ( bool _isDimmed,
bool _repaint = true )

◆ setEntityID()

void ot::PlotDataset::setEntityID ( unsigned long long _entityID)
inline

◆ setEntityVersion()

void ot::PlotDataset::setEntityVersion ( unsigned long long _entityVersion)
inline

◆ setTreeItemID()

void ot::PlotDataset::setTreeItemID ( unsigned long long _treeItemID)
inline

◆ setYim()

void ot::PlotDataset::setYim ( double * _dataYim)
inline

◆ updateVisualization()

void ot::PlotDataset::updateVisualization ( void )

Friends And Related Symbol Documentation

◆ Plot

friend class Plot
friend

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