#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_PV3DPrs *) |
| Display SALOME_PV3DPrs 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_PV3DPrs *, const bool=false) |
| Erase SALOME_PV3DPrs. 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_PV3DPrs *, const int) |
| Local selection SALOME_PV3DPrs. 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 presentation 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 &) |
Base classes for object wrappers for any other visualization libraries should be added here!
Base class for SALOME views (or view frames)
|
inlinevirtual |
Destructor.
|
virtual |
References SALOME_Prs::AfterDisplayIn().
|
virtual |
References SALOME_Prs::AfterEraseIn().
|
virtual |
References SALOME_Prs::BeforeDisplayIn().
|
virtual |
References SALOME_Prs::BeforeEraseIn().
|
inlinevirtual |
Creates empty presentation of corresponding type.
Reimplemented in SVTK_Viewer, SPV3D_ViewModel, SPlot2d_Viewer, and SOCC_Viewer.
|
virtual |
Display SALOME_OCCPrs presentation.
Virtual method, should be reimplemented in successors, by default issues a warning and does nothing.
Reimplemented in SOCC_Viewer.
|
virtual |
Display SALOME_Prs2d presentation.
Virtual method, should be reimplemented in successors, by default issues a warning and does nothing.
Reimplemented in SPlot2d_Viewer.
|
virtual |
Display SALOME_PV3DPrs presentation.
Virtual method, should be reimplemented in successors, by default issues a warning and does nothing.
Reimplemented in SPV3D_ViewModel.
|
virtual |
Display SALOME_VTKPrs presentation.
Virtual method, should be reimplemented in successors, by default issues a warning and does nothing.
Reimplemented in SVTK_Viewer.
| void SALOME_View::Display | ( | SALOME_Displayer * | d, |
| const SALOME_Prs * | prs | ||
| ) |
This Display() method should be called to display given presentation created anywhere by anybody.
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 |
Erase SALOME_OCCPrs.
Virtual method, should be reimplemented in successors, by default issues a warning and does nothing.
Reimplemented in SOCC_Viewer.
|
virtual |
Erase SALOME_Prs2d.
Virtual method, should be reimplemented in successors, by default issues a warning and does nothing.
Reimplemented in SPlot2d_Viewer.
|
virtual |
Erase SALOME_PV3DPrs.
Virtual method, should be reimplemented in successors, by default issues a warning and does nothing.
Reimplemented in SPV3D_ViewModel.
|
virtual |
Erase SALOME_VTKPrs.
Virtual method, should be reimplemented in successors, by default issues a warning and does nothing.
Reimplemented in SVTK_Viewer.
| void SALOME_View::Erase | ( | SALOME_Displayer * | d, |
| const SALOME_Prs * | prs, | ||
| const bool | forced = false |
||
| ) |
This Erase() method should be called to erase given presentation created anywhere by anybody.
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 |
This EraseAll() method should be called to erase all presentations created anywhere by anybody.
Virtual method, should be reimplemented in successors, by default issues a warning and does nothing.
Reimplemented in SVTK_Viewer, SPV3D_ViewModel, SPlot2d_Viewer, and SOCC_Viewer.
References SALOME_Displayer::UpdateVisibility().
|
inlinevirtual |
Reimplemented in SPlot2d_Viewer, SVTK_Viewer, SPV3D_ViewModel, and SOCC_Viewer.
|
virtual |
Deactivates selection of sub-shapes (must be redefined with OCC viewer)
Virtual method, should be reimplemented in successors, by default issues a warning and does nothing.
Reimplemented in SOCC_Viewer.
|
inlinevirtual |
| Return | false. |
Reimplemented in SPlot2d_Viewer, SVTK_Viewer, SPV3D_ViewModel, and SOCC_Viewer.
|
virtual |
Local selection SALOME_OCCPrs.
Virtual method, should be reimplemented in successors, by default issues a warning and does nothing.
Reimplemented in SOCC_Viewer.
|
virtual |
Multiple local selection SALOME_OCCPrs.
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_Prs * | prs, |
| const int | mode | ||
| ) |
This LocalSelection() method should be called to activate sub-shapes selection created anywhere by anybody.
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 |
Local selection SALOME_Prs2d.
Virtual method, should be reimplemented in successors, by default issues a warning and does nothing.
|
virtual |
Local selection SALOME_PV3DPrs.
Virtual method, should be reimplemented in successors, by default issues a warning and does nothing.
|
virtual |
Local selection SALOME_VTKPrs.
Virtual method, should be reimplemented in successors, by default issues a warning and does nothing.
|
inlinevirtual |
Null body here.
Reimplemented in SVTK_Viewer, SPV3D_ViewModel, SPlot2d_Viewer, and SOCC_Viewer.