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

#include <SALOME_Prs.h>

Inheritance diagram for SALOME_View:
Inheritance graph

Public Member Functions

virtual ~SALOME_View ()
 Destructor. More...
 
void Display (SALOME_Displayer *, const SALOME_Prs *)
 This Display() method should be called to display given presentation created anywhere by anybody. More...
 
void Erase (SALOME_Displayer *, const SALOME_Prs *, const bool=false)
 This Erase() method should be called to erase given presentation created anywhere by anybody. More...
 
virtual void EraseAll (SALOME_Displayer *, const bool=false)
 This EraseAll() method should be called to erase all presentations created anywhere by anybody. More...
 
void LocalSelection (const SALOME_Prs *, const int)
 This LocalSelection() method should be called to activate sub-shapes selection created anywhere by anybody. More...
 
void LocalSelection (const SALOME_Prs *, const std::list< int >)
 
virtual void Display (const SALOME_OCCPrs *)
 Display SALOME_OCCPrs presentation. More...
 
virtual void Display (const SALOME_VTKPrs *)
 Display SALOME_VTKPrs presentation. More...
 
virtual void Display (const SALOME_Prs2d *)
 Display SALOME_Prs2d presentation. More...
 
virtual void Erase (const SALOME_OCCPrs *, const bool=false)
 Erase SALOME_OCCPrs. More...
 
virtual void Erase (const SALOME_VTKPrs *, const bool=false)
 Erase SALOME_VTKPrs. More...
 
virtual void Erase (const SALOME_Prs2d *, const bool=false)
 Erase SALOME_Prs2d. More...
 
virtual void LocalSelection (const SALOME_OCCPrs *, const int)
 Local selection SALOME_OCCPrs. More...
 
virtual void LocalSelection (const SALOME_OCCPrs *, const std::list< int >)
 Multiple local selection SALOME_OCCPrs. More...
 
virtual void LocalSelection (const SALOME_VTKPrs *, const int)
 Local selection SALOME_VTKPrs. More...
 
virtual void LocalSelection (const SALOME_Prs2d *, const int)
 Local selection SALOME_Prs2d. More...
 
virtual void GlobalSelection (const bool=false) const
 Deactivates selection of sub-shapes (must be redefined with OCC viewer) More...
 
virtual SALOME_PrsCreatePrs (const char *=0)
 Creates empty presenation of corresponding type. More...
 
virtual void BeforeDisplay (SALOME_Displayer *, const SALOME_Prs *)
 
virtual void AfterDisplay (SALOME_Displayer *, const SALOME_Prs *)
 
virtual void BeforeErase (SALOME_Displayer *, const SALOME_Prs *)
 
virtual void AfterErase (SALOME_Displayer *, const SALOME_Prs *)
 
virtual bool isVisible (const Handle(SALOME_InteractiveObject)&)
 
virtual void Repaint ()
 Null body here. More...
 
virtual void GetVisible (SALOME_ListIO &theList)
 

Detailed Description

Base classes for object wrappers for any other visualization libraries should be added here!

Base class for SALOME views (or view frames)

Constructor & Destructor Documentation

virtual SALOME_View::~SALOME_View ( )
inlinevirtual

Member Function Documentation

void SALOME_View::AfterDisplay ( SALOME_Displayer d,
const SALOME_Prs p 
)
virtual
void SALOME_View::AfterErase ( SALOME_Displayer d,
const SALOME_Prs p 
)
virtual
void SALOME_View::BeforeDisplay ( SALOME_Displayer d,
const SALOME_Prs p 
)
virtual
void SALOME_View::BeforeErase ( SALOME_Displayer d,
const SALOME_Prs p 
)
virtual
virtual SALOME_Prs* SALOME_View::CreatePrs ( const char *  = 0)
inlinevirtual

Reimplemented in SVTK_Viewer, SPlot2d_Viewer, and SOCC_Viewer.

void SALOME_View::Display ( SALOME_Displayer d,
const SALOME_Prs prs 
)

It simply passes control to SALOME_Prs object so that it could perform double dispatch.

Gives control to SALOME_Prs object, so that it could perform double dispatch

References SALOME_Prs::DisplayIn(), and SALOME_Displayer::UpdateVisibility().

void SALOME_View::Display ( const SALOME_OCCPrs )
virtual

Virtual method, should be reimplemented in successors, by default issues a warning and does nothing.

Reimplemented in SOCC_Viewer.

void SALOME_View::Display ( const SALOME_VTKPrs )
virtual

Virtual method, should be reimplemented in successors, by default issues a warning and does nothing.

Reimplemented in SVTK_Viewer.

void SALOME_View::Display ( const SALOME_Prs2d )
virtual

Virtual method, should be reimplemented in successors, by default issues a warning and does nothing.

Reimplemented in SPlot2d_Viewer.

void SALOME_View::Erase ( SALOME_Displayer d,
const SALOME_Prs prs,
const bool  forced = false 
)

It simply passes control to SALOME_Prs object so that it could perform double dispatch.

Gives control to SALOME_Prs object, so that it could perform double dispatch

References SALOME_Prs::EraseIn(), and SALOME_Displayer::UpdateVisibility().

void SALOME_View::Erase ( const SALOME_OCCPrs ,
const bool  = false 
)
virtual

Virtual method, should be reimplemented in successors, by default issues a warning and does nothing.

Reimplemented in SOCC_Viewer.

void SALOME_View::Erase ( const SALOME_VTKPrs ,
const bool  = false 
)
virtual

Virtual method, should be reimplemented in successors, by default issues a warning and does nothing.

Reimplemented in SVTK_Viewer.

void SALOME_View::Erase ( const SALOME_Prs2d ,
const bool  = false 
)
virtual

Virtual method, should be reimplemented in successors, by default issues a warning and does nothing.

Reimplemented in SPlot2d_Viewer.

void SALOME_View::EraseAll ( SALOME_Displayer d,
const bool  = false 
)
virtual

Virtual method, should be reimplemented in successors, by default issues a warning and does nothing.

Reimplemented in SVTK_Viewer, SPlot2d_Viewer, and SOCC_Viewer.

References SALOME_Displayer::UpdateVisibility().

virtual void SALOME_View::GetVisible ( SALOME_ListIO theList)
inlinevirtual

Reimplemented in SVTK_Viewer, SPlot2d_Viewer, and SOCC_Viewer.

void SALOME_View::GlobalSelection ( const bool  = false) const
virtual

Virtual method, should be reimplemented in successors, by default issues a warning and does nothing.

Reimplemented in SOCC_Viewer.

virtual bool SALOME_View::isVisible ( const Handle(SALOME_InteractiveObject)&  )
inlinevirtual
Return values
Returnfalse.

Reimplemented in SVTK_Viewer, SPlot2d_Viewer, and SOCC_Viewer.

void SALOME_View::LocalSelection ( const SALOME_Prs prs,
const int  mode 
)

It simply passes control to SALOME_Prs object so that it could perform double dispatch.

Gives control to SALOME_Prs object, so that it could perform double dispatch

void SALOME_View::LocalSelection ( const SALOME_Prs prs,
const std::list< int >  modes 
)

Gives control to SALOME_Prs object, so that it could perform double dispatch

References SALOME_Prs::LocalSelectionIn().

void SALOME_View::LocalSelection ( const SALOME_OCCPrs ,
const int   
)
virtual

Virtual method, should be reimplemented in successors, by default issues a warning and does nothing.

Reimplemented in SOCC_Viewer.

void SALOME_View::LocalSelection ( const SALOME_OCCPrs ,
const std::list< int >   
)
virtual

Virtual method, should be reimplemented in successors, by default issues a warning and does nothing.

Reimplemented in SOCC_Viewer.

void SALOME_View::LocalSelection ( const SALOME_VTKPrs ,
const int   
)
virtual

Virtual method, should be reimplemented in successors, by default issues a warning and does nothing.

void SALOME_View::LocalSelection ( const SALOME_Prs2d ,
const int   
)
virtual

Virtual method, should be reimplemented in successors, by default issues a warning and does nothing.

virtual void SALOME_View::Repaint ( )
inlinevirtual

Reimplemented in SVTK_Viewer, SPlot2d_Viewer, and SOCC_Viewer.


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