Version: 9.12.0
SALOME_Prs Class Referenceabstract

#include <SALOME_Prs.h>

Inheritance diagram for SALOME_Prs:
Inheritance graph

Public Member Functions

 SALOME_Prs (const char *)
 Constructor. More...
 
virtual ~SALOME_Prs ()
 Destructor. More...
 
const char * GetEntry () const
 Get entry. More...
 
virtual void DisplayIn (SALOME_View *) const =0
 Key method for double dispatch of display operation. More...
 
virtual void EraseIn (SALOME_View *, const bool=false) const =0
 Key method for double dispatch of erase operation. More...
 
virtual void BeforeDisplayIn (SALOME_Displayer *, SALOME_View *) const =0
 Key method for double dispatch of pre-display operation. More...
 
virtual void AfterDisplayIn (SALOME_Displayer *, SALOME_View *) const =0
 Key method for double dispatch of post-display operation. More...
 
virtual void BeforeEraseIn (SALOME_Displayer *, SALOME_View *) const =0
 Key method for double dispatch of pre-erase operation. More...
 
virtual void AfterEraseIn (SALOME_Displayer *, SALOME_View *) const =0
 Key method for double dispatch of post-erase operation. More...
 
virtual void Update (SALOME_Displayer *)=0
 Key method for double dispatch of update operation. More...
 
virtual bool IsNull () const =0
 Should return true, if this presentation contains a graphic object. More...
 
virtual void LocalSelectionIn (SALOME_View *, const int) const =0
 Key method for double dispatch of activation of sub-shapes selection. More...
 
virtual void LocalSelectionIn (SALOME_View *, const std::list< int >) const
 
bool IsClippable () const
 
void SetClippable (bool isClippable)
 

Protected Attributes

std::string myEntry
 
bool myIsClippable
 

Detailed Description

Base class for SALOME graphic object wrappers - presentations. Presentations are temporary objects, so they can be created on the stack.

Constructor & Destructor Documentation

◆ SALOME_Prs()

SALOME_Prs::SALOME_Prs ( const char *  e)
explicit

Constructor.

Constructor

References myEntry.

◆ ~SALOME_Prs()

virtual SALOME_Prs::~SALOME_Prs ( )
inlinevirtual

Destructor.

Member Function Documentation

◆ AfterDisplayIn()

virtual void SALOME_Prs::AfterDisplayIn ( SALOME_Displayer ,
SALOME_View  
) const
pure virtual

Key method for double dispatch of post-display operation.

Implemented in SALOME_Prs2d, SALOME_PV3DPrs, SALOME_VTKPrs, and SALOME_OCCPrs.

◆ AfterEraseIn()

virtual void SALOME_Prs::AfterEraseIn ( SALOME_Displayer ,
SALOME_View  
) const
pure virtual

Key method for double dispatch of post-erase operation.

Implemented in SALOME_Prs2d, SALOME_PV3DPrs, SALOME_VTKPrs, and SALOME_OCCPrs.

◆ BeforeDisplayIn()

virtual void SALOME_Prs::BeforeDisplayIn ( SALOME_Displayer ,
SALOME_View  
) const
pure virtual

Key method for double dispatch of pre-display operation.

Implemented in SALOME_Prs2d, SALOME_PV3DPrs, SALOME_VTKPrs, and SALOME_OCCPrs.

◆ BeforeEraseIn()

virtual void SALOME_Prs::BeforeEraseIn ( SALOME_Displayer ,
SALOME_View  
) const
pure virtual

Key method for double dispatch of pre-erase operation.

Implemented in SALOME_Prs2d, SALOME_PV3DPrs, SALOME_VTKPrs, and SALOME_OCCPrs.

◆ DisplayIn()

virtual void SALOME_Prs::DisplayIn ( SALOME_View ) const
pure virtual

Key method for double dispatch of display operation.

Implemented in SPV3D_Prs, SALOME_Prs2d, SALOME_PV3DPrs, SALOME_VTKPrs, and SALOME_OCCPrs.

◆ EraseIn()

virtual void SALOME_Prs::EraseIn ( SALOME_View ,
const bool  = false 
) const
pure virtual

Key method for double dispatch of erase operation.

Implemented in SALOME_Prs2d, SALOME_PV3DPrs, SALOME_VTKPrs, and SALOME_OCCPrs.

◆ GetEntry()

const char * SALOME_Prs::GetEntry ( ) const

Get entry.

Get entry

References myEntry.

◆ IsClippable()

bool SALOME_Prs::IsClippable ( ) const
inline

◆ IsNull()

virtual bool SALOME_Prs::IsNull ( ) const
pure virtual

Should return true, if this presentation contains a graphic object.

Implemented in SPV3D_Prs, SVTK_Prs, SPlot2d_Prs, and SOCC_Prs.

◆ LocalSelectionIn() [1/2]

virtual void SALOME_Prs::LocalSelectionIn ( SALOME_View ,
const int   
) const
pure virtual

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

Implemented in SALOME_Prs2d, SALOME_PV3DPrs, SALOME_VTKPrs, and SALOME_OCCPrs.

◆ LocalSelectionIn() [2/2]

void SALOME_Prs::LocalSelectionIn ( SALOME_View ,
const std::list< int >   
) const
virtual

Dispatches operation of activation of sub-shapes selection

Reimplemented in SALOME_PV3DPrs, and SALOME_OCCPrs.

◆ SetClippable()

void SALOME_Prs::SetClippable ( bool  isClippable)
inline

◆ Update()

virtual void SALOME_Prs::Update ( SALOME_Displayer )
pure virtual

Key method for double dispatch of update operation.

Implemented in SALOME_Prs2d, SALOME_PV3DPrs, SALOME_VTKPrs, and SALOME_OCCPrs.

Member Data Documentation

◆ myEntry

std::string SALOME_Prs::myEntry
protected

◆ myIsClippable

bool SALOME_Prs::myIsClippable
protected

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