SPlot2d_Prs Class Reference

#include <SPlot2d_Prs.h>

Inheritance diagram for SPlot2d_Prs:

Inheritance graph

Public Member Functions

 SPlot2d_Prs ()
 SPlot2d_Prs (const Plot2d_Curve *obj)
 SPlot2d_Prs (const Plot2d_Prs *prs)
 ~SPlot2d_Prs ()
virtual bool IsNull () const
curveList GetObjects () const
virtual void DisplayIn (SALOME_View *) const
 It uses double dispatch in order to invoke Display() method corresponding to the actual type of presentation.
virtual void EraseIn (SALOME_View *, const bool=false) const
 It uses double dispatch in order to invoke Erase() method corresponding to the actual type of presentation.
virtual void Update (SALOME_Displayer *)
 It uses double dispatch in order to invoke Update() method corresponding to the actual type of presentation.
virtual void LocalSelectionIn (SALOME_View *, const int) const
 Key method for double dispatch of activation of subshapes selection.
curveList getCurves () const
void AddObject (const Plot2d_Curve *obj)
bool isSecondY () const
void setAutoDel (bool theDel)

Protected Attributes

curveList myCurves
bool mySecondY

Constructor & Destructor Documentation

SPlot2d_Prs::SPlot2d_Prs  ) 
 

Default constructor

SPlot2d_Prs::SPlot2d_Prs const Plot2d_Curve obj  ) 
 

Standard constructor

SPlot2d_Prs::SPlot2d_Prs const Plot2d_Prs prs  ) 
 

Standard constructor

SPlot2d_Prs::~SPlot2d_Prs  ) 
 

Destructor


Member Function Documentation

virtual bool SPlot2d_Prs.IsNull  )  const [virtual]
 

Reimplemented from Plot2d_Prs.

curveList SPlot2d_Prs.GetObjects  )  const
 

void SALOME_Prs2d::DisplayIn SALOME_View v  )  const [virtual, inherited]
 

Dispatches display operation to proper Display() method of SALOME_View

Implements SALOME_Prs.

void SALOME_Prs2d::EraseIn SALOME_View v,
const   bool = false
const [virtual, inherited]
 

Dispatches display operation to proper Erase() method of SALOME_View

Implements SALOME_Prs.

void SALOME_Prs2d::Update SALOME_Displayer d  )  [virtual, inherited]
 

Dispatches update operation to proper Update() method of SALOME_Displayer

Implements SALOME_Prs.

void SALOME_Prs2d::LocalSelectionIn SALOME_View v,
const   int
const [virtual, inherited]
 

Dispatches operation to proper LocalSelectionIn() method of SALOME_View

Implements SALOME_Prs.

curveList Plot2d_Prs::getCurves  )  const [inherited]
 

Get curves list

void Plot2d_Prs::AddObject const Plot2d_Curve obj  )  [inherited]
 

Add curve

bool Plot2d_Prs::isSecondY  )  const [inherited]
 

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

void Plot2d_Prs::setAutoDel bool  theDel  )  [inherited]
 

Returns:
0 if list of the curves is empty [ Reimplemented from SALOME_Prs ]


Field Documentation

curveList Plot2d_Prs.myCurves [protected, inherited]
 

bool Plot2d_Prs.mySecondY [protected, inherited]