Version: 8.3.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
SPlot2d_Histogram Class Reference

#include <SPlot2d_Histogram.h>

Inheritance diagram for SPlot2d_Histogram:
Inheritance graph

Public Member Functions

 SPlot2d_Histogram ()
 
virtual ~SPlot2d_Histogram ()
 
 SPlot2d_Histogram (const SPlot2d_Histogram &hist)
 
SPlot2d_Histogramoperator= (const SPlot2d_Histogram &hist)
 
virtual bool hasIO () const
 
virtual Handle (SALOME_InteractiveObject) getIO() const
 
virtual void setIO (const Handle(SALOME_InteractiveObject)&)
 
- Public Member Functions inherited from Plot2d_Histogram
 Plot2d_Histogram ()
 
 Plot2d_Histogram (const Plot2d_Histogram &)
 
virtual ~Plot2d_Histogram ()
 
Plot2d_Histogramoperator= (const Plot2d_Histogram &)
 
virtual int rtti ()
 
virtual QwtPlotItemcreatePlotItem ()
 
virtual void autoFill (const QwtPlot *)
 
virtual void updatePlotItem (QwtPlotItem *)
 
void setData (const QList< double > &, const QList< double > &)
 
QwtIntervalSeriesData getData () const
 
void setColor (const QColor &)
 
QColor getColor () const
 
void setWidth (const double)
 
double getWidth (const bool) const
 
- Public Member Functions inherited from Plot2d_Object
 Plot2d_Object ()
 
 Plot2d_Object (const Plot2d_Object &)
 
virtual ~Plot2d_Object ()
 
Plot2d_Objectoperator= (const Plot2d_Object &)
 
virtual QString getTableTitle () const
 
void setHorTitle (const QString &)
 
QString getHorTitle () const
 
void setVerTitle (const QString &)
 
QString getVerTitle () const
 
void setHorUnits (const QString &)
 
QString getHorUnits () const
 
void setVerUnits (const QString &)
 
QString getVerUnits () const
 
void setName (const QString &)
 
QString getName () const
 
void setScale (double)
 
double getScale () const
 
void addPoint (double, double, const QString &=QString())
 
void addPoint (const Plot2d_Point &)
 
void insertPoint (int, double, double, const QString &=QString())
 
void insertPoint (int, const Plot2d_Point &)
 
void deletePoint (int)
 
void clearAllPoints ()
 
pointList getPointList () const
 
void setPointList (const pointList &points)
 
Plot2d_PointgetPoint (int index)
 
void setData (const double *, const double *, long, const QStringList &=QStringList())
 
double * horData () const
 
double * verData () const
 
long getData (double **, double **) const
 
void setText (const int, const QString &)
 
QString text (const int) const
 
int nbPoints () const
 
bool isEmpty () const
 
void setAutoAssign (bool)
 
bool isAutoAssign () const
 
void setXAxis (QwtPlot::Axis)
 
QwtPlot::Axis getXAxis () const
 
void setYAxis (QwtPlot::Axis)
 
QwtPlot::Axis getYAxis () const
 
virtual double getMinX () const
 
virtual double getMaxX () const
 
virtual double getMinY () const
 
virtual double getMaxY () const
 
void setSelected (const bool)
 
bool isSelected () const
 

Private Member Functions

 Handle (SALOME_InteractiveObject) myIO
 

Additional Inherited Members

- Static Public Member Functions inherited from Plot2d_Histogram
static double getMinInterval (const QList< double > &)
 
- Protected Member Functions inherited from Plot2d_Histogram
QColor getNextColor (const QwtPlot *)
 
bool existColor (const QwtPlot *, const QColor &)
 
- Protected Attributes inherited from Plot2d_Object
bool myAutoAssign
 
QString myHorTitle
 
QString myVerTitle
 
QString myHorUnits
 
QString myVerUnits
 
QString myName
 
QwtPlot::Axis myXAxis
 
QwtPlot::Axis myYAxis
 
double myScale
 
pointList myPoints
 
bool myIsSelected
 

Constructor & Destructor Documentation

SPlot2d_Histogram::SPlot2d_Histogram ( )

Constructor

SPlot2d_Histogram::~SPlot2d_Histogram ( )
virtual

Destructor

SPlot2d_Histogram::SPlot2d_Histogram ( const SPlot2d_Histogram hist)

Copy constructor. Makes deep copy of data.

Member Function Documentation

virtual SPlot2d_Histogram::Handle ( SALOME_InteractiveObject  ) const
virtual
SPlot2d_Histogram::Handle ( SALOME_InteractiveObject  )
private
bool SPlot2d_Histogram::hasIO ( ) const
virtual
SPlot2d_Histogram & SPlot2d_Histogram::operator= ( const SPlot2d_Histogram hist)

operator=. Makes deep copy of data.

References Plot2d_Histogram::operator=().

virtual void SPlot2d_Histogram::setIO ( const Handle(SALOME_InteractiveObject)&  )
virtual

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