#include "SALOMEGUI_Swig.hxx"
#include <SUIT_Session.h>
#include <SUIT_Desktop.h>
#include <SUIT_ViewWindow.h>
#include <SUIT_ViewManager.h>
#include <SUIT_DataObjectIterator.h>
#include <CAM_DataModel.h>
#include <LightApp_Application.h>
#include <LightApp_Displayer.h>
#include <LightApp_Study.h>
#include <LightApp_Module.h>
#include <LightApp_DataObject.h>
#include <LightApp_SelectionMgr.h>
#include <LightApp_DataOwner.h>
#include <SALOME_Prs.h>
#include <SALOME_Event.h>
#include <SALOME_ListIO.hxx>
#include <SALOME_InteractiveObject.hxx>
#include <SOCC_ViewModel.h>
#include <SOCC_ViewWindow.h>
#include <SVTK_ViewModel.h>
#include <SVTK_ViewWindow.h>
#include <SVTK_Renderer.h>
#include <vtkCamera.h>
#include <vtkRenderer.h>
#include <SPlot2d_ViewWindow.h>
#include <utilities.h>
Classes | |
class | THasDesktopEvent |
class | TGetActiveStudyIdEvent |
class | TGetActiveStudyNameEvent |
class | TGetComponentNameEvent |
class | TGetSelectedEvent |
class | TIsInViewerEvent |
class | TGetViewParameters |
Enumerations | |
enum | { __ViewTop, __ViewBottom, __ViewLeft, __ViewRight, __ViewFront, __ViewBack } |
View operation type. More... | |
enum | { __CameraPosition, __CameraFocalPoint, __CameraViewUp, __ViewScale } |
View parameter type. More... | |
Functions | |
static LightApp_Application * | getApplication () |
Get active application object. More... | |
static LightApp_Study * | getActiveStudy () |
Get active study object. More... | |
static void | setView (int view) |
Change the view of the current view window. More... | |
static void | setViewParameter (int parameter, QList< double > &values) |
Change the camera parameters of the current view window. More... | |
anonymous enum |
anonymous enum |
|
static |
References SUIT_Application::activeStudy(), and getApplication().
|
static |
References SUIT_Session::activeApplication(), and SUIT_Session::session().
|
static |
Set view type for the current VTK viewer.
view | view operation type |
If there is no active VTK viewer, nothing happens.
type | view type |
References __ViewBack, __ViewBottom, __ViewFront, __ViewLeft, __ViewRight, __ViewTop, TEvent::Execute(), SUIT_ViewManager::getActiveView(), getApplication(), ProcessVoidEvent(), and TEvent::TEvent().
|
static |
NOTE: For the current moment implemented for VTK viewer only.
parameter | type of the parameter |
values | value of the parameter |
References __CameraFocalPoint, __CameraPosition, __CameraViewUp, __ViewScale, TEvent::Execute(), SUIT_ViewManager::getActiveView(), getApplication(), ProcessVoidEvent(), and TEvent::TEvent().