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

#include <SALOME_Prs.h>

Inheritance diagram for SALOME_OCCPrs:
Inheritance graph

Public Member Functions

 SALOME_OCCPrs (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...
 
virtual void LocalSelectionIn (SALOME_View *, const std::list< int >) const
 
- 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...
 
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 OpenCASCADE graphic object (AIS_InteractiveObject) wrappers. This intermediate class is necessary to avoid dependencies from OCC libs.

Constructor & Destructor Documentation

SALOME_OCCPrs::SALOME_OCCPrs ( const char *  e)
inlineexplicit

Member Function Documentation

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

Dispatches display operation to proper AfterDisplay() method of SALOME_Displayer

Implements SALOME_Prs.

References SALOME_Displayer::AfterDisplay().

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

Dispatches display operation to proper AfterErase() method of SALOME_Displayer

Implements SALOME_Prs.

References SALOME_Displayer::AfterErase().

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

Dispatches display operation to proper BeforeDisplay() method of SALOME_Displayer

Implements SALOME_Prs.

References SALOME_Displayer::BeforeDisplay().

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

Dispatches display operation to proper BeforeErase() method of SALOME_Displayer

Implements SALOME_Prs.

References SALOME_Displayer::BeforeErase().

void SALOME_OCCPrs::DisplayIn ( SALOME_View v) const
virtual

Dispatches display operation to proper Display() method of SALOME_View

Implements SALOME_Prs.

References SALOME_View::Display().

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

Dispatches display operation to proper Erase() method of SALOME_View

Implements SALOME_Prs.

References SALOME_View::Erase().

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

Dispatches operation to proper LocalSelectionIn() method of SALOME_View

Implements SALOME_Prs.

void SALOME_OCCPrs::LocalSelectionIn ( SALOME_View v,
const std::list< int >  modes 
) const
virtual

Dispatches operation to proper LocalSelectionIn() method of SALOME_View

Reimplemented from SALOME_Prs.

References SALOME_View::LocalSelection().

void SALOME_OCCPrs::Update ( SALOME_Displayer d)
virtual

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: