#include <SALOME_Prs.h>
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_Prs * | CreatePrs (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) |
Base classes for object wrappers for any other visualization libraries should be added here!
Base class for SALOME views (or view frames)
|
inlinevirtual |
|
virtual |
References SALOME_Prs::AfterDisplayIn().
|
virtual |
References SALOME_Prs::AfterEraseIn().
|
virtual |
References SALOME_Prs::BeforeDisplayIn().
|
virtual |
References SALOME_Prs::BeforeEraseIn().
|
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().
|
virtual |
Virtual method, should be reimplemented in successors, by default issues a warning and does nothing.
Reimplemented in SOCC_Viewer.
|
virtual |
Virtual method, should be reimplemented in successors, by default issues a warning and does nothing.
Reimplemented in SVTK_Viewer.
|
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().
|
virtual |
Virtual method, should be reimplemented in successors, by default issues a warning and does nothing.
Reimplemented in SOCC_Viewer.
|
virtual |
Virtual method, should be reimplemented in successors, by default issues a warning and does nothing.
Reimplemented in SVTK_Viewer.
|
virtual |
Virtual method, should be reimplemented in successors, by default issues a warning and does nothing.
Reimplemented in SPlot2d_Viewer.
|
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().
|
inlinevirtual |
Reimplemented in SVTK_Viewer, SPlot2d_Viewer, and SOCC_Viewer.
|
virtual |
Virtual method, should be reimplemented in successors, by default issues a warning and does nothing.
Reimplemented in SOCC_Viewer.
|
inlinevirtual |
Return | false. |
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().
|
virtual |
Virtual method, should be reimplemented in successors, by default issues a warning and does nothing.
Reimplemented in SOCC_Viewer.
|
virtual |
Virtual method, should be reimplemented in successors, by default issues a warning and does nothing.
Reimplemented in SOCC_Viewer.
|
virtual |
Virtual method, should be reimplemented in successors, by default issues a warning and does nothing.
|
virtual |
Virtual method, should be reimplemented in successors, by default issues a warning and does nothing.
|
inlinevirtual |
Reimplemented in SVTK_Viewer, SPlot2d_Viewer, and SOCC_Viewer.