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

#include <SPlot2d_Curve.h>

Inheritance diagram for SPlot2d_Curve:
Inheritance graph

Public Member Functions

 SPlot2d_Curve ()
 
virtual ~SPlot2d_Curve ()
 
 SPlot2d_Curve (const SPlot2d_Curve &curve)
 
SPlot2d_Curveoperator= (const SPlot2d_Curve &curve)
 
virtual QString getTableTitle () const
 
virtual bool hasIO () const
 
virtual Handle (SALOME_InteractiveObject) getIO() const
 
virtual void setIO (const Handle(SALOME_InteractiveObject)&)
 
virtual bool hasTableIO () const
 
virtual Handle (SALOME_InteractiveObject) getTableIO() const
 
virtual void setTableIO (const Handle(SALOME_InteractiveObject)&)
 
virtual void addOwner (const QString &owner)
 
virtual void removeOwner (const QString &owner)
 
virtual OwnerSet getOwners () const
 
virtual void addOwners (OwnerSet &owners)
 
- Public Member Functions inherited from Plot2d_Curve
 Plot2d_Curve ()
 
 Plot2d_Curve (const Plot2d_Curve &)
 
virtual ~Plot2d_Curve ()
 
Plot2d_Curveoperator= (const Plot2d_Curve &)
 
virtual int rtti ()
 
virtual QwtPlotItemcreatePlotItem ()
 
virtual void autoFill (const QwtPlot *)
 
virtual void updatePlotItem (QwtPlotItem *)
 
void setColor (const QColor &)
 
QColor getColor () const
 
void setMarker (Plot2d::MarkerType, const int)
 
void setMarker (Plot2d::MarkerType)
 
void setMarkerStyle (QwtSymbol::Style style)
 
Plot2d::MarkerType getMarker () const
 
QwtSymbol::Style getMarkerStyle () const
 
void setMarkerSize (const int)
 
int getMarkerSize () const
 
void setLine (Plot2d::LineType, const int)
 
void setLine (Plot2d::LineType)
 
Plot2d::LineType getLine () const
 
void setLineWidth (const int)
 
int getLineWidth () const
 
void setDeviationData (const double *, const double *, const QList< int > &)
 
void getDeviationData (double *&, double *&, QList< int > &) const
 
void clearDeviationData ()
 
virtual double getMinY () const
 
virtual double getMaxY () const
 
- Public Member Functions inherited from Plot2d_Object
 Plot2d_Object ()
 
 Plot2d_Object (const Plot2d_Object &)
 
virtual ~Plot2d_Object ()
 
Plot2d_Objectoperator= (const Plot2d_Object &)
 
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
 
void setSelected (const bool)
 
bool isSelected () const
 

Private Member Functions

 Handle (SALOME_InteractiveObject) myIO
 
 Handle (SALOME_InteractiveObject) myTableIO
 

Private Attributes

OwnerSet myOwners
 

Additional Inherited Members

- Static Public Member Functions inherited from Plot2d_Object
static void setSelectionColor (const QColor &c)
 
static QColor selectionColor ()
 
static void setHighlightedLegendTextColor (const QColor &c)
 
static QColor highlightedLegendTextColor ()
 
- Protected Attributes inherited from Plot2d_Curve
QColor myColor
 
Plot2d::MarkerType myMarker
 
QwtSymbol::Style myMarkerStyle
 
int myMarkerSize
 
Plot2d::LineType myLine
 
int myLineWidth
 

Constructor & Destructor Documentation

SPlot2d_Curve::SPlot2d_Curve ( )

Constructor

SPlot2d_Curve::~SPlot2d_Curve ( )
virtual

Destructor

SPlot2d_Curve::SPlot2d_Curve ( const SPlot2d_Curve curve)

Copy constructor. Makes deep copy of data.

Member Function Documentation

void SPlot2d_Curve::addOwner ( const QString &  owner)
virtual

Add owner of the curve.

Parameters
owner- owner of the curve

References myOwners.

void SPlot2d_Curve::addOwners ( OwnerSet owners)
virtual

Add owners of the curve.

Parameters
owners- owners of the curve

References myOwners.

OwnerSet SPlot2d_Curve::getOwners ( ) const
virtual

Get all owners of the curve.

Returns
owners of the curve.

References myOwners.

QString SPlot2d_Curve::getTableTitle ( ) const
virtual
Returns
table title

Reimplemented from Plot2d_Object.

References hasTableIO().

virtual SPlot2d_Curve::Handle ( SALOME_InteractiveObject  ) const
virtual
virtual SPlot2d_Curve::Handle ( SALOME_InteractiveObject  ) const
virtual
SPlot2d_Curve::Handle ( SALOME_InteractiveObject  )
private
SPlot2d_Curve::Handle ( SALOME_InteractiveObject  )
private
bool SPlot2d_Curve::hasIO ( ) const
virtual
bool SPlot2d_Curve::hasTableIO ( ) const
virtual
Returns
true if curve has table interactive object
SPlot2d_Curve & SPlot2d_Curve::operator= ( const SPlot2d_Curve curve)

operator=. Makes deep copy of data.

References Plot2d_Curve::operator=().

void SPlot2d_Curve::removeOwner ( const QString &  owner)
virtual

Remove owner of the curve.

Parameters
owner- owner of the curve

References myOwners.

virtual void SPlot2d_Curve::setIO ( const Handle(SALOME_InteractiveObject)&  )
virtual
virtual void SPlot2d_Curve::setTableIO ( const Handle(SALOME_InteractiveObject)&  )
virtual

Member Data Documentation

OwnerSet SPlot2d_Curve::myOwners
private

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