Version: 9.12.0
SALOME_Prs2d Class Reference

#include <SALOME_Prs.h>

Inheritance diagram for SALOME_Prs2d:
Inheritance graph

Public Member Functions

 SALOME_Prs2d (const char *e)
 Constructor. More...
 
virtual void DisplayIn (SALOME_View *) const
 It uses double dispatch in order to invoke Display() method corresponding to the actual type of presentation. More...
 
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. More...
 
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. More...
 
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. More...
 
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. More...
 
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. More...
 
virtual void Update (SALOME_Displayer *)
 It uses double dispatch in order to invoke Update() method corresponding to the actual type of presentation. More...
 
virtual void LocalSelectionIn (SALOME_View *, const int) const
 Key method for double dispatch of activation of sub-shapes selection. More...
 
- Public Member Functions inherited from SALOME_Prs
 SALOME_Prs (const char *)
 Constructor. More...
 
virtual ~SALOME_Prs ()
 Destructor. More...
 
const char * GetEntry () const
 Get entry. More...
 
virtual bool IsNull () const =0
 Should return true, if this presentation contains a graphic object. More...
 
virtual void LocalSelectionIn (SALOME_View *, const std::list< int >) const
 
bool IsClippable () const
 
void SetClippable (bool isClippable)
 

Additional Inherited Members

- Protected Attributes inherited from SALOME_Prs
std::string myEntry
 
bool myIsClippable
 

Detailed Description

Base class for Plot2d graphic object (Plot2d_Curve) wrappers.

Constructor & Destructor Documentation

◆ SALOME_Prs2d()

SALOME_Prs2d::SALOME_Prs2d ( const char *  e)
inlineexplicit

Constructor.

Member Function Documentation

◆ AfterDisplayIn()

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

It uses double dispatch in order to invoke AfterDisplayIn() method corresponding to the actual type of presentation.

Dispatches display operation to proper AfterDisplay() method of SALOME_Displayer

Implements SALOME_Prs.

References SALOME_Displayer::AfterDisplay().

◆ AfterEraseIn()

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

It uses double dispatch in order to invoke AfterEraseIn() method corresponding to the actual type of presentation.

Dispatches display operation to proper AfterErase() method of SALOME_Displayer

Implements SALOME_Prs.

References SALOME_Displayer::AfterErase().

◆ BeforeDisplayIn()

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

It uses double dispatch in order to invoke BeforeDisplayIn() method corresponding to the actual type of presentation.

Dispatches display operation to proper BeforeDisplay() method of SALOME_Displayer

Implements SALOME_Prs.

References SALOME_Displayer::BeforeDisplay().

◆ BeforeEraseIn()

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

It uses double dispatch in order to invoke BeforeEraseIn() method corresponding to the actual type of presentation.

Dispatches display operation to proper BeforeErase() method of SALOME_Displayer

Implements SALOME_Prs.

References SALOME_Displayer::BeforeErase().

◆ DisplayIn()

void SALOME_Prs2d::DisplayIn ( SALOME_View v) const
virtual

It uses double dispatch in order to invoke Display() method corresponding to the actual type of presentation.

Dispatches display operation to proper Display() method of SALOME_View

Implements SALOME_Prs.

References SALOME_View::Display().

◆ EraseIn()

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

It uses double dispatch in order to invoke Erase() method corresponding to the actual type of presentation.

Dispatches display operation to proper Erase() method of SALOME_View

Implements SALOME_Prs.

References SALOME_View::Erase().

◆ LocalSelectionIn()

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

Key method for double dispatch of activation of sub-shapes selection.

Dispatches operation to proper LocalSelectionIn() method of SALOME_View

Implements SALOME_Prs.

References SALOME_View::LocalSelection().

◆ Update()

void SALOME_Prs2d::Update ( SALOME_Displayer d)
virtual

It uses double dispatch in order to invoke Update() method corresponding to the actual type of presentation.

Dispatches update operation to proper Update() method of SALOME_Displayer

Implements SALOME_Prs.

References SALOME_Displayer::Update().


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