Version: 6.3.1
Public Member Functions | Protected Attributes

SPlot2d_Prs Class Reference

#include <SPlot2d_Prs.h>

Inheritance diagram for SPlot2d_Prs:
Inheritance graph

Public Member Functions

 SPlot2d_Prs ()
 SPlot2d_Prs (const Plot2d_Object *obj)
 SPlot2d_Prs (const Plot2d_Prs *prs)
 ~SPlot2d_Prs ()
virtual bool IsNull () const
objectList 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 BeforeDisplayIn (SALOME_Displayer *, SALOME_View *) const
 It uses double dispatch in order to invoke BeforeDisplayIn() method corresponding to the actual type of presentation.
virtual void AfterDisplayIn (SALOME_Displayer *, SALOME_View *) const
 It uses double dispatch in order to invoke AfterDisplayIn() method corresponding to the actual type of presentation.
virtual void BeforeEraseIn (SALOME_Displayer *, SALOME_View *) const
 It uses double dispatch in order to invoke BeforeEraseIn() method corresponding to the actual type of presentation.
virtual void AfterEraseIn (SALOME_Displayer *, SALOME_View *) const
 It uses double dispatch in order to invoke AfterEraseIn() 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.
objectList getObjects () const
void AddObject (Plot2d_Object *obj)
bool isSecondY () const
void setAutoDel (bool theDel)

Protected Attributes

objectList myObjects
bool mySecondY
bool myIsAutoDel

Constructor & Destructor Documentation

SPlot2d_Prs::SPlot2d_Prs ( )

Default constructor

SPlot2d_Prs::SPlot2d_Prs ( const Plot2d_Object obj)

Standard constructor

SPlot2d_Prs::SPlot2d_Prs ( const Plot2d_Prs prs)
SPlot2d_Prs::~SPlot2d_Prs ( )

Destructor


Member Function Documentation

bool SPlot2d_Prs::IsNull ( ) const [virtual]

Check if the presentation is empty

Reimplemented from Plot2d_Prs.

objectList SPlot2d_Prs::GetObjects ( ) const

Get contained objects

References Plot2d_Prs.getObjects().

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

Dispatches display operation to proper Display() method of SALOME_View

Implements SALOME_Prs.

References SALOME_View.Display().

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

Dispatches display operation to proper Erase() method of SALOME_View

Implements SALOME_Prs.

References SALOME_View.Erase().

void SALOME_Prs2d::BeforeDisplayIn ( SALOME_Displayer d,
SALOME_View v 
) const [virtual, inherited]

Dispatches display operation to proper BeforeDisplay() method of SALOME_Displayer

Implements SALOME_Prs.

References SALOME_Displayer.BeforeDisplay().

void SALOME_Prs2d::AfterDisplayIn ( SALOME_Displayer d,
SALOME_View v 
) const [virtual, inherited]

Dispatches display operation to proper AfterDisplay() method of SALOME_Displayer

Implements SALOME_Prs.

References SALOME_Displayer.AfterDisplay().

void SALOME_Prs2d::BeforeEraseIn ( SALOME_Displayer d,
SALOME_View v 
) const [virtual, inherited]

Dispatches display operation to proper BeforeErase() method of SALOME_Displayer

Implements SALOME_Prs.

References SALOME_Displayer.BeforeErase().

void SALOME_Prs2d::AfterEraseIn ( SALOME_Displayer d,
SALOME_View v 
) const [virtual, inherited]

Dispatches display operation to proper AfterErase() method of SALOME_Displayer

Implements SALOME_Prs.

References SALOME_Displayer.AfterErase().

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

Dispatches update operation to proper Update() method of SALOME_Displayer

Implements SALOME_Prs.

References SALOME_Displayer.Update().

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

Dispatches operation to proper LocalSelectionIn() method of SALOME_View

Implements SALOME_Prs.

References SALOME_View.LocalSelection().

objectList Plot2d_Prs::getObjects ( ) const [inherited]

Get objects list

References Plot2d_Prs.myObjects.

void Plot2d_Prs::AddObject ( Plot2d_Object obj) [inherited]
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 ]

References Plot2d_Prs.mySecondY.

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

References Plot2d_Prs.myIsAutoDel.


Field Documentation

objectList Plot2d_Prs.myObjects [protected, inherited]
bool Plot2d_Prs.mySecondY [protected, inherited]
bool Plot2d_Prs.myIsAutoDel [protected, inherited]
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