Version: 8.3.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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 ( const char *  e)
explicit

Constructor

References myEntry.

virtual SALOME_Prs::~SALOME_Prs ( )
inlinevirtual

Member Function Documentation

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

Implemented in SALOME_Prs2d, SALOME_VTKPrs, and SALOME_OCCPrs.

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

Implemented in SALOME_Prs2d, SALOME_VTKPrs, and SALOME_OCCPrs.

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

Implemented in SALOME_Prs2d, SALOME_VTKPrs, and SALOME_OCCPrs.

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

Implemented in SALOME_Prs2d, SALOME_VTKPrs, and SALOME_OCCPrs.

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

Implemented in SALOME_Prs2d, SALOME_VTKPrs, and SALOME_OCCPrs.

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

Implemented in SALOME_Prs2d, SALOME_VTKPrs, and SALOME_OCCPrs.

const char * SALOME_Prs::GetEntry ( ) const

Get entry

References myEntry.

bool SALOME_Prs::IsClippable ( ) const
inline
virtual bool SALOME_Prs::IsNull ( ) const
pure virtual

Implemented in SOCC_Prs, SVTK_Prs, and SPlot2d_Prs.

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

Implemented in SALOME_Prs2d, SALOME_VTKPrs, and SALOME_OCCPrs.

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

Dispatches operation of activation of sub-shapes selection

Reimplemented in SALOME_OCCPrs.

void SALOME_Prs::SetClippable ( bool  isClippable)
inline
virtual void SALOME_Prs::Update ( SALOME_Displayer )
pure virtual

Implemented in SALOME_Prs2d, SALOME_VTKPrs, and SALOME_OCCPrs.

Member Data Documentation

std::string SALOME_Prs::myEntry
protected
bool SALOME_Prs::myIsClippable
protected

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