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   bool isStaticTrihedronVisible() 
const;
 
  117   void setStaticTrihedronVisible( 
const bool );
 
  120   int projectionMode() 
const;
 
  123   void setProjectionMode( 
const int );
 
  126   int stereoType() 
const;
 
  129   void setStereoType( 
const int );
 
  132   int anaglyphFilter() 
const;
 
  135   void setAnaglyphFilter( 
const int );
 
  138   bool isQuadBufferSupport() 
const;
 
  141   void setQuadBufferSupport( 
const bool );
 
  144   int interactionStyle() 
const;
 
  147   void setInteractionStyle( 
const int );
 
  150   int zoomingStyle() 
const;
 
  153   void setZoomingStyle( 
const int );
 
  162   int incrementalSpeed() 
const;
 
  165   int incrementalSpeedMode() 
const;
 
  168   void setIncrementalSpeed( 
const int, 
const int = 0 );
 
  171   int spacemouseBtn( 
const int ) 
const;
 
  174   void setSpacemouseButtons( 
const int, 
const int, 
const int );
 
  177   void enableSelection(
bool isEnabled);
 
  180   void enableMultiselection(
bool isEnable);
 
  183   int  getSelectionCount() 
const;
 
  218   void onChangeBackground();
 
  224   void updateToolBars();