23 #ifndef SVTK_VIEWMODEL_H
24 #define SVTK_VIEWMODEL_H
60 LastGradient = FourthCornerGradient,
68 SplitViewPortHorizontalType
73 static QString
Type() {
return "VTKViewer"; }
75 static void stereoData( QStringList&,
QIntList&);
93 QColor backgroundColor()
const;
96 void setBackgroundColor(
const QColor& );
105 double trihedronSize()
const;
108 bool trihedronRelative()
const;
111 void setTrihedronSize(
const double,
const bool =
true );
114 void setTrihedronTextColor();
117 bool isStaticTrihedronVisible()
const;
120 void setStaticTrihedronVisible(
const bool );
123 void setStaticTrihedronTextColor();
126 int projectionMode()
const;
129 void setProjectionMode(
const int );
132 int stereoType()
const;
135 void setStereoType(
const int );
138 int anaglyphFilter()
const;
141 void setAnaglyphFilter(
const int );
144 bool isQuadBufferSupport()
const;
147 void setQuadBufferSupport(
const bool );
150 int interactionStyle()
const;
153 void setInteractionStyle(
const int );
156 int zoomingStyle()
const;
159 void setZoomingStyle(
const int );
168 int incrementalSpeed()
const;
171 int incrementalSpeedMode()
const;
174 void setIncrementalSpeed(
const int,
const int = 0 );
177 int spacemouseBtn(
const int )
const;
180 void setSpacemouseButtons(
const int,
const int,
const int );
183 void enableSelection(
bool isEnabled);
186 void enableMultiselection(
bool isEnable);
224 void onChangeBackground();
Handle(TDocStd_Application) CAF_Application
Get OCAF application.
Definition: CAF_Application.cxx:97
QList< int > QIntList
list of int values
Definition: Qtx.h:55
#define SVTK_EXPORT
Definition: SVTK.h:37
int Preselection_Mode
Preselection modes.
Definition: SVTK_Selection.h:45
Stores background data.
Definition: Qtx.h:178
Definition: SALOME_Prs.h:366
Definition: SALOME_ListIO.hxx:29
Definition: SALOME_Prs.h:53
Definition: SALOME_Prs.h:160
Definition: SALOME_Prs.h:292
virtual bool isVisible(const Handle(SALOME_InteractiveObject)&)
Definition: SALOME_Prs.h:356
virtual SALOME_Prs * CreatePrs(const char *=0)
Creates empty presentation of corresponding type.
Definition: SALOME_Prs.h:344
virtual void GetVisible(SALOME_ListIO &)
Definition: SALOME_Prs.h:358
void Erase(SALOME_Displayer *, const SALOME_Prs *, const bool=false)
This Erase() method should be called to erase given presentation created anywhere by anybody.
Definition: SALOME_Prs.cxx:340
void Display(SALOME_Displayer *, const SALOME_Prs *)
This Display() method should be called to display given presentation created anywhere by anybody.
Definition: SALOME_Prs.cxx:331
virtual void Repaint()
Null body here.
Definition: SALOME_Prs.h:357
virtual void EraseAll(SALOME_Displayer *, const bool=false)
This EraseAll() method should be called to erase all presentations created anywhere by anybody.
Definition: SALOME_Prs.cxx:431
Definition: SUIT_Desktop.h:47
Definition: SUIT_ViewManager.h:50
virtual void contextMenuPopup(QMenu *)
Definition: SUIT_ViewModel.h:69
virtual SUIT_ViewWindow * createView(SUIT_Desktop *theDesktop)
Definition: SUIT_ViewModel.cxx:77
virtual void setViewManager(SUIT_ViewManager *theViewManager)
Definition: SUIT_ViewModel.cxx:85
Definition: SUIT_ViewWindow.h:42
To define minimal interface for SVTK_ViewWindow initialization.
Definition: SVTK_ViewModelBase.h:34
Define a container for SALOME VTK view window.
Definition: SVTK_ViewWindow.h:86
Extends two interfaces SVTK_ViewModelBase and SALOME_View.
Definition: SVTK_ViewModel.h:46
bool myMultiSelectionEnabled
Definition: SVTK_ViewModel.h:239
bool isMultiSelectionEnabled() const
Definition: SVTK_ViewModel.h:187
@ CrystalEyesType
Definition: SVTK_ViewModel.h:64
@ DresdenType
Definition: SVTK_ViewModel.h:66
@ InterlacedType
Definition: SVTK_ViewModel.h:65
@ AnaglyphType
Definition: SVTK_ViewModel.h:67
Preselection_Mode myPreSelectionMode
Definition: SVTK_ViewModel.h:248
bool myTrihedronRelative
Definition: SVTK_ViewModel.h:236
bool isSelectionEnabled() const
Definition: SVTK_ViewModel.h:184
int myAnaglyphFilter
Definition: SVTK_ViewModel.h:244
@ HorizontalGradient
Definition: SVTK_ViewModel.h:52
@ FourthCornerGradient
Definition: SVTK_ViewModel.h:59
@ SecondCornerGradient
Definition: SVTK_ViewModel.h:57
@ FirstCornerGradient
Definition: SVTK_ViewModel.h:56
@ FirstDiagonalGradient
Definition: SVTK_ViewModel.h:54
@ SecondDiagonalGradient
Definition: SVTK_ViewModel.h:55
@ VerticalGradient
Definition: SVTK_ViewModel.h:53
@ ThirdCornerGradient
Definition: SVTK_ViewModel.h:58
static QString Type()
Define string representation of the viewer type.
Definition: SVTK_ViewModel.h:73
int myIncrementSpeed
Definition: SVTK_ViewModel.h:240
int getSelectionCount() const
virtual QString getType() const
See SUIT_ViewModel::getType.
Definition: SVTK_ViewModel.h:90
bool myIsStaticTrihedronVisible
Definition: SVTK_ViewModel.h:237
int myStereoType
Definition: SVTK_ViewModel.h:243
void actorRemoved(SVTK_ViewWindow *, VTKViewer_Actor *)
int myProjMode
Definition: SVTK_ViewModel.h:242
int myIncrementMode
Definition: SVTK_ViewModel.h:241
int myStyle
Definition: SVTK_ViewModel.h:246
SVTK_ViewWindow TViewWindow
Definition: SVTK_ViewModel.h:70
void actorAdded(SVTK_ViewWindow *, VTKViewer_Actor *)
bool myQuadBufferSupport
Definition: SVTK_ViewModel.h:245
int myZoomingStyle
Definition: SVTK_ViewModel.h:247
bool mySelectionEnabled
Definition: SVTK_ViewModel.h:238
Qtx::BackgroundData myDefaultBackground
Definition: SVTK_ViewModel.h:234
double myTrihedronSize
Definition: SVTK_ViewModel.h:235
Definition: VTKViewer_Actor.h:79
int Type
Definition: VTKViewer_Actor.h:62