Version: 6.3.1
Public Member Functions | Protected Attributes

Plot2d_Prs Class Reference

#include <Plot2d_Prs.h>

Inheritance diagram for Plot2d_Prs:
Inheritance graph

Public Member Functions

 Plot2d_Prs (bool theDelete=false)
 Plot2d_Prs (Plot2d_Object *obj, bool theDelete=false)
 ~Plot2d_Prs ()
objectList getObjects () const
void AddObject (Plot2d_Object *obj)
bool IsNull () const
bool isSecondY () const
void setAutoDel (bool theDel)

Protected Attributes

objectList myObjects
bool mySecondY
bool myIsAutoDel

Constructor & Destructor Documentation

Plot2d_Prs::Plot2d_Prs ( bool  theDelete = false)

Default constructor

Plot2d_Prs::Plot2d_Prs ( Plot2d_Object obj,
bool  theDelete = false 
)

Standard constructor

References AddObject().

Plot2d_Prs::~Plot2d_Prs ( )

Destructor

References myIsAutoDel, and myObjects.


Member Function Documentation

objectList Plot2d_Prs::getObjects ( ) const

Get objects list

References myObjects.

void Plot2d_Prs::AddObject ( Plot2d_Object obj)

Add curve

References Plot2d_Object.getYAxis(), myObjects, and mySecondY.

bool Plot2d_Prs::IsNull ( ) const
Returns:
0 if list of the curves is empty [ Reimplemented from SALOME_Prs ]

Reimplemented in SPlot2d_Prs.

References myObjects.

bool Plot2d_Prs::isSecondY ( ) const
Returns:
1 if in the list of curves exist at least one curve with axis Qwt.yRight [ Reimplemented from SALOME_Prs ]

References mySecondY.

void Plot2d_Prs::setAutoDel ( bool  theDel)
Returns:
0 if list of the curves is empty [ Reimplemented from SALOME_Prs ]

References myIsAutoDel.


Field Documentation

bool Plot2d_Prs.mySecondY [protected]
bool Plot2d_Prs.myIsAutoDel [protected]
Copyright © 2007-2011 CEA/DEN, EDF R&D, OPEN CASCADE
Copyright © 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS