Version: 6.3.1
Public Member Functions

SALOME_View Class Reference

#include <SALOME_Prs.h>

Inheritance diagram for SALOME_View:
Inheritance graph

Public Member Functions

virtual ~SALOME_View ()
 Destructor.
void Display (const SALOME_Prs *)
 This Display() method should be called to display given presentation created anywhere by anybody.
void Erase (const SALOME_Prs *, const bool=false)
 This Erase() method should be called to erase given presentation created anywhere by anybody.
void LocalSelection (const SALOME_Prs *, const int)
 This LocalSelection() method should be called to activate sub-shapes selection created anywhere by anybody.
virtual void Display (const SALOME_OCCPrs *)
 Display SALOME_OCCPrs presentation.
virtual void Display (const SALOME_VTKPrs *)
 Display SALOME_VTKPrs presentation.
virtual void Display (const SALOME_Prs2d *)
 Display SALOME_Prs2d presentation.
virtual void Erase (const SALOME_OCCPrs *, const bool=false)
 Erase SALOME_OCCPrs.
virtual void Erase (const SALOME_VTKPrs *, const bool=false)
 Erase SALOME_VTKPrs.
virtual void Erase (const SALOME_Prs2d *, const bool=false)
 Erase SALOME_Prs2d.
virtual void EraseAll (const bool=false)
virtual void LocalSelection (const SALOME_OCCPrs *, const int)
 Local selection SALOME_OCCPrs.
virtual void LocalSelection (const SALOME_VTKPrs *, const int)
 Local selection SALOME_VTKPrs.
virtual void LocalSelection (const SALOME_Prs2d *, const int)
 Local selection SALOME_Prs2d.
virtual void GlobalSelection (const bool=false) const
 Deactivates selection of sub-shapes (must be redefined with OCC viewer)
virtual SALOME_PrsCreatePrs (const char *=0)
 Creates empty presenation of corresponding type.
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.
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 ( ) [virtual]

Member Function Documentation

void SALOME_View::Display ( 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().

void SALOME_View::Erase ( 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().

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

References SALOME_Prs.LocalSelectionIn().

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 ( 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 ( const bool  = false) [virtual]

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

Reimplemented in SOCC_Viewer, SPlot2d_Viewer, and SVTK_Viewer.

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_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.

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 SALOME_Prs* SALOME_View.CreatePrs ( const char *  = 0) [virtual]

Reimplemented in SOCC_Viewer, SPlot2d_Viewer, and SVTK_Viewer.

void SALOME_View::BeforeDisplay ( SALOME_Displayer d,
const SALOME_Prs p 
) [virtual]
void SALOME_View::AfterDisplay ( SALOME_Displayer d,
const SALOME_Prs p 
) [virtual]
void SALOME_View::BeforeErase ( SALOME_Displayer d,
const SALOME_Prs p 
) [virtual]
void SALOME_View::AfterErase ( SALOME_Displayer d,
const SALOME_Prs p 
) [virtual]
virtual bool SALOME_View.isVisible ( const Handle_SALOME_InteractiveObject &  ) [virtual]
Return values:
Returnfalse.
virtual void SALOME_View.Repaint ( ) [virtual]

Reimplemented in SOCC_Viewer, SPlot2d_Viewer, and SVTK_Viewer.

virtual void SALOME_View.GetVisible ( SALOME_ListIO theList) [virtual]

Reimplemented in SOCC_Viewer, SPlot2d_Viewer, and SVTK_Viewer.

Copyright © 2007-2011 CEA/DEN, EDF R&D, OPEN CASCADE
Copyright © 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS