Back to index

salome-gui  6.5.0
Public Types | Public Slots | Signals | Public Member Functions | Static Public Member Functions | Protected Types | Protected Slots | Protected Member Functions | Static Protected Member Functions | Protected Attributes | Private Slots | Private Member Functions | Static Private Member Functions | Private Attributes
SVTK_EXPORT Protocol Reference

The class is a basic one for all SALOME VTK presentation. More...

#include <SALOME_Actor.h>

Inheritance diagram for SVTK_EXPORT:
Inheritance graph
[legend]
Collaboration diagram for SVTK_EXPORT:
Collaboration graph
[legend]

List of all members.

Public Types

enum  {
  HorizontalGradient, VerticalGradient, FirstDiagonalGradient, SecondDiagonalGradient,
  FirstCornerGradient, SecondCornerGradient, ThirdCornerGradient, FourthCornerGradient,
  LastGradient = FourthCornerGradient
}
 supported gradient types More...
enum  { CYLINDER_SHAFT, LINE_SHAFT, USER_DEFINED_SHAFT }
enum  { CONE_TIP, SPHERE_TIP, USER_DEFINED_TIP }
typedef boost::shared_ptr
< SVTK_SelectionEvent
PSelectionEvent
typedef std::vector< vtkIdType > TVectorIds
typedef std::map< vtkActor
*, TVectorIds
TVectorIdsMap
typedef int TFilterID
typedef SVTK_ViewWindow TViewWindow

Public Slots

virtual void show ()
 Need for initial contents display on Win32.
virtual void polish ()
 To implement final initialization, just before the widget is displayed.
virtual void resize (int w, int h)
 To adjust widget and vtkRenderWindow size.
void onSelectionChanged ()
void onSelectionChanged ()
 To invoke Qt selectionChanged signal.
virtual void showEvent (QShowEvent *)
virtual void hideEvent (QHideEvent *)
virtual void onSelectionChanged ()
void onChangeRotationPoint (bool theIsActivate)
void activateSetRotationGravity ()
void activateSetRotationSelected (void *theData)
void activateStartPointSelection ()
void onUpdateRate (bool theIsActivate)
void onNonIsometric (bool theIsActivate)
void onGraduatedAxes (bool theIsActivate)
void activateZoom ()
void activateWindowFit ()
void activateRotation ()
void activatePanning ()
void activateGlobalPanning ()
void onPerspectiveMode ()
void activateProjectionMode (int)
void activateSetFocalPointGravity ()
void activateSetFocalPointSelected ()
void activateStartFocalPointSelection ()
void onViewParameters (bool theIsActivate)
void onSwitchInteractionStyle (bool theOn)
void onSwitchZoomingStyle (bool theOn)
void onSwitchDynamicPreSelection (bool theOn)
void onStartRecording ()
void onPlayRecording ()
void onPauseRecording ()
void onStopRecording ()
virtual void onFrontView ()
 Redirect the request to #SVTK_Renderer::OnFrontView.
virtual void onBackView ()
 Redirect the request to #SVTK_Renderer::OnBackView.
virtual void onTopView ()
 Redirect the request to #SVTK_Renderer::OnTopView.
virtual void onBottomView ()
 Redirect the request to #SVTK_Renderer::OnBottomView.
virtual void onRightView ()
 Redirect the request to #SVTK_Renderer::OnRightView.
virtual void onLeftView ()
 Redirect the request to #SVTK_Renderer::OnLeftView.
virtual void onClockWiseView ()
 Redirect the request to #SVTK_Renderer::onClockWiseView.
virtual void onAntiClockWiseView ()
 Redirect the request to #SVTK_Renderer::onAntiClockWiseView.
virtual void onResetView ()
 Redirect the request to #SVTK_Renderer::OnResetView.
virtual void onFitAll ()
 Redirect the request to #SVTK_Renderer::OnFitAll.
virtual void onViewTrihedron ()
 Redirect the request to #SVTK_Renderer::OnViewTrihedron.
virtual void onViewCubeAxes ()
 Redirect the request to #SVTK_Renderer::OnViewCubeAxes.
virtual void onAdjustTrihedron ()
 Redirect the request to #SVTK_Renderer::OnAdjustTrihedron.
virtual void onAdjustCubeAxes ()
 Redirect the request to #SVTK_Renderer::OnAdjustCubeAxes.
virtual void synchronize (SVTK_ViewWindow *)

Signals

void triggered (int)
void MouseMove (QMouseEvent *)
void MouseButtonPressed (QMouseEvent *)
void MouseButtonReleased (QMouseEvent *)
void MouseDoubleClicked (QMouseEvent *)
void ButtonPressed (const QMouseEvent *event)
void ButtonReleased (const QMouseEvent *event)
void WheelMoved (QWheelEvent *)
void KeyPressed (QKeyEvent *)
void KeyReleased (QKeyEvent *)
void contextMenuRequested (QContextMenuEvent *e)
void selectionChanged ()
void MouseMove (QMouseEvent *)
void MouseButtonPressed (QMouseEvent *)
void MouseButtonReleased (QMouseEvent *)
void MouseDoubleClicked (QMouseEvent *)
void ButtonPressed (const QMouseEvent *event)
void ButtonReleased (const QMouseEvent *event)
void WheelMoved (QWheelEvent *)
void KeyPressed (QKeyEvent *)
void KeyReleased (QKeyEvent *)
void contextMenuRequested (QContextMenuEvent *e)
void selectionChanged ()
void actorAdded (SVTK_ViewWindow *, VTKViewer_Actor *)
void actorRemoved (SVTK_ViewWindow *, VTKViewer_Actor *)
void selectionChanged ()
 To declare signal on selection changed.
void Show (QShowEvent *)
void Hide (QHideEvent *)
void selectionChanged ()
void actorAdded (VTKViewer_Actor *)
void actorRemoved (VTKViewer_Actor *)
void transformed (SVTK_ViewWindow *)

Public Member Functions

 vtkTypeMacro (SALOME_Actor, VTKViewer_Actor)
virtual Standard_Boolean hasIO ()
 To check, if the SALOME_Actor has a reference to SALOME_InteractiveObject.
virtual const Handle (SALOME_InteractiveObject)&getIO()
 Get correspoinding reference to SALOME_InteractiveObject.
virtual void setIO (const Handle(SALOME_InteractiveObject)&theIO)
 Set reference to SALOME_InteractiveObject.
virtual void setName (const char *theName)
 Name the SALOME_Actor.
virtual void SetTransform (VTKViewer_Transform *theTransform)
 Apply view transformation.
virtual void SetPosition (vtkFloatingPointType _arg1, vtkFloatingPointType _arg2, vtkFloatingPointType _arg3)
 Apply additional position.
virtual void SetPosition (vtkFloatingPointType _arg[3])
 Apply additional position.
virtual void SetVisibility (int)
 Visibility management.
virtual bool ShouldBeDisplayed ()
 Gets know whether the actor should be displayed or not.
virtual void AddToRender (vtkRenderer *theRendere)
 To publish the actor an all its internal devices.
virtual void RemoveFromRender (vtkRenderer *theRendere)
 To remove the actor an all its internal devices.
vtkRenderer * GetRenderer ()
 Get reference on renderer where it is published.
virtual void SetInteractor (vtkRenderWindowInteractor *theInteractor)
 To set interactor in order to use #vtkInteractorObserver devices.
virtual void Update ()
 Put a request to redraw the view.
virtual void SetSelector (SVTK_Selector *theSelector)
 Set selector in order to the actor at any time can restore current selection.
virtual void highlight (bool theHighlight)
 Just to update visibility of the highlight devices.
virtual void Highlight (bool theHighlight)
 To map current selection to VTK representation.
virtual bool PreHighlight (vtkInteractorStyle *theInteractorStyle, SVTK_SelectionEvent *theSelectionEvent, bool theIsHighlight)
 To process prehighlight (called from SVTK_InteractorStyle)
virtual bool Highlight (vtkInteractorStyle *theInteractorStyle, SVTK_SelectionEvent *theSelectionEvent, bool theIsHighlight)
 To process highlight (called from SVTK_InteractorStyle)
virtual bool IsDisplayNameActor () const
 To get flag of displaying of name actor.
virtual void SetIsDisplayNameActor (bool theIsDisplayNameActor)
 To set flag of displaying of name actor.
virtual void SetNameActorText (const char *theText)
 To set text of name actor.
virtual void SetNameActorOffset (int theOffset[2])
 To set offset of name actor.
virtual void GetNameActorSize (vtkRenderer *theRenderer, int theSize[2]) const
 To get size of name actor.
virtual void UpdateNameActors ()
 To update visibility of name actors.
virtual void SetMarkerStd (VTK::MarkerType, VTK::MarkerScale)
 Set standard point marker.
virtual void SetMarkerTexture (int, VTK::MarkerTexture)
 Set custom point marker.
virtual VTK::MarkerType GetMarkerType ()
 Get type of the point marker.
virtual VTK::MarkerScale GetMarkerScale ()
 Get scale of the point marker.
virtual int GetMarkerTexture ()
 Get texture identifier of the point marker.
void SetPointPicker (vtkPointPicker *thePointPicker)
 To set up a picker for nodal selection (initialized by #SVTK_Renderer::AddActor)
void SetCellPicker (vtkCellPicker *theCellPicker)
 To set up a picker for cell selection (initialized by #SVTK_Renderer::AddActor)
void SetPointRectPicker (SVTK_RectPicker *theRectPicker)
 To set up a picker for point rectangle selection (initialized by #SVTK_Renderer::AddActor)
void SetCellRectPicker (SVTK_RectPicker *theRectPicker)
 To set up a picker for cell rectangle selection (initialized by #SVTK_Renderer::AddActor)
void SetPreHighlightProperty (vtkProperty *theProperty)
 To set up a prehighlight property (initialized by #SVTK_Renderer::AddActor)
void SetHighlightProperty (vtkProperty *theProperty)
 To set up a highlight property (initialized by #SVTK_Renderer::AddActor)
 vtkTypeMacro (SVTK_Actor, SVTK_DeviceActor)
void Initialize ()
 Initialiaze the instance completely.
void SetSource (vtkUnstructuredGrid *theUnstructuredGrid)
 Allows to set an external source.
vtkUnstructuredGrid * GetSource ()
 Get its internal data set.
void MapCells (SALOME_Actor *theMapActor, const TColStd_IndexedMapOfInteger &theMapIndex)
 Allow to recostruct selected cells from source SALOME_Actor and map of subindexes.
void MapPoints (SALOME_Actor *theMapActor, const TColStd_IndexedMapOfInteger &theMapIndex)
 Allow to recostruct selected points from source SALOME_Actor and map of subindexes.
void MapEdge (SALOME_Actor *theMapActor, const TColStd_IndexedMapOfInteger &theMapIndex)
 Allow to recostruct selected edges from source SALOME_Actor and map of subindexes.
const TColStd_IndexedMapOfInteger & GetMapIndex () const
 SVTK_ComboAction (QObject *=0)
 SVTK_ComboAction (const QString &, QObject *=0)
virtual ~SVTK_ComboAction ()
void insertItem (const QIcon &, const int=-1)
void clear ()
void setCurrentIndex (const int)
int currentIndex () const
 SVTK_AxisWidget (QWidget *)
 ~SVTK_AxisWidget ()
bool ReadData (vtkAxisActor2D *)
bool Apply (vtkAxisActor2D *)
 SVTK_CubeAxesDlg (QtxAction *theAction, SVTK_ViewWindow *theParent, const char *theName)
virtual ~SVTK_CubeAxesDlg ()
virtual void Update ()
 vtkTypeMacro (SVTK_DeviceActor, vtkLODActor)
virtual void SetTransform (VTKViewer_Transform *theTransform)
 Apply a view transformation.
virtual void SetMapper (vtkMapper *theMapper)
 To insert some additional filters and then sets the given #vtkMapper.
virtual vtkDataSet * GetInput ()
 Allows to get initial #vtkDataSet.
virtual void SetInput (vtkDataSet *theDataSet)
 Allows to set initial #vtkDataSet.
virtual unsigned long int GetMTime ()
virtual void Render (vtkRenderer *, vtkMapper *)
VTKViewer_DataSetMapper * GetDataSetMapper ()
virtual void SetQuadraticArcMode (bool theFlag)
 Setting for displaying quadratic elements.
virtual bool GetQuadraticArcMode ()
virtual void SetQuadraticArcAngle (vtkFloatingPointType theMaxAngle)
virtual vtkFloatingPointType GetQuadraticArcAngle ()
virtual void SetCoincident3DAllowed (bool theIsFeatureEdgesAllowed)
virtual bool IsCoincident3DAllowed () const
 SVTK_FontWidget (QWidget *)
virtual ~SVTK_FontWidget ()
virtual void SetData (const QColor &, const int, const bool, const bool, const bool)
virtual void GetData (QColor &, int &, bool &, bool &, bool &) const
 vtkTypeMacro (QVTK_GenericRenderWindowInteractor, vtkGenericRenderWindowInteractor)
virtual int CreateTimer (int)
 Starts the QTimer instance on defined microseconds.
virtual int DestroyTimer ()
 Stops the QTimer instance.
 vtkTypeMacro (SVTK_GenericRenderWindowInteractor, QVTK_GenericRenderWindowInteractor)
SVTK_Selector * GetSelector ()
 To get access to SVTK_Selector.
void SetSelector (SVTK_Selector *theSelector)
 To initialize mySelector field.
QWidget * GetRenderWidget ()
 To get access to QWidget, where vtkRenderWindow maps to.
void SetRenderWidget (QWidget *theRenderWidget)
 To initialize myRenderWidget field.
 vtkTypeMacro (SVTK_ControllerIncrement, vtkObject)
void SetStartValue (const int)
 Set start value of increment.
int Current () const
 Get current value of increment.
virtual int Increase ()
 Increace the increment value by add 1.
virtual int Decrease ()
 Decreace the increment value by subtract 1.
 vtkTypeMacro (SVTK_GeomControllerIncrement, SVTK_ControllerIncrement)
virtual int Increase ()
 Increace the increment value by add 1.
virtual int Decrease ()
 Decreace the increment value by subtract 1.
 vtkTypeMacro (SVTK_ControllerOnKeyDown, vtkObject)
virtual bool OnKeyDown (vtkInteractorStyle *)
 Provides the action on event.
 vtkTypeMacro (SVTK_InteractorStyle, vtkInteractorStyle)
void SetTDxStyle (vtkTDxInteractorStyle *)
virtual SVTK_SelectionEventGetSelectionEvent ()
 Generate special SVTK_SelectionEvent.
virtual SVTK_SelectionEventGetSelectionEventFlipY ()
 Generate special SVTK_SelectionEvent with flipped Y coordinate.
virtual void SetInteractor (vtkRenderWindowInteractor *)
 Redefined in order to add an observer (callback) for custom event (space mouse event)
virtual void Render ()
 To invoke #vtkRenderWindowInteractor::CreateTimer.
virtual void OnTimer ()
 To implement cached rendering.
virtual void OnConfigure ()
 To reset reset view.
virtual void OnMouseMove ()
 To handle mouse move event.
virtual void OnLeftButtonDown ()
 To handle left mouse button down event (reimplemented from #vtkInteractorStyle)
virtual void OnLeftButtonUp ()
 To handle left mouse button up event (reimplemented from #vtkInteractorStyle)
virtual void OnMiddleButtonDown ()
 To handle middle mouse button down event (reimplemented from #vtkInteractorStyle)
virtual void OnMiddleButtonUp ()
 To handle middle mouse button up event (reimplemented from #vtkInteractorStyle)
virtual void OnRightButtonDown ()
 To handle right mouse button down event (reimplemented from #vtkInteractorStyle)
virtual void OnRightButtonUp ()
 To handle right mouse button up event (reimplemented from #vtkInteractorStyle)
virtual void OnMouseWheelForward ()
 To handle mouse wheel forward event (reimplemented from #vtkInteractorStyle)
virtual void OnMouseWheelBackward ()
 To handle mouse wheel backward event (reimplemented from #vtkInteractorStyle)
virtual void OnChar ()
 To handle keyboard event (reimplemented from #vtkInteractorStyle)
void SetControllerIncrement (SVTK_ControllerIncrement *)
 To set current increment controller.
void SetIncrementSpeed (const int, const int=0)
 To modify current increment controller.
SVTK_ControllerIncrementControllerIncrement ()
 To get current increment controller.
virtual void OnKeyDown ()
 Redefine vtkInteractorStyle::OnKeyDown.
void ActionPicking ()
 Provide instructions for Picking.
void SetControllerOnKeyDown (SVTK_ControllerOnKeyDown *)
 To set current OnKeyDown controller.
SVTK_ControllerOnKeyDownControllerOnKeyDown ()
 To get current OnKeyDown controller.
SVTK_Selector * GetSelector ()
int CurrentState () const
void SetAdvancedZoomingEnabled (const bool theState)
bool IsAdvancedZoomingEnabled () const
 vtkTypeMacro (SVTK_KeyFreeInteractorStyle, SVTK_InteractorStyle)
 SVTK_Prs ()
 SVTK_Prs (const vtkActor *obj)
 ~SVTK_Prs ()
vtkActorCollection * GetObjects () const
void AddObject (const vtkActor *obj)
bool IsNull () const
 vtkTypeMacro (SVTK_RectPicker, vtkAbstractPropPicker)
 vtkSetMacro (Tolerance, vtkFloatingPointType)
 Specify tolerance for performing pick operation.
 vtkGetMacro (Tolerance, vtkFloatingPointType)
 vtkSetMacro (PickPoints, int)
 Use these methods to pick points or points and cells.
 vtkGetMacro (PickPoints, int)
 vtkBooleanMacro (PickPoints, int)
virtual int Pick (vtkFloatingPointType theSelectionX, vtkFloatingPointType theSelectionY, vtkFloatingPointType theSelectionZ, vtkFloatingPointType theSelectionX2, vtkFloatingPointType theSelectionY2, vtkFloatingPointType theSelectionZ2, vtkRenderer *theRenderer)
int Pick (vtkFloatingPointType theSelection[3], vtkFloatingPointType theSelection2[3], vtkRenderer *theRenderer)
const TVectorIdsMapGetPointIdsMap () const
const TVectorIdsMapGetCellIdsMap () const
 vtkTypeMacro (SVTK_Renderer, vtkObject)
vtkRenderer * GetDevice ()
 Get its device.
virtual void Initialize (vtkRenderWindowInteractor *theInteractor, SVTK_Selector *theSelector)
 Initialize the class.
virtual void AddActor (VTKViewer_Actor *theActor, bool theIsAdjustActors=true)
 Publishes pointed actor into the renderer.
virtual void RemoveActor (VTKViewer_Actor *theActor, bool theIsAdjustActors=true)
 Removes pointed actor from the renderer.
VTKViewer_Transform * GetTransform ()
 Get special container that keeps scaling of the scene.
virtual void SetScale (double theScale[3])
 Allows to apply a scale on the whole scene.
void GetScale (double theScale[3])
 Allows to get a scale that is applied on the whole scene.
void SetSelectionProp (const double &theRed=1, const double &theGreen=1, const double &theBlue=0, const int &theWidth=5)
 Applies color and size (PointSize and LineWidth) of primitives in selection mode.
void SetPreselectionProp (const double &theRed=0, const double &theGreen=1, const double &theBlue=1, const int &theWidth=5)
 Applies color and size (PointSize and LineWidth) of primitives in preselection mode.
void SetSelectionTolerance (const double &theTolNodes=0.025, const double &theTolCell=0.001, const double &theTolObjects=0.025)
 Setup requested tolerance for the picking.
void AdjustActors ()
 Adjust all intenal actors (trihedron and graduated rules) to the scene.
void SetTrihedronSize (vtkFloatingPointType theSize, const bool theRelative=true)
 Set size of the trihedron in percents from bounding box of the scene.
vtkFloatingPointType GetTrihedronSize () const
 Get size of the trihedron in percents from bounding box of the scene.
bool IsTrihedronRelative () const
 Shows if the size of the trihedron is relative.
VTKViewer_Trihedron * GetTrihedron ()
 Get trihedron control.
bool IsTrihedronDisplayed ()
 Is trihedron displayed.
void OnViewTrihedron ()
 Toggle trihedron visibility.
void OnAdjustTrihedron ()
 Adjust size of the trihedron to the bounding box of the scene.
SVTK_CubeAxesActor2D * GetCubeAxes ()
 Get graduated rules control.
bool IsCubeAxesDisplayed ()
 Is graduated rules displayed.
void OnViewCubeAxes ()
 Toggle graduated rules visibility.
void OnAdjustCubeAxes ()
 Adjust size of the graduated rules to the bounding box of the scene.
void OnFitAll ()
 Fit all presentation in the scene into the window.
void OnResetView ()
 Set camera into predefined state.
void OnResetClippingRange ()
 Reset camera clipping range to adjust the range to the bounding box of the scene.
void OnFrontView ()
 To reset direction of the camera to front view.
void OnBackView ()
 To reset direction of the camera to back view.
void OnTopView ()
 To reset direction of the camera to top view.
void OnBottomView ()
 To reset direction of the camera to bottom view.
void OnRightView ()
 To reset direction of the camera to right view.
void OnLeftView ()
 To reset direction of the camera to left view.
void onClockWiseView ()
 To rotate view 90 degrees clockwise.
void onAntiClockWiseView ()
 To rotate view 90 degrees counterclockwise.
 QVTK_RenderWindowInteractor (QWidget *theParent, const char *theName)
 ~QVTK_RenderWindowInteractor ()
virtual void Initialize (vtkGenericRenderWindowInteractor *theDevice)
 To initialize by #vtkGenericRenderWindowInteractor instance.
vtkGenericRenderWindowInteractor * GetDevice ()
vtkRenderWindow * getRenderWindow ()
virtual void InvokeEvent (unsigned long theEvent, void *theCallData)
 Just to simplify usage of its device (#vtkGenericRenderWindowInteractor)
virtual QPaintEngine * paintEngine () const
 Get paint engine for the scene.
 SVTK_RenderWindowInteractor (QWidget *theParent, const char *theName)
 ~SVTK_RenderWindowInteractor ()
virtual void Initialize (vtkGenericRenderWindowInteractor *theDevice, SVTK_Renderer *theRenderer, SVTK_Selector *theSelector)
 To initialize properly the class.
SVTK_RendererGetRenderer ()
 To get corresponding SVTK_Renderer instance.
vtkRenderer * getRenderer ()
 To get corresponding SVTK_Renderer device (just to simplify collobaration with SVTK_Renderer)
vtkInteractorStyle * GetInteractorStyle ()
 To get current interactor style.
void PushInteractorStyle (vtkInteractorStyle *theStyle)
 To change current interactor style by pushing the new one into the container.
void PopInteractorStyle ()
 To restore previous interactor style.
SVTK_Selector * GetSelector ()
 To get corresponding SVTK_Selector.
Selection_Mode SelectionMode () const
 To get current selection mode (just to simplify collobaration with SVTK_Selector)
void SetSelectionMode (Selection_Mode theMode)
 To change selection mode (just to simplify collobaration with SVTK_Selector)
void onEmitSelectionChanged ()
 To transform vtkCommand::EndPickEvent to Qt selectionChanged signal.
 vtkTypeMacro (SVTK_Selector, vtkObject)
virtual void SetSelectionMode (Selection_Mode theMode)=0
 To change current Selection_Mode (as outside effect, it invokes selectionChange signal)
virtual Selection_Mode SelectionMode () const =0
 Get current Selection_Mode.
virtual void ClearIObjects ()=0
 Clear selection.
virtual SALOME_ActorGetActor (const Handle(SALOME_InteractiveObject)&theIO) const =0
 Try to find corresponding SALOME_Actor for given reference on SALOME_InteractiveObject.
virtual bool IsSelected (const Handle(SALOME_InteractiveObject)&theIO) const =0
 Check, is the SALOME_InteractiveObject is present into selection.
virtual bool IsSelected (SALOME_Actor *theActor) const =0
 Check, is the SALOME_Actor is present into selection.
virtual bool AddIObject (const Handle(SALOME_InteractiveObject)&theIO)=0
 Modify the selection by adding new reference on SALOME_InteractiveObject.
virtual bool AddIObject (SALOME_Actor *theActor)=0
 Modify the selection by adding new reference on SALOME_Actor.
virtual bool RemoveIObject (const Handle(SALOME_InteractiveObject)&theIO)=0
 Modify the selection by removing a reference on SALOME_InteractiveObject.
virtual bool RemoveIObject (SALOME_Actor *theActor)=0
 Modify the selection by removing a reference on SALOME_Actor.
virtual const SALOME_ListIOStoredIObjects () const =0
 Get all SALOME_InteractiveObject references that is present into selection.
virtual int IObjectCount () const =0
 Get number of selected objects.
virtual bool HasIndex (const Handle(SALOME_InteractiveObject)&theIO) const =0
 Check, if the SALOME_InteractiveObject has a subselection.
virtual void GetIndex (const Handle(SALOME_InteractiveObject)&theIO, TColStd_IndexedMapOfInteger &theIndex)=0
 Get indexes of subslection for given SALOME_InteractiveObject.
virtual bool AddOrRemoveIndex (const Handle(SALOME_InteractiveObject)&theIO, const TColStd_IndexedMapOfInteger &theIndices, bool theIsModeShift)=0
 Change indices of subselection for given SALOME_InteractiveObject.
virtual bool AddOrRemoveIndex (const Handle(SALOME_InteractiveObject)&theIO, const TColStd_MapOfInteger &theIndices, bool theIsModeShift)=0
 Change indexes of subslection for given SALOME_InteractiveObject.
virtual bool AddOrRemoveIndex (const Handle(SALOME_InteractiveObject)&theIO, int theIndex, bool theIsModeShift)=0
 Change index of subslection for given SALOME_InteractiveObject.
virtual void RemoveIndex (const Handle(SALOME_InteractiveObject)&theIO, int theIndex)=0
 Change index of subslection for given SALOME_InteractiveObject.
virtual bool IsIndexSelected (const Handle(SALOME_InteractiveObject)&theIO, int theIndex) const =0
 Check, if the given index is present in subselection.
virtual void ClearIndex ()=0
 Clear subselection.
virtual void SetFilter (const Handle(VTKViewer_Filter)&theFilter)=0
 To apply a filter on the selection.
virtual Handle (VTKViewer_Filter) GetFilter(const TFilterID theId) const =0
 To get a section filter by its number.
virtual bool IsFilterPresent (const TFilterID theId) const =0
 Check, if a filter with given number is applyed.
virtual void RemoveFilter (const TFilterID theId)=0
 To remove a filter from the selection.
virtual bool IsValid (SALOME_Actor *theActor, const int theId, const bool theIsNode=false) const =0
 Check, if the index satisfy to the installed filters.
virtual void StartPickCallback ()=0
virtual void EndPickCallback ()=0
 To invoke selectionChanged signals.
virtual vtkActorCollection * Pick (const SVTK_SelectionEvent *theEvent, vtkRenderer *theRenderer) const =0
virtual void SetTolerance (const double &theTolerance)=0
virtual void SetDynamicPreSelection (bool theIsDynPreselect)=0
virtual bool GetDynamicPreSelection () const =0
 SVTK_SetRotationPointDlg (QtxAction *theAction, SVTK_ViewWindow *theParent, const char *theName)
 ~SVTK_SetRotationPointDlg ()
void addObserver ()
bool IsFirstShown ()
 vtkTypeMacro (SVTK_Trihedron, VTKViewer_Trihedron)
virtual int GetVisibleActorCount (vtkRenderer *theRenderer)
 SVTK_SignalHandler (SVTK_ViewWindow *theMainWindow)
virtual ~SVTK_SignalHandler ()
SVTK_ViewWindowGetMainWindow ()
 Get reference to its SVTK_ViewWindow.
void Repaint (bool theUpdateTrihedron=true)
 Redirect the request to #SVTK_ViewWindow::Repaint (just for flexibility)
SVTK_RendererGetRenderer ()
 Redirect the request to #SVTK_ViewWindow::GetRenderer (just for flexibility)
vtkRenderer * getRenderer ()
 Redirect the request to #SVTK_ViewWindow::getRenderer (just for flexibility)
 SVTK_View (SVTK_ViewWindow *theMainWindow)
virtual ~SVTK_View ()
void highlight (const Handle(SALOME_InteractiveObject)&IObject, bool highlight, bool immediatly=true)
 To highlight a VTK presentation with the same SALOME_InteractiveObject.
void unHighlightAll ()
 To unhighlight all VTK presentations.
 Handle (SALOME_InteractiveObject) FindIObject(const char *Entry)
 Try to find a SALOME_InteractiveObject in the view that corresponds to the entry.
bool isInViewer (const Handle(SALOME_InteractiveObject)&IObject)
 Check, if the viewer contains a presentatin with defined SALOME_InteractiveObject.
bool isVisible (const Handle(SALOME_InteractiveObject)&IObject)
 Check, if a presentatin with defined SALOME_InteractiveObject is visible.
void rename (const Handle(SALOME_InteractiveObject)&IObject, const QString &newName)
int GetDisplayMode ()
 Get current display mode (obsolete)
void SetDisplayMode (int)
 Set current display mode.
void SetDisplayMode (const Handle(SALOME_InteractiveObject)&IObject, int theMode)
 Switch representation wireframe/shading.
void ChangeRepresentationToWireframe ()
 Change all actors to wireframe.
void ChangeRepresentationToSurface ()
 Change all actors to surface.
void ChangeRepresentationToSurfaceWithEdges ()
 Change all actors to surface with edges.
void ChangeRepresentationToWireframe (vtkActorCollection *theListofActors)
 Change to wireframe a list of vtkactor.
void ChangeRepresentationToSurface (vtkActorCollection *theListofActors)
 Change to surface a list of vtkactor.
void ChangeRepresentationToSurfaceWithEdges (vtkActorCollection *theListofActors)
 Change to surface with edges a list of vtkactor.
void SetTransparency (const Handle(SALOME_InteractiveObject)&theIObject, float trans)
 Change transparency.
float GetTransparency (const Handle(SALOME_InteractiveObject)&theIObject)
 Get current transparency.
void SetColor (const Handle(SALOME_InteractiveObject)&theIObject, const QColor &theColor)
 Change color.
QColor GetColor (const Handle(SALOME_InteractiveObject)&theIObject)
 Get current color.
void SetMaterial (const Handle(SALOME_InteractiveObject)&theIObject, vtkProperty *thePropF)
 Change material.
vtkProperty * GetMaterial (const Handle(SALOME_InteractiveObject)&theIObject)
 Get current material.
void EraseAll ()
 To erase all existing VTK presentations.
void DisplayAll ()
 To display all existing VTK presentations.
void RemoveAll (const bool immediatly)
 To remove from the view all existing VTK presentations.
void Erase (const Handle(SALOME_InteractiveObject)&IObject, bool immediatly=true)
 To erase VTK presentation with defined SALOME_InteractiveObject.
void Remove (const Handle(SALOME_InteractiveObject)&IObject, bool immediatly=true)
void Display (const Handle(SALOME_InteractiveObject)&IObject, bool immediatly=true)
 To display VTK presentation with defined SALOME_InteractiveObject.
void DisplayOnly (const Handle(SALOME_InteractiveObject)&IObject)
 To display VTK presentation with defined SALOME_InteractiveObject and erase all anothers.
void Display (SALOME_Actor *SActor, bool immediatly=true)
 To display the VTK presentation.
void Erase (SALOME_Actor *SActor, bool immediatly=true)
 To erase the VTK presentation.
void Remove (SALOME_Actor *SActor, bool updateViewer=true)
 To remove the VTK presentation.
void GetVisible (SALOME_ListIO &theList)
 Collect objects visible in viewer.
void SetSelectionProp (const double &theRed=1, const double &theGreen=1, const double &theBlue=0, const int &theWidth=5)
 Redirect the request to #SVTK_Renderer::SetPreselectionProp.
void SetPreselectionProp (const double &theRed=0, const double &theGreen=1, const double &theBlue=1, const int &theWidth=5)
 Redirect the request to #SVTK_Renderer::SetPreselectionProp.
void SetSelectionTolerance (const double &theTolNodes=0.025, const double &theTolCell=0.001, const double &theTolObjects=0.025)
 Redirect the request to #SVTK_Renderer::SetPreselectionProp.
 SVTK_ViewManager (SUIT_Study *study, SUIT_Desktop *)
 Construct the view manager.
virtual ~SVTK_ViewManager ()
 Destroy the view manager.
SUIT_DesktopgetDesktop ()
 SVTK_Viewer ()
virtual ~SVTK_Viewer ()
virtual SUIT_ViewWindowcreateView (SUIT_Desktop *)
 See #SUIT_ViewModel::createView.
virtual void setViewManager (SUIT_ViewManager *theViewManager)
 See #SUIT_ViewModel::createView.
virtual void contextMenuPopup (QMenu *)
 See #SUIT_ViewModel::contextMenuPopup.
virtual QString getType () const
 See #SUIT_ViewModel::getType.
QColor backgroundColor () const
 Get background color of the viewer [obsolete].
void setBackgroundColor (const QColor &)
 Set background color to the viewer [obsolete].
Qtx::BackgroundData background () const
 Get background color of the viewer.
void setBackground (const Qtx::BackgroundData &)
 Set background color to the viewer.
vtkFloatingPointType trihedronSize () const
 Get size of trihedron of the viewer (see #SVTK_Renderer::SetTrihedronSize)
bool trihedronRelative () const
 Shows if the size of trihedron relative (see #SVTK_Renderer::SetTrihedronSize)
void setTrihedronSize (const vtkFloatingPointType, const bool=true)
 Set size of trihedron of the viewer (see #SVTK_Renderer::SetTrihedronSize)
bool isStaticTrihedronVisible () const
 Get visibility status of the static trihedron.
void setStaticTrihedronVisible (const bool)
 Set visibility status of the static trihedron.
int projectionMode () const
 Gets projection mode.
void setProjectionMode (const int)
 Sets projection mode.
int interactionStyle () const
 Gets interaction style.
void setInteractionStyle (const int)
 Sets interaction style.
int zoomingStyle () const
 Gets zooming style.
void setZoomingStyle (const int)
 Sets zooming style.
bool dynamicPreSelection () const
 Gets dynamic preselection.
void setDynamicPreSelection (const bool)
 Sets dynamic preselection.
int incrementalSpeed () const
 Get incremental speed (see #SVTK_InteractorStyle::ControllerIncrement)
int incrementalSpeedMode () const
 Returns modification mode of incremental speed (see #SVTK_InteractorStyle::ControllerIncrement)
void setIncrementalSpeed (const int, const int=0)
 Set the incremental speed for view operation (see #SVTK_InteractorStyle::ControllerIncrement)
int spacemouseBtn (const int) const
 Gets spacemouse button for specified function.
void setSpacemouseButtons (const int, const int, const int)
 Sets spacemouse buttons.
void enableSelection (bool isEnabled)
bool isSelectionEnabled () const
void enableMultiselection (bool isEnable)
bool isMultiSelectionEnabled () const
int getSelectionCount () const
void Display (const SALOME_VTKPrs *)
 See #SALOME_View::Display( const SALOME_Prs* )
void Erase (const SALOME_VTKPrs *, const bool=false)
 See #SALOME_View::Erase( const SALOME_VTKPrs*, const bool = false )
void EraseAll (const bool=false)
 See #SALOME_View::EraseAll( const bool = false )
virtual void GetVisible (SALOME_ListIO &)
 See #SALOME_View::getVisible( SALOME_ListIO& )
SALOME_PrsCreatePrs (const char *entry=0)
 See #SALOME_View::CreatePrs( const char* entry = 0 )
virtual bool isVisible (const Handle(SALOME_InteractiveObject)&)
 See #SALOME_View::isVisible( const Handle(SALOME_InteractiveObject)& )
virtual void Repaint ()
 See #SALOME_View::Repaint()
 SVTK_ViewParameterDlg (QtxAction *theAction, SVTK_ViewWindow *theParent, const char *theName)
 ~SVTK_ViewParameterDlg ()
void addObserver ()
 SVTK_ViewWindow (SUIT_Desktop *theDesktop)
 To construct SVTK_ViewWindow instance.
virtual ~SVTK_ViewWindow ()
virtual QImage dumpView ()
virtual void Initialize (SVTK_ViewModelBase *theModel)
 To initialize SVTK_ViewWindow instance.
SVTK_ViewgetView ()
 Get SVTK_View.
vtkRenderWindow * getRenderWindow ()
 Get render window.
vtkRenderWindowInteractor * getInteractor () const
 Get interactor.
SVTK_RenderWindowInteractorGetInteractor () const
 Get SVTK interactor.
vtkInteractorStyle * GetInteractorStyle () const
 Get current interactor style.
void PushInteractorStyle (vtkInteractorStyle *theStyle)
 Add interactor style to the stack of styles.
void PopInteractorStyle ()
 Remove last interactor style from the stack of styles.
vtkRenderer * getRenderer () const
 Get renderer.
SVTK_RendererGetRenderer () const
 Get SVTK renderer.
SVTK_Selector * GetSelector () const
 Get selector.
Selection_Mode SelectionMode () const
 Set selection mode.
virtual void SetSelectionMode (Selection_Mode theMode)
 Change selection mode.
virtual void setBackgroundColor (const QColor &)
 Set background color [obsolete].
QColor backgroundColor () const
 Get background color [obsolete].
virtual void setBackground (const Qtx::BackgroundData &)
 Set background.
Qtx::BackgroundData background () const
 Get background.
bool isTrihedronDisplayed ()
 Return true if "display trihedron" flag is set.
bool isCubeAxesDisplayed ()
 Return true if "show graduated axes" flag is set.
virtual void highlight (const Handle(SALOME_InteractiveObject)&theIO, bool theIsHighlight=true, bool theIsUpdate=true)
 Redirect the request to #SVTK_View::highlight (to support old code)
virtual void unHighlightAll ()
 Redirect the request to #SVTK_View::unHighlightAll (to support old code)
bool isInViewer (const Handle(SALOME_InteractiveObject)&theIObject)
 Redirect the request to #SVTK_View::isInViewer (to support old code)
bool isVisible (const Handle(SALOME_InteractiveObject)&theIObject)
 Redirect the request to #SVTK_View::isVisible (to support old code)
 Handle (SALOME_InteractiveObject) FindIObject(const char *theEntry)
 Redirect the request to #SVTK_View::FindIObject (to support old code)
virtual void Display (const Handle(SALOME_InteractiveObject)&theIObject, bool theImmediatly=true)
 Redirect the request to #SVTK_View::Display (to support old code)
virtual void DisplayOnly (const Handle(SALOME_InteractiveObject)&theIObject)
 Redirect the request to #SVTK_View::DisplayOnly (to support old code)
virtual void Erase (const Handle(SALOME_InteractiveObject)&theIObject, bool theImmediatly=true)
 Redirect the request to #SVTK_View::Erase (to support old code)
virtual void DisplayAll ()
 Redirect the request to #SVTK_View::DisplayAll (to support old code)
virtual void EraseAll ()
 Redirect the request to #SVTK_View::EraseAll (to support old code)
virtual void Repaint (bool theUpdateTrihedron=true)
 To repaint the viewer.
virtual void SetScale (double theScale[3])
 Redirect the request to #SVTK_Renderer::SetScale.
virtual void GetScale (double theScale[3])
 Redirect the request to #SVTK_Renderer::GetScale.
virtual void AddActor (VTKViewer_Actor *theActor, bool theIsUpdate=false, bool theIsAdjustActors=true)
 Redirect the request to #SVTK_Renderer::AddActor.
virtual void RemoveActor (VTKViewer_Actor *theActor, bool theIsUpdate=false, bool theIsAdjustActors=true)
 Redirect the request to #SVTK_Renderer::RemoveActor.
virtual void AdjustTrihedrons (const bool theIsForced)
 Redirect the request to #SVTK_Renderer::AdjustActors.
VTKViewer_Trihedron * GetTrihedron ()
 Redirect the request to #SVTK_Renderer::GetTrihedron.
SVTK_CubeAxesActor2D * GetCubeAxes ()
 Redirect the request to #SVTK_Renderer::GetCubeAxes.
vtkFloatingPointType GetTrihedronSize () const
 Redirect the request to #SVTK_Renderer::GetTrihedronSize.
virtual void SetTrihedronSize (const vtkFloatingPointType, const bool=true)
 Redirect the request to #SVTK_Renderer::SetTrihedronSize.
virtual void SetIncrementalSpeed (const int, const int=0)
 Set incremental speed.
virtual void SetProjectionMode (const int)
 Set current projection mode.
virtual void SetInteractionStyle (const int)
 Set interactive style.
virtual void SetZoomingStyle (const int)
 Set zooming style.
virtual void SetDynamicPreSelection (bool)
 Set dynamic preselection on/off.
virtual void SetSpacemouseButtons (const int, const int, const int)
 Customize space mouse buttons.
virtual void SetSelectionProp (const double &theRed=1, const double &theGreen=1, const double &theBlue=0, const int &theWidth=5)
 Set selection properties.
virtual void SetPreselectionProp (const double &theRed=0, const double &theGreen=1, const double &theBlue=1, const int &theWidth=5)
 Redirect the request to #SVTK_Renderer::SetPreselectionProp.
virtual void SetSelectionTolerance (const double &theTolNodes=0.025, const double &theTolCell=0.001, const double &theTolObjects=0.025)
 Redirect the request to #SVTK_Renderer::SetSelectionTolerance.
bool IsStaticTrihedronVisible () const
 Get visibility status of the static trihedron.
virtual void SetStaticTrihedronVisible (const bool)
 Set visibility status of the static trihedron.
virtual QString getVisualParameters ()
 Methods to save/restore visual parameters of a view (pan, zoom, etc.)
virtual void setVisualParameters (const QString &parameters)
virtual bool eventFilter (QObject *, QEvent *)
virtual void RefreshDumpImage ()
void emitTransformed ()
void InvokeEvent (unsigned long theEvent, void *theCallData)
 To invoke a VTK event on SVTK_RenderWindowInteractor instance.
 vtkTypeRevisionMacro (vtkPVAxesActor, vtkProp3D)
void PrintSelf (ostream &os, vtkIndent indent)
virtual void GetActors (vtkPropCollection *)
virtual int RenderOpaqueGeometry (vtkViewport *viewport)
virtual int RenderTranslucentGeometry (vtkViewport *viewport)
void ShallowCopy (vtkProp *prop)
void ReleaseGraphicsResources (vtkWindow *)
void GetBounds (double bounds[6])
double * GetBounds ()
unsigned long int GetMTime ()
virtual unsigned long GetRedrawMTime ()
void SetTotalLength (float v[3])
void SetTotalLength (float x, float y, float z)
 vtkGetVectorMacro (TotalLength, float, 3)
void SetNormalizedShaftLength (float v[3])
void SetNormalizedShaftLength (float x, float y, float z)
 vtkGetVectorMacro (NormalizedShaftLength, float, 3)
void SetNormalizedTipLength (float v[3])
void SetNormalizedTipLength (float x, float y, float z)
 vtkGetVectorMacro (NormalizedTipLength, float, 3)
 vtkSetClampMacro (ConeResolution, int, 3, 128)
 vtkGetMacro (ConeResolution, int)
 vtkSetClampMacro (SphereResolution, int, 3, 128)
 vtkGetMacro (SphereResolution, int)
 vtkSetClampMacro (CylinderResolution, int, 3, 128)
 vtkGetMacro (CylinderResolution, int)
 vtkSetClampMacro (ConeRadius, float, 0, VTK_LARGE_FLOAT)
 vtkGetMacro (ConeRadius, float)
 vtkSetClampMacro (SphereRadius, float, 0, VTK_LARGE_FLOAT)
 vtkGetMacro (SphereRadius, float)
 vtkSetClampMacro (CylinderRadius, float, 0, VTK_LARGE_FLOAT)
 vtkGetMacro (CylinderRadius, float)
 vtkSetClampMacro (XAxisLabelPosition, float, 0, 1)
 vtkGetMacro (XAxisLabelPosition, float)
 vtkSetClampMacro (YAxisLabelPosition, float, 0, 1)
 vtkGetMacro (YAxisLabelPosition, float)
 vtkSetClampMacro (ZAxisLabelPosition, float, 0, 1)
 vtkGetMacro (ZAxisLabelPosition, float)
void SetShaftType (int type)
void SetShaftTypeToCylinder ()
void SetShaftTypeToLine ()
void SetShaftTypeToUserDefined ()
void SetTipType (int type)
void SetTipTypeToCone ()
void SetTipTypeToSphere ()
void SetTipTypeToUserDefined ()
void SetUserDefinedTip (vtkPolyData *)
 vtkGetObjectMacro (UserDefinedTip, vtkPolyData)
void SetUserDefinedShaft (vtkPolyData *)
 vtkGetObjectMacro (UserDefinedShaft, vtkPolyData)
vtkProperty * GetXAxisTipProperty ()
vtkProperty * GetYAxisTipProperty ()
vtkProperty * GetZAxisTipProperty ()
vtkProperty * GetXAxisShaftProperty ()
vtkProperty * GetYAxisShaftProperty ()
vtkProperty * GetZAxisShaftProperty ()
vtkProperty * GetXAxisLabelProperty ()
vtkProperty * GetYAxisLabelProperty ()
vtkProperty * GetZAxisLabelProperty ()
 vtkSetStringMacro (XAxisLabelText)
 vtkSetStringMacro (YAxisLabelText)
 vtkSetStringMacro (ZAxisLabelText)
void AddToRender (vtkRenderer *theRenderer)
 vtkTypeRevisionMacro (vtkPVAxesWidget, vtkInteractorObserver)
void PrintSelf (ostream &os, vtkIndent indent)
void SetAxesActor (vtkPVAxesActor *actor)
 vtkGetObjectMacro (AxesActor, vtkPVAxesActor)
virtual void SetEnabled (int)
void SetParentRenderer (vtkRenderer *ren)
vtkRenderer * GetParentRenderer ()
void ExecuteEvent (vtkObject *o, unsigned long event, void *calldata)
void SetInteractive (int state)
 vtkGetMacro (Interactive, int)
 vtkBooleanMacro (Interactive, int)
void SetOutlineColor (double r, double g, double b)
double * GetOutlineColor ()
void SetAxisLabelColor (double r, double g, double b)
double * GetAxisLabelColor ()
void SetViewport (double minX, double minY, double maxX, double maxY)
double * GetViewport ()
For selection mapping purpose
virtual int GetNodeObjId (int theVtkID)
virtual vtkFloatingPointTypeGetNodeCoord (int theObjID)
virtual int GetElemObjId (int theVtkID)
virtual vtkCell * GetElemCell (int theObjID)
virtual void SetStoreMapping (bool theStoreMapping)
 To provide VTK to Object and backward mapping.
For shrink mamnagement purpose
vtkFloatingPointType GetShrinkFactor ()
virtual void SetShrinkFactor (vtkFloatingPointType value)
virtual void SetShrinkable (bool theIsShrinkable)
bool IsShrunkable ()
bool IsShrunk ()
virtual void SetShrink ()
virtual void UnShrink ()
For feature edges management purpose
virtual bool IsFeatureEdgesAllowed ()
virtual void SetFeatureEdgesAllowed (bool theIsFeatureEdgesAllowed)
virtual bool IsFeatureEdgesEnabled ()
virtual void SetFeatureEdgesEnabled (bool theIsFeatureEdgesEnabled)
virtual vtkFloatingPointType GetFeatureEdgesAngle ()
virtual void SetFeatureEdgesAngle (vtkFloatingPointType theAngle)
virtual void GetFeatureEdgesFlags (bool &theIsFeatureEdges, bool &theIsBoundaryEdges, bool &theIsManifoldEdges, bool &theIsNonManifoldEdges)
virtual void SetFeatureEdgesFlags (bool theIsFeatureEdges, bool theIsBoundaryEdges, bool theIsManifoldEdges, bool theIsNonManifoldEdges)
virtual bool GetFeatureEdgesColoring ()
virtual void SetFeatureEdgesColoring (bool theIsColoring)
For representation mamnagement purpose
virtual void SetRepresentation (VTKViewer::Representation::Type theMode)
VTKViewer::Representation::Type GetRepresentation ()
virtual vtkFloatingPointType GetDefaultPointSize ()
virtual vtkFloatingPointType GetDefaultLineWidth ()
bool IsShaded ()
void SetShaded (bool theShaded)
For marker management purpose
void SetMarkerEnabled (bool)
void SetMarkerStd (VTK::MarkerType, VTK::MarkerScale)
void SetMarkerTexture (int, VTK::MarkerTexture)
VTK::MarkerType GetMarkerType ()
VTK::MarkerScale GetMarkerScale ()
int GetMarkerTexture ()

Static Public Member Functions

static SALOME_ActorNew ()
static SVTK_ActorNew ()
static SVTK_DeviceActorNew ()
static
QVTK_GenericRenderWindowInteractor
New ()
static
SVTK_GenericRenderWindowInteractor
New ()
static SVTK_ControllerIncrementNew ()
static
SVTK_GeomControllerIncrement
New ()
static SVTK_ControllerOnKeyDownNew ()
static SVTK_InteractorStyleNew ()
static
SVTK_KeyFreeInteractorStyle
New ()
static SVTK_RectPickerNew ()
static SVTK_RendererNew ()
static SVTK_Selector * New ()
static SVTK_TrihedronNew ()
static QString Type ()
 Define string representation of the viewer type.
static QString backgroundData (QStringList &, QIntList &, QIntList &)
static vtkPVAxesActorNew ()
static vtkPVAxesWidgetNew ()

Protected Types

enum  {
  DumpId, FitAllId, FitRectId, ZoomId,
  PanId, GlobalPanId, ChangeRotationPointId, RotationId,
  FrontId, BackId, TopId, BottomId,
  LeftId, RightId, ClockWiseId, AntiClockWiseId,
  ResetId, ViewTrihedronId, NonIsometric, GraduatedAxes,
  UpdateRate, ParallelModeId, ProjectionModeId, ViewParametersId,
  SynchronizeId, SwitchInteractionStyleId, SwitchZoomingStyleId, SwitchDynamicPreselectionId,
  StartRecordingId, PlayRecordingId, PauseRecordingId, StopRecordingId
}
enum  AxesWidgetState {
  Outside = 0, Inside, TopLeft, TopRight,
  BottomLeft, BottomRight
}
typedef vtkSmartPointer
< vtkInteractorStyle > 
PInteractorStyle
typedef std::stack
< PInteractorStyle
TInteractorStyles

Protected Slots

void OnTimeOut ()
 The slot connects to QTimer::timeout signal to invoke vtkCommand::TimerEvent.
void onBBCenterChecked ()
void onToOrigin ()
void onSelectPoint ()
void onCoordChanged ()
void onClickClose ()
void onMousePress (SUIT_ViewWindow *, QMouseEvent *)
void onMouseMove (SUIT_ViewWindow *, QMouseEvent *)
void onMouseRelease (SUIT_ViewWindow *, QMouseEvent *)
void onDumpView ()
void onChangeBackground ()
void onActorAdded (VTKViewer_Actor *)
void onActorRemoved (VTKViewer_Actor *)
void onProjectionModeChanged (int)
void onPositionModeChanged (int)
void onToBBCenter ()
void onToOrigin ()
void onSelectPoint ()
void onFocalCoordChanged ()
void onCameraCoordChanged ()
void onDirectionChanged ()
void onDistanceChanged ()
void onViewDirectionChanged ()
void onZoomChanged ()
void onClickClose ()
void onKeyPressed (QKeyEvent *event)
void onKeyReleased (QKeyEvent *event)
void onMousePressed (QMouseEvent *event)
void onMouseDoubleClicked (QMouseEvent *event)
void onMouseReleased (QMouseEvent *event)
void onMouseMoving (QMouseEvent *event)

Protected Member Functions

 Handle (SALOME_InteractiveObject) myIO
 SALOME_Actor ()
 ~SALOME_Actor ()
 SVTK_Actor ()
virtual ~SVTK_Actor ()
virtual QWidget * createWidget (QWidget *)
virtual void update ()
virtual void updateCombo (QComboBox *)
virtual
ViewerTools_FontWidgetBase * 
createFontWidget (QWidget *)
void InitPipeLine (vtkMapper *theMapper)
 To initialize internal pipeline.
void SetPolygonOffsetParameters (vtkFloatingPointType factor, vtkFloatingPointType units)
void GetPolygonOffsetParameters (vtkFloatingPointType &factor, vtkFloatingPointType &units)
 SVTK_DeviceActor ()
 ~SVTK_DeviceActor ()
virtual void InitializeFamilies ()
 QVTK_GenericRenderWindowInteractor ()
 Instatiate QTimer.
 ~QVTK_GenericRenderWindowInteractor ()
 Destroy the instance of QTimer.
 SVTK_GenericRenderWindowInteractor ()
 ~SVTK_GenericRenderWindowInteractor ()
 SVTK_ControllerIncrement ()
virtual ~SVTK_ControllerIncrement ()
 SVTK_GeomControllerIncrement ()
virtual ~SVTK_GeomControllerIncrement ()
 SVTK_ControllerOnKeyDown ()
virtual ~SVTK_ControllerOnKeyDown ()
 SVTK_InteractorStyle ()
 ~SVTK_InteractorStyle ()
QWidget * GetRenderWidget ()
virtual void OnMouseMove (int ctrl, int shift, int x, int y)
virtual void OnLeftButtonDown (int ctrl, int shift, int x, int y)
virtual void OnLeftButtonUp (int ctrl, int shift, int x, int y)
virtual void OnMiddleButtonDown (int ctrl, int shift, int x, int y)
virtual void OnMiddleButtonUp (int ctrl, int shift, int x, int y)
virtual void OnRightButtonDown (int ctrl, int shift, int x, int y)
virtual void OnRightButtonUp (int ctrl, int shift, int x, int y)
void RotateXY (int dx, int dy)
void PanXY (int x, int y, int oldX, int oldY)
void DollyXY (int dx, int dy)
void SpinXY (int dx, int dy, int oldX, int oldY)
void fitRect (const int left, const int top, const int right, const int bottom)
void Place (const int theX, const int theY)
void TranslateView (int toX, int toY, int fromX, int fromY)
void IncrementalPan (const int incrX, const int incrY)
void IncrementalZoom (const int incr)
void IncrementalRotate (const int incrX, const int incrY)
void startZoom ()
void startPan ()
void startGlobalPan ()
void startRotate ()
void startFitArea ()
void startSpin ()
void startPointSelection ()
void startFocalPointSelection ()
void loadCursors ()
void startOperation (int operation)
void onStartOperation ()
virtual void onFinishOperation ()
void onOperation (QPoint mousePos)
void onCursorMove (QPoint mousePos)
void setCursor (const int operation)
void onSpaceMouseMove (double *data)
virtual void onSpaceMouseButton (int button)
void DominantCombinedSwitch ()
void drawRect ()
void endDrawRect ()
 SVTK_KeyFreeInteractorStyle ()
 ~SVTK_KeyFreeInteractorStyle ()
 SVTK_KeyFreeInteractorStyle (const SVTK_KeyFreeInteractorStyle &)
void operator= (const SVTK_KeyFreeInteractorStyle &)
virtual void OnLeftButtonDown (int ctrl, int shift, int x, int y)
 Redefine SVTK_InteractorStyle::OnLeftButtonDown.
virtual void OnMiddleButtonDown (int ctrl, int shift, int x, int y)
 Redefine SVTK_InteractorStyle::OnMiddleButtonDown.
virtual void OnLeftButtonUp (int ctrl, int shift, int x, int y)
 Redefine SVTK_InteractorStyle::OnLeftButtonUp.
virtual void OnMiddleButtonUp (int ctrl, int shift, int x, int y)
 Redefine SVTK_InteractorStyle::OnMiddleButtonUp.
virtual void OnChar ()
 Redefine SVTK_InteractorStyle::OnChar.
 SVTK_RectPicker ()
 ~SVTK_RectPicker ()
 SVTK_Renderer ()
 ~SVTK_Renderer ()
virtual bool OnAdjustActors ()
virtual void paintEvent (QPaintEvent *)
virtual void resizeEvent (QResizeEvent *)
virtual void mouseMoveEvent (QMouseEvent *)
virtual void mousePressEvent (QMouseEvent *)
virtual void mouseReleaseEvent (QMouseEvent *)
virtual void mouseDoubleClickEvent (QMouseEvent *)
virtual void wheelEvent (QWheelEvent *)
virtual void keyPressEvent (QKeyEvent *)
virtual void keyReleaseEvent (QKeyEvent *)
virtual void enterEvent (QEvent *)
virtual void leaveEvent (QEvent *)
virtual void contextMenuEvent (QContextMenuEvent *e)
virtual void focusInEvent (QFocusEvent *)
virtual void focusOutEvent (QFocusEvent *)
virtual bool x11Event (XEvent *e)
 To handle native events (from such devices as SpaceMouse)
virtual void mouseMoveEvent (QMouseEvent *)
virtual void mousePressEvent (QMouseEvent *)
virtual void mouseReleaseEvent (QMouseEvent *)
virtual void mouseDoubleClickEvent (QMouseEvent *)
virtual void wheelEvent (QWheelEvent *)
virtual void keyPressEvent (QKeyEvent *)
virtual void keyReleaseEvent (QKeyEvent *)
void SetRenderer (SVTK_Renderer *theRenderer)
void SetSelector (SVTK_Selector *theSelector)
void InitInteractorStyle (vtkInteractorStyle *theStyle)
void setEnabled (QGroupBox *theGrp, const bool theState)
 SVTK_Trihedron ()
 SVTK_Trihedron (const SVTK_Trihedron &)
void operator= (const SVTK_Trihedron &)
void setEnabled (QFrame *theWidget, const bool theState)
bool computePoint (const double start[3], const double dir[3], const double dist, double result[3])
void updateProjection ()
void updateCoordinates ()
void updateData ()
virtual void Initialize (SVTK_View *theView, SVTK_ViewModelBase *theModel)
void doSetVisualParameters (const QString &, bool=false)
void SetEventDispatcher (vtkObject *theDispatcher)
QImage dumpViewContent ()
virtual QString filter () const
virtual bool dumpViewToFormat (const QImage &img, const QString &fileName, const QString &format)
virtual bool action (const int)
QtxActiongetAction (int) const
void createToolBar ()
void createActions (SUIT_ResourceMgr *theResourceMgr)
 vtkPVAxesActor ()
 ~vtkPVAxesActor ()
void UpdateProps ()
 vtkPVAxesWidget ()
 ~vtkPVAxesWidget ()
void UpdateCursorIcon ()
void SetMouseCursor (int cursorState)
void OnButtonPress ()
void OnMouseMove ()
void OnButtonRelease ()
void MoveWidget ()
void ResizeTopLeft ()
void ResizeTopRight ()
void ResizeBottomLeft ()
void ResizeBottomRight ()
void SquareRenderer ()

Static Protected Member Functions

static void ProcessEvents (vtkObject *object, unsigned long event, void *clientData, void *callData)
static void ProcessEvents (vtkObject *object, unsigned long event, void *clientdata, void *calldata)
static void ProcessEvents (vtkObject *theObject, unsigned long theEvent, void *theClientData, void *theCallData)
static void ProcessEvents (vtkObject *object, unsigned long event, void *clientdata, void *calldata)
static void ProcessEvents (vtkObject *object, unsigned long event, void *clientdata, void *calldata)
static void ProcessEvents (vtkObject *object, unsigned long event, void *clientdata, void *calldata)
static void ProcessEvents (vtkObject *object, unsigned long event, void *clientdata, void *calldata)

Protected Attributes

vtkRenderWindowInteractor * myInteractor
vtkRenderer * myRenderer
Selection_Mode mySelectionMode
vtkSmartPointer< SVTK_Selector > mySelector
vtkSmartPointer< vtkPointPicker > myPointPicker
vtkSmartPointer< vtkCellPicker > myCellPicker
vtkSmartPointer< SVTK_RectPickermyPointRectPicker
vtkSmartPointer< SVTK_RectPickermyCellRectPicker
vtkSmartPointer< SVTK_ActormyPreHighlightActor
vtkSmartPointer< SVTK_ActormyHighlightActor
vtkSmartPointer< VTKViewer_Actor > myOutlineActor
vtkSmartPointer< vtkOutlineSource > myOutline
bool myIsDisplayNameActor
vtkSmartPointer
< VTKViewer_FramedTextActor > 
myNameActor
TColStd_IndexedMapOfInteger myMapIndex
vtkSmartPointer
< vtkUnstructuredGrid > 
myUnstructuredGrid
VTKViewer::Representation::Type myRepresentation
vtkProperty * myProperty
bool myIsShaded
VTKViewer_GeometryFilter * myGeomFilter
VTKViewer_TransformFilter * myTransformFilter
std::vector
< vtkPassThroughFilter * > 
myPassFilter
vtkShrinkFilter * myShrinkFilter
vtkFeatureEdges * myFeatureEdges
VTKViewer_DataSetMapper * myMapper
bool myIsShrinkable
bool myIsShrunk
bool myIsFeatureEdgesAllowed
bool myIsFeatureEdgesEnabled
bool myIsResolveCoincidentTopology
vtkFloatingPointType myPolygonOffsetFactor
vtkFloatingPointType myPolygonOffsetUnits
QTimer * myTimer
 Qt timer device.
SVTK_Selector * mySelector
 Keeps a pointer to SVTK_Selector.
QWidget * myRenderWidget
 Keeps a pointer to QWidget, where vtkRenderWindow maps to.
int myIncrement
float MotionFactor
float RadianToDegree
double myScale
QCursor myDefCursor
QCursor myPanCursor
QCursor myZoomCursor
QCursor myRotateCursor
QCursor mySpinCursor
QCursor myHandCursor
QCursor myGlobalPanCursor
QPoint myPoint
QPoint myOtherPoint
bool myCursorState
bool myShiftState
int ForcedState
vtkSmartPointer< SALOME_ActormyLastHighlitedActor
vtkSmartPointer< SALOME_ActormyLastPreHighlitedActor
vtkSmartPointer
< SVTK_ControllerIncrement
myControllerIncrement
 "Increment" controller for pan/rotate/zoom operations
vtkSmartPointer
< SVTK_ControllerOnKeyDown
myControllerOnKeyDown
 controls the behaviour of KeyDown event in SALOME way
int mySMDecreaseSpeedBtn
int mySMIncreaseSpeedBtn
int mySMDominantCombinedSwitchBtn
vtkSmartPointer
< SVTK_GenericRenderWindowInteractor
myInteractor
PSelectionEvent mySelectionEvent
unsigned long myCurrRotationPointType
unsigned long myPrevRotationPointType
unsigned long myCurrFocalPointType
unsigned long myPrevFocalPointType
double myRotationPointX
double myRotationPointY
double myRotationPointZ
vtkSmartPointer< SVTK_ActormyHighlightSelectionPointActor
vtkFloatingPointType myBBCenter [3]
bool myBBFirstCheck
QRubberBand * myRectBand
 selection rectangle rubber band
bool myIsAdvancedZoomingEnabled
bool myIsMidButtonDown
bool myIsLeftButtonDown
vtkFloatingPointType Tolerance
 tolerance for computation (% of window)
int PickPoints
 use the following to control picking mode
vtkFloatingPointType SelectionPoint2 [3]
 second rectangle selection point in window (pixel) coordinates
vtkFloatingPointType PickPosition2 [3]
 second rectangle selection point in world coordinates
TVectorIdsMap myPointIdsMap
TVectorIdsMap myCellIdsMap
vtkFloatingPointType myPriority
vtkSmartPointer
< vtkCallbackCommand > 
myEventCallbackCommand
vtkSmartPointer< vtkRenderer > myDevice
vtkSmartPointer
< VTKViewer_Transform > 
myTransform
vtkSmartPointer< vtkProperty > myPreHighlightProperty
vtkSmartPointer< vtkProperty > myHighlightProperty
vtkSmartPointer
< SVTK_CubeAxesActor2D > 
myCubeAxes
vtkSmartPointer
< VTKViewer_Trihedron > 
myTrihedron
vtkFloatingPointType myTrihedronSize
bool myIsTrihedronRelative
vtkFloatingPointType myBndBox [6]
vtkSmartPointer< vtkRenderWindow > myRenderWindow
vtkSmartPointer
< vtkGenericRenderWindowInteractor > 
myDevice
float myPriority
vtkSmartPointer< SVTK_RenderermyRenderer
TInteractorStyles myInteractorStyles
SVTK_RenderWindowInteractormyRWInteractor
bool myIsObserverAdded
QCheckBox * myIsBBCenter
QGroupBox * myGroupBoxSel
QPushButton * myToOrigin
QPushButton * mySelectPoint
QGroupBox * myGroupBoxCoord
QLineEdit * myX
QLineEdit * myY
QLineEdit * myZ
int myDisplayMode
bool myBusy
QButtonGroup * myProjectionMode
QPushButton * myToBBCenter
QFrame * myFocalCoords
QLineEdit * myFocalX
QLineEdit * myFocalY
QLineEdit * myFocalZ
QButtonGroup * myCameraPositionMode
QFrame * myCameraCoords
QLineEdit * myCameraX
QLineEdit * myCameraY
QLineEdit * myCameraZ
QFrame * myProjDirection
QLineEdit * myProjDirX
QLineEdit * myProjDirY
QLineEdit * myProjDirZ
QLineEdit * myDistance
QFrame * myViewDirection
QLineEdit * myViewDirX
QLineEdit * myViewDirY
QLineEdit * myViewDirZ
QFrame * myScaleBox
QLineEdit * myScale
QFrame * myViewAngleBox
QLineEdit * myViewAngle
vtkTimeStamp myCameraMTime
SVTK_ViewmyView
SVTK_ViewModelBase * myModel
SVTK_RenderWindowInteractormyInteractor
vtkSmartPointer
< SVTK_InteractorStyle
myDefaultInteractorStyle
vtkSmartPointer
< SVTK_KeyFreeInteractorStyle
myKeyFreeInteractorStyle
QString myVisualParams
vtkSmartPointer< vtkObject > myEventDispatcher
SVTK_NonIsometricDlgmyNonIsometricDlg
SVTK_UpdateRateDlgmyUpdateRateDlg
SVTK_CubeAxesDlgmyCubeAxesDlg
SVTK_SetRotationPointDlgmySetRotationPointDlg
SVTK_ViewParameterDlgmyViewParameterDlg
QSize myPreRecordingMinSize
QSize myPreRecordingMaxSize
SVTK_RecordermyRecorder
QtxActionmyStartAction
QtxActionmyPlayAction
QtxActionmyPauseAction
QtxActionmyStopAction
int myToolBar
int myRecordingToolBar
vtkPVAxesWidgetmyAxesWidget
Qtx::BackgroundData myBackground
vtkCylinderSource * CylinderSource
vtkLineSource * LineSource
vtkConeSource * ConeSource
vtkSphereSource * SphereSource
vtkActor * XAxisShaft
vtkActor * YAxisShaft
vtkActor * ZAxisShaft
vtkActor * XAxisTip
vtkActor * YAxisTip
vtkActor * ZAxisTip
float TotalLength [3]
float NormalizedShaftLength [3]
float NormalizedTipLength [3]
int ShaftType
int TipType
vtkPolyData * UserDefinedTip
vtkPolyData * UserDefinedShaft
char * XAxisLabelText
char * YAxisLabelText
char * ZAxisLabelText
vtkVectorText * XAxisVectorText
vtkVectorText * YAxisVectorText
vtkVectorText * ZAxisVectorText
vtkFollowerXAxisLabel
vtkFollowerYAxisLabel
vtkFollowerZAxisLabel
int ConeResolution
int SphereResolution
int CylinderResolution
float ConeRadius
float SphereRadius
float CylinderRadius
float XAxisLabelPosition
float YAxisLabelPosition
float ZAxisLabelPosition
vtkRenderer * Renderer
vtkRenderer * ParentRenderer
vtkPVAxesActorAxesActor
vtkPolyData * Outline
vtkActor2D * OutlineActor
vtkPVAxesWidgetObserverObserver
int StartTag
int MouseCursorState
int Moving
int StartPosition [2]
int Interactive
int State
unsigned long StartEventObserverId

Private Slots

virtual bool onApply ()
void onSynchronizeView (bool)
void updateSyncViews ()

Private Member Functions

virtual
ViewerTools_AxisWidgetBase * 
createAxisWidget (QWidget *)
 SVTK_DeviceActor (const SVTK_DeviceActor &)
void operator= (const SVTK_DeviceActor &)
 SVTK_ControllerIncrement (const SVTK_ControllerIncrement &)
void operator= (const SVTK_ControllerIncrement &)
 SVTK_GeomControllerIncrement (const SVTK_GeomControllerIncrement &)
void operator= (const SVTK_GeomControllerIncrement &)
 SVTK_ControllerOnKeyDown (const SVTK_ControllerOnKeyDown &)
void operator= (const SVTK_ControllerOnKeyDown &)
virtual int Pick (vtkFloatingPointType, vtkFloatingPointType, vtkFloatingPointType, vtkRenderer *)
void updateToolBars ()
 vtkPVAxesActor (const vtkPVAxesActor &)
void operator= (const vtkPVAxesActor &)
 vtkPVAxesWidget (const vtkPVAxesWidget &)
void operator= (const vtkPVAxesWidget &)

Static Private Member Functions

static void synchronizeView (SVTK_ViewWindow *, int)

Private Attributes

QList< QIcon > myIcons
int myCurId
SVTK_ViewWindowmyMainWindow
SVTK_CubeAxesActor2D * myActor
vtkActorCollection * myObjects
Qtx::BackgroundData myDefaultBackground
bool myTrihedronRelative
bool myIsStaticTrihedronVisible
bool mySelectionEnabled
bool myMultiSelectionEnabled
int myIncrementSpeed
int myIncrementMode
int myProjMode
int myStyle
int myZoomingStyle
bool myDynamicPreSelection
int mySpaceBtn [3]
QImage myDumpImage

Detailed Description

The class is a basic one for all SALOME VTK presentation.

Define a container for SALOME VTK view window.

To define minimal interface for SVTK_ViewWindow initialization.

Extends two interfaces #SVTK_ViewModelBase and SALOME_View.

Extend SUIT_ViewManager to deal with SVTK_Viewer.

This class is introduced just for compatibility with old code.

Main purpose of the class is to provide a way to customize SVTK_ViewWindow.

Define an abstract interface for selection in SVTK package.

Introduce new style of interaction (keyboard free)

Introduce SALOME way of user interaction.

Control the behaviour of KeyDown event in SALOME way.

Control the value of increment in geometric progression mode.

Control the value of increment in arithmetic progression mode.

Class : SVTK_FontWidget Description : Dialog for specifynig font.

Class : SVTK_CubeAxesDlg Description : Dialog for specifynig cube axes properties.

Class : SVTK_AxisWidget Description : Axis tab widget of the "Graduated axis" dialog box.

This class used for internal SVTK package purpose (highlight and prehighlight)

It provide highlight and prehighlight capabilites, common way to publish and remove VTK presentation, mapping of VTK and object IDs and so on.

This class controls of value of increment, for pan/rotate/zoom operations in arithmetic progression mode

This class controls of value of increment, for pan/rotate/zoom operations in geometric progression mode.

This class controls the behaviour of KeyDown event in SALOME way

This class defines SALOME way of user interaction for VTK viewer, as well, as introduce a new selection mechanism

The class implements selection functionality through storing corresponding references to SALOME_InteractiveObject. For implementation of subselection modes it keeps a corresponding map of sub indexes.

Note:
Also, for each SALOME_InteractiveObject it tries to keep corresponding refenrence to SALOME_Actor

This class is initialized by SVTK_ViewWindow and just pass Qt signals from corresponding SVTK_RenderWindowInteractor of the SVTK_ViewWindow. Its main purpose is to provide a simple and flexible way to customize the SVTK_ViewWindow. So, in your own viewer it is possible to derive new SVTK_ViewWindow and use existing functionality without any modifications.

This class contains frequantly used functionality in old code. Now, you are supposed to extend existing functionality through writing corresponding functors (see SVTK_Functor.h for example).

Definition at line 72 of file SALOME_Actor.h.


Member Typedef Documentation

typedef vtkSmartPointer<vtkInteractorStyle> SVTK_EXPORT::PInteractorStyle [protected]

Definition at line 255 of file SVTK_RenderWindowInteractor.h.

Definition at line 159 of file SVTK_InteractorStyle.h.

Definition at line 172 of file SVTK_Selector.h.

typedef std::stack<PInteractorStyle> SVTK_EXPORT::TInteractorStyles [protected]

Definition at line 256 of file SVTK_RenderWindowInteractor.h.

typedef std::vector<vtkIdType> SVTK_EXPORT::TVectorIds

Definition at line 87 of file SVTK_RectPicker.h.

typedef std::map<vtkActor*,TVectorIds> SVTK_EXPORT::TVectorIdsMap

Definition at line 88 of file SVTK_RectPicker.h.

Definition at line 62 of file SVTK_ViewModel.h.


Member Enumeration Documentation

anonymous enum

supported gradient types

Enumerator:
HorizontalGradient 
VerticalGradient 
FirstDiagonalGradient 
SecondDiagonalGradient 
FirstCornerGradient 
SecondCornerGradient 
ThirdCornerGradient 
FourthCornerGradient 
LastGradient 

Definition at line 50 of file SVTK_ViewModel.h.

anonymous enum [protected]
Enumerator:
DumpId 
FitAllId 
FitRectId 
ZoomId 
PanId 
GlobalPanId 
ChangeRotationPointId 
RotationId 
FrontId 
BackId 
TopId 
BottomId 
LeftId 
RightId 
ClockWiseId 
AntiClockWiseId 
ResetId 
ViewTrihedronId 
NonIsometric 
GraduatedAxes 
UpdateRate 
ParallelModeId 
ProjectionModeId 
ViewParametersId 
SynchronizeId 
SwitchInteractionStyleId 
SwitchZoomingStyleId 
SwitchDynamicPreselectionId 
StartRecordingId 
PlayRecordingId 
PauseRecordingId 
StopRecordingId 

Definition at line 406 of file SVTK_ViewWindow.h.

anonymous enum
Enumerator:
CYLINDER_SHAFT 
LINE_SHAFT 
USER_DEFINED_SHAFT 

Definition at line 215 of file vtkPVAxesActor.h.

anonymous enum
Enumerator:
CONE_TIP 
SPHERE_TIP 
USER_DEFINED_TIP 

Definition at line 223 of file vtkPVAxesActor.h.

enum SVTK_EXPORT::AxesWidgetState [protected]
Enumerator:
Outside 
Inside 
TopLeft 
TopRight 
BottomLeft 
BottomRight 

Definition at line 130 of file vtkPVAxesWidget.h.


Constructor & Destructor Documentation

SVTK_EXPORT::~SALOME_Actor ( ) [protected]
virtual SVTK_EXPORT::~SVTK_Actor ( ) [protected, virtual]
virtual SVTK_EXPORT::~SVTK_ComboAction ( ) [virtual]
virtual SVTK_EXPORT::~SVTK_CubeAxesDlg ( ) [virtual]
virtual SVTK_EXPORT::~SVTK_FontWidget ( ) [virtual]

Destroy the instance of QTimer.

virtual SVTK_EXPORT::~SVTK_ControllerIncrement ( ) [protected, virtual]
virtual SVTK_EXPORT::~SVTK_GeomControllerIncrement ( ) [protected, virtual]
virtual SVTK_EXPORT::~SVTK_ControllerOnKeyDown ( ) [protected, virtual]
SVTK_EXPORT::~SVTK_Renderer ( ) [protected]
virtual SVTK_EXPORT::~SVTK_SignalHandler ( ) [virtual]
virtual SVTK_EXPORT::~SVTK_View ( ) [virtual]
virtual SVTK_EXPORT::~SVTK_ViewManager ( ) [virtual]

Destroy the view manager.

virtual SVTK_EXPORT::~SVTK_Viewer ( ) [virtual]
virtual SVTK_EXPORT::~SVTK_ViewWindow ( ) [virtual]

Member Function Documentation

virtual bool SVTK_EXPORT::action ( const int  ) [protected, virtual]

Provide instructions for Picking.

void SVTK_EXPORT::actorAdded ( SVTK_ViewWindow ,
VTKViewer_Actor *   
) [signal]
void SVTK_EXPORT::actorAdded ( VTKViewer_Actor *  ) [signal]
void SVTK_EXPORT::actorRemoved ( SVTK_ViewWindow ,
VTKViewer_Actor *   
) [signal]
void SVTK_EXPORT::actorRemoved ( VTKViewer_Actor *  ) [signal]
virtual void SVTK_EXPORT::AddActor ( VTKViewer_Actor *  theActor,
bool  theIsAdjustActors = true 
) [virtual]

Publishes pointed actor into the renderer.

virtual void SVTK_EXPORT::AddActor ( VTKViewer_Actor *  theActor,
bool  theIsUpdate = false,
bool  theIsAdjustActors = true 
) [virtual]

Redirect the request to #SVTK_Renderer::AddActor.

virtual bool SVTK_EXPORT::AddIObject ( const Handle(SALOME_InteractiveObject)&  theIO) [pure virtual]

Modify the selection by adding new reference on SALOME_InteractiveObject.

virtual bool SVTK_EXPORT::AddIObject ( SALOME_Actor theActor) [pure virtual]

Modify the selection by adding new reference on SALOME_Actor.

void SVTK_EXPORT::AddObject ( const vtkActor *  obj)
virtual bool SVTK_EXPORT::AddOrRemoveIndex ( const Handle(SALOME_InteractiveObject)&  theIO,
const TColStd_IndexedMapOfInteger &  theIndices,
bool  theIsModeShift 
) [pure virtual]

Change indices of subselection for given SALOME_InteractiveObject.

virtual bool SVTK_EXPORT::AddOrRemoveIndex ( const Handle(SALOME_InteractiveObject)&  theIO,
const TColStd_MapOfInteger &  theIndices,
bool  theIsModeShift 
) [pure virtual]

Change indexes of subslection for given SALOME_InteractiveObject.

virtual bool SVTK_EXPORT::AddOrRemoveIndex ( const Handle(SALOME_InteractiveObject)&  theIO,
int  theIndex,
bool  theIsModeShift 
) [pure virtual]

Change index of subslection for given SALOME_InteractiveObject.

virtual void SVTK_EXPORT::AddToRender ( vtkRenderer *  theRendere) [virtual]

To publish the actor an all its internal devices.

void SVTK_EXPORT::AddToRender ( vtkRenderer *  theRenderer)

Adjust all intenal actors (trihedron and graduated rules) to the scene.

virtual void SVTK_EXPORT::AdjustTrihedrons ( const bool  theIsForced) [virtual]

Redirect the request to #SVTK_Renderer::AdjustActors.

bool SVTK_EXPORT::Apply ( vtkAxisActor2D *  )

Get background color of the viewer.

Get background.

QColor SVTK_EXPORT::backgroundColor ( ) const

Get background color of the viewer [obsolete].

QColor SVTK_EXPORT::backgroundColor ( ) const

Get background color [obsolete].

static QString SVTK_EXPORT::backgroundData ( QStringList &  ,
QIntList ,
QIntList  
) [static]
void SVTK_EXPORT::ButtonPressed ( const QMouseEvent *  event) [signal]
void SVTK_EXPORT::ButtonPressed ( const QMouseEvent *  event) [signal]
void SVTK_EXPORT::ButtonReleased ( const QMouseEvent *  event) [signal]
void SVTK_EXPORT::ButtonReleased ( const QMouseEvent *  event) [signal]

Change all actors to surface.

void SVTK_EXPORT::ChangeRepresentationToSurface ( vtkActorCollection *  theListofActors)

Change to surface a list of vtkactor.

Change all actors to surface with edges.

void SVTK_EXPORT::ChangeRepresentationToSurfaceWithEdges ( vtkActorCollection *  theListofActors)

Change to surface with edges a list of vtkactor.

Change all actors to wireframe.

void SVTK_EXPORT::ChangeRepresentationToWireframe ( vtkActorCollection *  theListofActors)

Change to wireframe a list of vtkactor.

virtual void SVTK_EXPORT::ClearIndex ( ) [pure virtual]

Clear subselection.

virtual void SVTK_EXPORT::ClearIObjects ( ) [pure virtual]

Clear selection.

bool SVTK_EXPORT::computePoint ( const double  start[3],
const double  dir[3],
const double  dist,
double  result[3] 
) [protected]
virtual void SVTK_EXPORT::contextMenuEvent ( QContextMenuEvent *  e) [protected, virtual]
virtual void SVTK_EXPORT::contextMenuPopup ( QMenu *  ) [virtual]

See #SUIT_ViewModel::contextMenuPopup.

void SVTK_EXPORT::contextMenuRequested ( QContextMenuEvent *  e) [signal]
void SVTK_EXPORT::contextMenuRequested ( QContextMenuEvent *  e) [signal]

To get current increment controller.

To get current OnKeyDown controller.

void SVTK_EXPORT::createActions ( SUIT_ResourceMgr *  theResourceMgr) [protected]
virtual ViewerTools_AxisWidgetBase* SVTK_EXPORT::createAxisWidget ( QWidget *  ) [private, virtual]
virtual ViewerTools_FontWidgetBase* SVTK_EXPORT::createFontWidget ( QWidget *  ) [protected, virtual]
SALOME_Prs* SVTK_EXPORT::CreatePrs ( const char *  entry = 0)

See #SALOME_View::CreatePrs( const char* entry = 0 )

virtual int SVTK_EXPORT::CreateTimer ( int  ) [virtual]

Starts the QTimer instance on defined microseconds.

See #SUIT_ViewModel::createView.

virtual QWidget* SVTK_EXPORT::createWidget ( QWidget *  ) [protected, virtual]
int SVTK_EXPORT::Current ( ) const

Get current value of increment.

int SVTK_EXPORT::CurrentState ( ) const [inline]

Definition at line 234 of file SVTK_InteractorStyle.h.

{ return State; }
virtual int SVTK_EXPORT::Decrease ( ) [virtual]

Decreace the increment value by subtract 1.

virtual int SVTK_EXPORT::Decrease ( ) [virtual]

Decreace the increment value by subtract 1.

virtual int SVTK_EXPORT::DestroyTimer ( ) [virtual]

Stops the QTimer instance.

See #SALOME_View::Display( const SALOME_Prs* )

virtual void SVTK_EXPORT::Display ( const Handle(SALOME_InteractiveObject)&  theIObject,
bool  theImmediatly = true 
) [virtual]

Redirect the request to #SVTK_View::Display (to support old code)

void SVTK_EXPORT::Display ( const Handle(SALOME_InteractiveObject)&  IObject,
bool  immediatly = true 
)

To display VTK presentation with defined SALOME_InteractiveObject.

void SVTK_EXPORT::Display ( SALOME_Actor SActor,
bool  immediatly = true 
)

To display the VTK presentation.

virtual void SVTK_EXPORT::DisplayAll ( ) [virtual]

Redirect the request to #SVTK_View::DisplayAll (to support old code)

To display all existing VTK presentations.

virtual void SVTK_EXPORT::DisplayOnly ( const Handle(SALOME_InteractiveObject)&  theIObject) [virtual]

Redirect the request to #SVTK_View::DisplayOnly (to support old code)

To display VTK presentation with defined SALOME_InteractiveObject and erase all anothers.

void SVTK_EXPORT::DollyXY ( int  dx,
int  dy 
) [protected]
void SVTK_EXPORT::doSetVisualParameters ( const QString &  ,
bool  = false 
) [protected]
void SVTK_EXPORT::drawRect ( ) [protected]
virtual QImage SVTK_EXPORT::dumpView ( ) [virtual]
QImage SVTK_EXPORT::dumpViewContent ( ) [protected]
virtual bool SVTK_EXPORT::dumpViewToFormat ( const QImage &  img,
const QString &  fileName,
const QString &  format 
) [protected, virtual]

Gets dynamic preselection.

void SVTK_EXPORT::enableSelection ( bool  isEnabled)
void SVTK_EXPORT::endDrawRect ( ) [protected]
virtual void SVTK_EXPORT::EndPickCallback ( ) [pure virtual]

To invoke selectionChanged signals.

virtual void SVTK_EXPORT::enterEvent ( QEvent *  ) [protected, virtual]
void SVTK_EXPORT::Erase ( const SALOME_VTKPrs ,
const bool  = false 
)

See #SALOME_View::Erase( const SALOME_VTKPrs*, const bool = false )

virtual void SVTK_EXPORT::Erase ( const Handle(SALOME_InteractiveObject)&  theIObject,
bool  theImmediatly = true 
) [virtual]

Redirect the request to #SVTK_View::Erase (to support old code)

void SVTK_EXPORT::Erase ( const Handle(SALOME_InteractiveObject)&  IObject,
bool  immediatly = true 
)

To erase VTK presentation with defined SALOME_InteractiveObject.

void SVTK_EXPORT::Erase ( SALOME_Actor SActor,
bool  immediatly = true 
)

To erase the VTK presentation.

void SVTK_EXPORT::EraseAll ( const bool  = false)

See #SALOME_View::EraseAll( const bool = false )

virtual void SVTK_EXPORT::EraseAll ( ) [virtual]

Redirect the request to #SVTK_View::EraseAll (to support old code)

To erase all existing VTK presentations.

virtual bool SVTK_EXPORT::eventFilter ( QObject ,
QEvent *   
) [virtual]
void SVTK_EXPORT::ExecuteEvent ( vtkObject *  o,
unsigned long  event,
void calldata 
)
virtual QString SVTK_EXPORT::filter ( ) const [protected, virtual]
void SVTK_EXPORT::fitRect ( const int  left,
const int  top,
const int  right,
const int  bottom 
) [protected]
virtual void SVTK_EXPORT::focusInEvent ( QFocusEvent *  ) [protected, virtual]
virtual void SVTK_EXPORT::focusOutEvent ( QFocusEvent *  ) [protected, virtual]
QtxAction* SVTK_EXPORT::getAction ( int  ) const [protected]
virtual SALOME_Actor* SVTK_EXPORT::GetActor ( const Handle(SALOME_InteractiveObject)&  theIO) const [pure virtual]

Try to find corresponding SALOME_Actor for given reference on SALOME_InteractiveObject.

virtual void SVTK_EXPORT::GetActors ( vtkPropCollection *  ) [virtual]
void SVTK_EXPORT::GetBounds ( double  bounds[6])
QColor SVTK_EXPORT::GetColor ( const Handle(SALOME_InteractiveObject)&  theIObject)

Get current color.

SVTK_CubeAxesActor2D* SVTK_EXPORT::GetCubeAxes ( )

Get graduated rules control.

SVTK_CubeAxesActor2D* SVTK_EXPORT::GetCubeAxes ( )

Redirect the request to #SVTK_Renderer::GetCubeAxes.

virtual void SVTK_EXPORT::GetData ( QColor &  ,
int &  ,
bool &  ,
bool &  ,
bool &   
) const [virtual]
VTKViewer_DataSetMapper* SVTK_EXPORT::GetDataSetMapper ( )
vtkRenderer* SVTK_EXPORT::GetDevice ( )

Get its device.

vtkGenericRenderWindowInteractor* SVTK_EXPORT::GetDevice ( )

Get current display mode (obsolete)

virtual bool SVTK_EXPORT::GetDynamicPreSelection ( ) const [pure virtual]
virtual vtkCell* SVTK_EXPORT::GetElemCell ( int  theObjID) [virtual]
virtual int SVTK_EXPORT::GetElemObjId ( int  theVtkID) [virtual]
virtual bool SVTK_EXPORT::GetFeatureEdgesColoring ( ) [virtual]
virtual void SVTK_EXPORT::GetFeatureEdgesFlags ( bool &  theIsFeatureEdges,
bool &  theIsBoundaryEdges,
bool &  theIsManifoldEdges,
bool &  theIsNonManifoldEdges 
) [virtual]
virtual void SVTK_EXPORT::GetIndex ( const Handle(SALOME_InteractiveObject)&  theIO,
TColStd_IndexedMapOfInteger &  theIndex 
) [pure virtual]

Get indexes of subslection for given SALOME_InteractiveObject.

virtual vtkDataSet* SVTK_EXPORT::GetInput ( ) [virtual]

Allows to get initial #vtkDataSet.

vtkRenderWindowInteractor* SVTK_EXPORT::getInteractor ( ) const

Get interactor.

Get SVTK interactor.

vtkInteractorStyle* SVTK_EXPORT::GetInteractorStyle ( ) const

Get current interactor style.

vtkInteractorStyle* SVTK_EXPORT::GetInteractorStyle ( )

To get current interactor style.

Get reference to its SVTK_ViewWindow.

const TColStd_IndexedMapOfInteger& SVTK_EXPORT::GetMapIndex ( ) const

Get scale of the point marker.

virtual int SVTK_EXPORT::GetMarkerTexture ( ) [virtual]

Get texture identifier of the point marker.

Get type of the point marker.

vtkProperty* SVTK_EXPORT::GetMaterial ( const Handle(SALOME_InteractiveObject)&  theIObject)

Get current material.

unsigned long int SVTK_EXPORT::GetMTime ( )
virtual unsigned long int SVTK_EXPORT::GetMTime ( ) [virtual]
virtual void SVTK_EXPORT::GetNameActorSize ( vtkRenderer *  theRenderer,
int  theSize[2] 
) const [virtual]

To get size of name actor.

virtual vtkFloatingPointType* SVTK_EXPORT::GetNodeCoord ( int  theObjID) [virtual]
virtual int SVTK_EXPORT::GetNodeObjId ( int  theVtkID) [virtual]
vtkActorCollection* SVTK_EXPORT::GetObjects ( ) const
virtual bool SVTK_EXPORT::GetQuadraticArcMode ( ) [virtual]
virtual unsigned long SVTK_EXPORT::GetRedrawMTime ( ) [virtual]

Redirect the request to #SVTK_ViewWindow::GetRenderer (just for flexibility)

vtkRenderer* SVTK_EXPORT::getRenderer ( )

Redirect the request to #SVTK_ViewWindow::getRenderer (just for flexibility)

vtkRenderer* SVTK_EXPORT::getRenderer ( ) const

Get renderer.

Get SVTK renderer.

vtkRenderer* SVTK_EXPORT::GetRenderer ( )

Get reference on renderer where it is published.

To get corresponding SVTK_Renderer instance.

vtkRenderer* SVTK_EXPORT::getRenderer ( )

To get corresponding SVTK_Renderer device (just to simplify collobaration with SVTK_Renderer)

To get access to QWidget, where vtkRenderWindow maps to.

QWidget* SVTK_EXPORT::GetRenderWidget ( ) [protected]
vtkRenderWindow* SVTK_EXPORT::getRenderWindow ( )
vtkRenderWindow* SVTK_EXPORT::getRenderWindow ( )

Get render window.

void SVTK_EXPORT::GetScale ( double  theScale[3])

Allows to get a scale that is applied on the whole scene.

virtual void SVTK_EXPORT::GetScale ( double  theScale[3]) [virtual]

Redirect the request to #SVTK_Renderer::GetScale.

Generate special SVTK_SelectionEvent.

Generate special SVTK_SelectionEvent with flipped Y coordinate.

SVTK_Selector* SVTK_EXPORT::GetSelector ( )

To get access to SVTK_Selector.

SVTK_Selector* SVTK_EXPORT::GetSelector ( ) const

Get selector.

SVTK_Selector* SVTK_EXPORT::GetSelector ( )

To get corresponding SVTK_Selector.

SVTK_Selector* SVTK_EXPORT::GetSelector ( )
vtkUnstructuredGrid* SVTK_EXPORT::GetSource ( )

Get its internal data set.

VTKViewer_Transform* SVTK_EXPORT::GetTransform ( )

Get special container that keeps scaling of the scene.

Get current transparency.

VTKViewer_Trihedron* SVTK_EXPORT::GetTrihedron ( )

Get trihedron control.

VTKViewer_Trihedron* SVTK_EXPORT::GetTrihedron ( )

Redirect the request to #SVTK_Renderer::GetTrihedron.

Get size of the trihedron in percents from bounding box of the scene.

Redirect the request to #SVTK_Renderer::GetTrihedronSize.

virtual QString SVTK_EXPORT::getType ( ) const [inline, virtual]

See #SUIT_ViewModel::getType.

Definition at line 81 of file SVTK_ViewModel.h.

{ return Type(); }

Here is the call graph for this function:

Get SVTK_View.

virtual void SVTK_EXPORT::GetVisible ( SALOME_ListIO ) [virtual]

See #SALOME_View::getVisible( SALOME_ListIO& )

Collect objects visible in viewer.

virtual int SVTK_EXPORT::GetVisibleActorCount ( vtkRenderer *  theRenderer) [virtual]
virtual QString SVTK_EXPORT::getVisualParameters ( ) [virtual]

Methods to save/restore visual parameters of a view (pan, zoom, etc.)

virtual const SVTK_EXPORT::Handle ( SALOME_InteractiveObject  ) [virtual]

Get correspoinding reference to SALOME_InteractiveObject.

Try to find a SALOME_InteractiveObject in the view that corresponds to the entry.

Redirect the request to #SVTK_View::FindIObject (to support old code)

virtual SVTK_EXPORT::Handle ( VTKViewer_Filter  ) const [pure virtual]

To get a section filter by its number.

virtual bool SVTK_EXPORT::HasIndex ( const Handle(SALOME_InteractiveObject)&  theIO) const [pure virtual]

Check, if the SALOME_InteractiveObject has a subselection.

virtual Standard_Boolean SVTK_EXPORT::hasIO ( ) [virtual]

To check, if the SALOME_Actor has a reference to SALOME_InteractiveObject.

void SVTK_EXPORT::Hide ( QHideEvent *  ) [signal]
virtual void SVTK_EXPORT::hideEvent ( QHideEvent *  ) [virtual, slot]
void SVTK_EXPORT::highlight ( const Handle(SALOME_InteractiveObject)&  IObject,
bool  highlight,
bool  immediatly = true 
)

To highlight a VTK presentation with the same SALOME_InteractiveObject.

virtual void SVTK_EXPORT::highlight ( const Handle(SALOME_InteractiveObject)&  theIO,
bool  theIsHighlight = true,
bool  theIsUpdate = true 
) [virtual]

Redirect the request to #SVTK_View::highlight (to support old code)

virtual void SVTK_EXPORT::highlight ( bool  theHighlight) [virtual]

Just to update visibility of the highlight devices.

virtual void SVTK_EXPORT::Highlight ( bool  theHighlight) [virtual]

To map current selection to VTK representation.

virtual bool SVTK_EXPORT::Highlight ( vtkInteractorStyle *  theInteractorStyle,
SVTK_SelectionEvent theSelectionEvent,
bool  theIsHighlight 
) [virtual]

To process highlight (called from SVTK_InteractorStyle)

virtual int SVTK_EXPORT::Increase ( ) [virtual]

Increace the increment value by add 1.

virtual int SVTK_EXPORT::Increase ( ) [virtual]

Increace the increment value by add 1.

void SVTK_EXPORT::IncrementalPan ( const int  incrX,
const int  incrY 
) [protected]
void SVTK_EXPORT::IncrementalRotate ( const int  incrX,
const int  incrY 
) [protected]

Get incremental speed (see #SVTK_InteractorStyle::ControllerIncrement)

Returns modification mode of incremental speed (see #SVTK_InteractorStyle::ControllerIncrement)

void SVTK_EXPORT::IncrementalZoom ( const int  incr) [protected]

Initialiaze the instance completely.

virtual void SVTK_EXPORT::Initialize ( vtkGenericRenderWindowInteractor *  theDevice) [virtual]

To initialize by #vtkGenericRenderWindowInteractor instance.

virtual void SVTK_EXPORT::Initialize ( vtkRenderWindowInteractor *  theInteractor,
SVTK_Selector *  theSelector 
) [virtual]

Initialize the class.

virtual void SVTK_EXPORT::Initialize ( SVTK_ViewModelBase *  theModel) [virtual]

To initialize SVTK_ViewWindow instance.

virtual void SVTK_EXPORT::Initialize ( vtkGenericRenderWindowInteractor *  theDevice,
SVTK_Renderer theRenderer,
SVTK_Selector *  theSelector 
) [virtual]

To initialize properly the class.

virtual void SVTK_EXPORT::Initialize ( SVTK_View theView,
SVTK_ViewModelBase *  theModel 
) [protected, virtual]
virtual void SVTK_EXPORT::InitializeFamilies ( ) [protected, virtual]
void SVTK_EXPORT::InitInteractorStyle ( vtkInteractorStyle *  theStyle) [protected]
void SVTK_EXPORT::InitPipeLine ( vtkMapper *  theMapper) [protected]

To initialize internal pipeline.

void SVTK_EXPORT::insertItem ( const QIcon &  ,
const int  = -1 
)

Gets interaction style.

virtual void SVTK_EXPORT::InvokeEvent ( unsigned long  theEvent,
void theCallData 
) [virtual]

Just to simplify usage of its device (#vtkGenericRenderWindowInteractor)

void SVTK_EXPORT::InvokeEvent ( unsigned long  theEvent,
void theCallData 
)

To invoke a VTK event on SVTK_RenderWindowInteractor instance.

virtual int SVTK_EXPORT::IObjectCount ( ) const [pure virtual]

Get number of selected objects.

bool SVTK_EXPORT::IsAdvancedZoomingEnabled ( ) const [inline]

Definition at line 237 of file SVTK_InteractorStyle.h.

virtual bool SVTK_EXPORT::IsCoincident3DAllowed ( ) const [virtual]

Return true if "show graduated axes" flag is set.

Is graduated rules displayed.

virtual bool SVTK_EXPORT::IsDisplayNameActor ( ) const [virtual]

To get flag of displaying of name actor.

virtual bool SVTK_EXPORT::IsFeatureEdgesAllowed ( ) [virtual]
virtual bool SVTK_EXPORT::IsFeatureEdgesEnabled ( ) [virtual]
virtual bool SVTK_EXPORT::IsFilterPresent ( const TFilterID  theId) const [pure virtual]

Check, if a filter with given number is applyed.

virtual bool SVTK_EXPORT::IsIndexSelected ( const Handle(SALOME_InteractiveObject)&  theIO,
int  theIndex 
) const [pure virtual]

Check, if the given index is present in subselection.

Check, if the viewer contains a presentatin with defined SALOME_InteractiveObject.

Redirect the request to #SVTK_View::isInViewer (to support old code)

bool SVTK_EXPORT::isMultiSelectionEnabled ( ) const [inline]

Definition at line 154 of file SVTK_ViewModel.h.

bool SVTK_EXPORT::IsNull ( ) const
virtual bool SVTK_EXPORT::IsSelected ( const Handle(SALOME_InteractiveObject)&  theIO) const [pure virtual]

Check, is the SALOME_InteractiveObject is present into selection.

virtual bool SVTK_EXPORT::IsSelected ( SALOME_Actor theActor) const [pure virtual]

Check, is the SALOME_Actor is present into selection.

bool SVTK_EXPORT::isSelectionEnabled ( ) const [inline]

Definition at line 151 of file SVTK_ViewModel.h.

{ return mySelectionEnabled; }

Get visibility status of the static trihedron.

Get visibility status of the static trihedron.

Return true if "display trihedron" flag is set.

Is trihedron displayed.

Shows if the size of the trihedron is relative.

virtual bool SVTK_EXPORT::IsValid ( SALOME_Actor theActor,
const int  theId,
const bool  theIsNode = false 
) const [pure virtual]

Check, if the index satisfy to the installed filters.

Check, if a presentatin with defined SALOME_InteractiveObject is visible.

Redirect the request to #SVTK_View::isVisible (to support old code)

virtual bool SVTK_EXPORT::isVisible ( const Handle(SALOME_InteractiveObject)&  ) [virtual]

See #SALOME_View::isVisible( const Handle(SALOME_InteractiveObject)& )

void SVTK_EXPORT::KeyPressed ( QKeyEvent *  ) [signal]
void SVTK_EXPORT::KeyPressed ( QKeyEvent *  ) [signal]
virtual void SVTK_EXPORT::keyPressEvent ( QKeyEvent *  ) [protected, virtual]
virtual void SVTK_EXPORT::keyPressEvent ( QKeyEvent *  ) [protected, virtual]
void SVTK_EXPORT::KeyReleased ( QKeyEvent *  ) [signal]
void SVTK_EXPORT::KeyReleased ( QKeyEvent *  ) [signal]
virtual void SVTK_EXPORT::keyReleaseEvent ( QKeyEvent *  ) [protected, virtual]
virtual void SVTK_EXPORT::keyReleaseEvent ( QKeyEvent *  ) [protected, virtual]
virtual void SVTK_EXPORT::leaveEvent ( QEvent *  ) [protected, virtual]
void SVTK_EXPORT::loadCursors ( ) [protected]
void SVTK_EXPORT::MapCells ( SALOME_Actor theMapActor,
const TColStd_IndexedMapOfInteger &  theMapIndex 
)

Allow to recostruct selected cells from source SALOME_Actor and map of subindexes.

void SVTK_EXPORT::MapEdge ( SALOME_Actor theMapActor,
const TColStd_IndexedMapOfInteger &  theMapIndex 
)

Allow to recostruct selected edges from source SALOME_Actor and map of subindexes.

void SVTK_EXPORT::MapPoints ( SALOME_Actor theMapActor,
const TColStd_IndexedMapOfInteger &  theMapIndex 
)

Allow to recostruct selected points from source SALOME_Actor and map of subindexes.

void SVTK_EXPORT::MouseButtonPressed ( QMouseEvent *  ) [signal]
void SVTK_EXPORT::MouseButtonPressed ( QMouseEvent *  ) [signal]
void SVTK_EXPORT::MouseButtonReleased ( QMouseEvent *  ) [signal]
void SVTK_EXPORT::MouseButtonReleased ( QMouseEvent *  ) [signal]
void SVTK_EXPORT::MouseDoubleClicked ( QMouseEvent *  ) [signal]
void SVTK_EXPORT::MouseDoubleClicked ( QMouseEvent *  ) [signal]
virtual void SVTK_EXPORT::mouseDoubleClickEvent ( QMouseEvent *  ) [protected, virtual]
virtual void SVTK_EXPORT::mouseDoubleClickEvent ( QMouseEvent *  ) [protected, virtual]
void SVTK_EXPORT::MouseMove ( QMouseEvent *  ) [signal]
void SVTK_EXPORT::MouseMove ( QMouseEvent *  ) [signal]
virtual void SVTK_EXPORT::mouseMoveEvent ( QMouseEvent *  ) [protected, virtual]
virtual void SVTK_EXPORT::mouseMoveEvent ( QMouseEvent *  ) [protected, virtual]
virtual void SVTK_EXPORT::mousePressEvent ( QMouseEvent *  ) [protected, virtual]
virtual void SVTK_EXPORT::mousePressEvent ( QMouseEvent *  ) [protected, virtual]
virtual void SVTK_EXPORT::mouseReleaseEvent ( QMouseEvent *  ) [protected, virtual]
virtual void SVTK_EXPORT::mouseReleaseEvent ( QMouseEvent *  ) [protected, virtual]
void SVTK_EXPORT::MoveWidget ( ) [protected]
static SVTK_Trihedron* SVTK_EXPORT::New ( ) [static]
static SVTK_Actor* SVTK_EXPORT::New ( ) [static]
static vtkPVAxesWidget* SVTK_EXPORT::New ( ) [static]
static SVTK_RectPicker* SVTK_EXPORT::New ( ) [static]
static SVTK_Selector* SVTK_EXPORT::New ( ) [static]
static SVTK_DeviceActor* SVTK_EXPORT::New ( ) [static]
static vtkPVAxesActor* SVTK_EXPORT::New ( ) [static]
static SVTK_Renderer* SVTK_EXPORT::New ( ) [static]
static SALOME_Actor* SVTK_EXPORT::New ( ) [static]
static SVTK_InteractorStyle* SVTK_EXPORT::New ( ) [static]
void SVTK_EXPORT::onActorAdded ( VTKViewer_Actor *  ) [protected, slot]
void SVTK_EXPORT::onActorRemoved ( VTKViewer_Actor *  ) [protected, slot]
virtual bool SVTK_EXPORT::OnAdjustActors ( ) [protected, virtual]

Adjust size of the graduated rules to the bounding box of the scene.

virtual void SVTK_EXPORT::onAdjustCubeAxes ( ) [virtual, slot]

Redirect the request to #SVTK_Renderer::OnAdjustCubeAxes.

Adjust size of the trihedron to the bounding box of the scene.

virtual void SVTK_EXPORT::onAdjustTrihedron ( ) [virtual, slot]

Redirect the request to #SVTK_Renderer::OnAdjustTrihedron.

To rotate view 90 degrees counterclockwise.

virtual void SVTK_EXPORT::onAntiClockWiseView ( ) [virtual, slot]

Redirect the request to #SVTK_Renderer::onAntiClockWiseView.

virtual bool SVTK_EXPORT::onApply ( ) [private, virtual, slot]

To reset direction of the camera to back view.

virtual void SVTK_EXPORT::onBackView ( ) [virtual, slot]

Redirect the request to #SVTK_Renderer::OnBackView.

void SVTK_EXPORT::onBBCenterChecked ( ) [protected, slot]

To reset direction of the camera to bottom view.

virtual void SVTK_EXPORT::onBottomView ( ) [virtual, slot]

Redirect the request to #SVTK_Renderer::OnBottomView.

void SVTK_EXPORT::onCameraCoordChanged ( ) [protected, slot]
void SVTK_EXPORT::onChangeBackground ( ) [protected, slot]
void SVTK_EXPORT::onChangeRotationPoint ( bool  theIsActivate) [slot]
virtual void SVTK_EXPORT::OnChar ( ) [protected, virtual]

Redefine SVTK_InteractorStyle::OnChar.

virtual void SVTK_EXPORT::OnChar ( ) [virtual]

To handle keyboard event (reimplemented from #vtkInteractorStyle)

void SVTK_EXPORT::onClickClose ( ) [protected, slot]
void SVTK_EXPORT::onClickClose ( ) [protected, slot]

To rotate view 90 degrees clockwise.

virtual void SVTK_EXPORT::onClockWiseView ( ) [virtual, slot]

Redirect the request to #SVTK_Renderer::onClockWiseView.

virtual void SVTK_EXPORT::OnConfigure ( ) [virtual]

To reset reset view.

void SVTK_EXPORT::onCoordChanged ( ) [protected, slot]
void SVTK_EXPORT::onCursorMove ( QPoint  mousePos) [protected]
void SVTK_EXPORT::onDirectionChanged ( ) [protected, slot]
void SVTK_EXPORT::onDistanceChanged ( ) [protected, slot]
void SVTK_EXPORT::onDumpView ( ) [protected, slot]

To transform vtkCommand::EndPickEvent to Qt selectionChanged signal.

virtual void SVTK_EXPORT::onFinishOperation ( ) [protected, virtual]

Fit all presentation in the scene into the window.

virtual void SVTK_EXPORT::onFitAll ( ) [virtual, slot]

Redirect the request to #SVTK_Renderer::OnFitAll.

void SVTK_EXPORT::onFocalCoordChanged ( ) [protected, slot]

To reset direction of the camera to front view.

virtual void SVTK_EXPORT::onFrontView ( ) [virtual, slot]

Redirect the request to #SVTK_Renderer::OnFrontView.

void SVTK_EXPORT::onGraduatedAxes ( bool  theIsActivate) [slot]
virtual bool SVTK_EXPORT::OnKeyDown ( vtkInteractorStyle *  ) [virtual]

Provides the action on event.

virtual void SVTK_EXPORT::OnKeyDown ( ) [virtual]

Redefine vtkInteractorStyle::OnKeyDown.

void SVTK_EXPORT::onKeyPressed ( QKeyEvent *  event) [protected, slot]
void SVTK_EXPORT::onKeyReleased ( QKeyEvent *  event) [protected, slot]
virtual void SVTK_EXPORT::OnLeftButtonDown ( int  ctrl,
int  shift,
int  x,
int  y 
) [protected, virtual]

Redefine SVTK_InteractorStyle::OnLeftButtonDown.

virtual void SVTK_EXPORT::OnLeftButtonDown ( ) [virtual]

To handle left mouse button down event (reimplemented from #vtkInteractorStyle)

virtual void SVTK_EXPORT::OnLeftButtonDown ( int  ctrl,
int  shift,
int  x,
int  y 
) [protected, virtual]
virtual void SVTK_EXPORT::OnLeftButtonUp ( int  ctrl,
int  shift,
int  x,
int  y 
) [protected, virtual]

Redefine SVTK_InteractorStyle::OnLeftButtonUp.

virtual void SVTK_EXPORT::OnLeftButtonUp ( ) [virtual]

To handle left mouse button up event (reimplemented from #vtkInteractorStyle)

virtual void SVTK_EXPORT::OnLeftButtonUp ( int  ctrl,
int  shift,
int  x,
int  y 
) [protected, virtual]

To reset direction of the camera to left view.

virtual void SVTK_EXPORT::onLeftView ( ) [virtual, slot]

Redirect the request to #SVTK_Renderer::OnLeftView.

virtual void SVTK_EXPORT::OnMiddleButtonDown ( int  ctrl,
int  shift,
int  x,
int  y 
) [protected, virtual]

Redefine SVTK_InteractorStyle::OnMiddleButtonDown.

virtual void SVTK_EXPORT::OnMiddleButtonDown ( ) [virtual]

To handle middle mouse button down event (reimplemented from #vtkInteractorStyle)

virtual void SVTK_EXPORT::OnMiddleButtonDown ( int  ctrl,
int  shift,
int  x,
int  y 
) [protected, virtual]
virtual void SVTK_EXPORT::OnMiddleButtonUp ( int  ctrl,
int  shift,
int  x,
int  y 
) [protected, virtual]

Redefine SVTK_InteractorStyle::OnMiddleButtonUp.

virtual void SVTK_EXPORT::OnMiddleButtonUp ( ) [virtual]

To handle middle mouse button up event (reimplemented from #vtkInteractorStyle)

virtual void SVTK_EXPORT::OnMiddleButtonUp ( int  ctrl,
int  shift,
int  x,
int  y 
) [protected, virtual]
void SVTK_EXPORT::onMouseDoubleClicked ( QMouseEvent *  event) [protected, slot]
void SVTK_EXPORT::OnMouseMove ( ) [protected]
virtual void SVTK_EXPORT::OnMouseMove ( ) [virtual]

To handle mouse move event.

void SVTK_EXPORT::onMouseMove ( SUIT_ViewWindow ,
QMouseEvent *   
) [protected, slot]
virtual void SVTK_EXPORT::OnMouseMove ( int  ctrl,
int  shift,
int  x,
int  y 
) [protected, virtual]
void SVTK_EXPORT::onMouseMoving ( QMouseEvent *  event) [protected, slot]
void SVTK_EXPORT::onMousePress ( SUIT_ViewWindow ,
QMouseEvent *   
) [protected, slot]
void SVTK_EXPORT::onMousePressed ( QMouseEvent *  event) [protected, slot]
void SVTK_EXPORT::onMouseRelease ( SUIT_ViewWindow ,
QMouseEvent *   
) [protected, slot]
void SVTK_EXPORT::onMouseReleased ( QMouseEvent *  event) [protected, slot]
virtual void SVTK_EXPORT::OnMouseWheelBackward ( ) [virtual]

To handle mouse wheel backward event (reimplemented from #vtkInteractorStyle)

virtual void SVTK_EXPORT::OnMouseWheelForward ( ) [virtual]

To handle mouse wheel forward event (reimplemented from #vtkInteractorStyle)

void SVTK_EXPORT::onNonIsometric ( bool  theIsActivate) [slot]
void SVTK_EXPORT::onOperation ( QPoint  mousePos) [protected]
void SVTK_EXPORT::onPositionModeChanged ( int  ) [protected, slot]
void SVTK_EXPORT::onProjectionModeChanged ( int  ) [protected, slot]

Reset camera clipping range to adjust the range to the bounding box of the scene.

Set camera into predefined state.

virtual void SVTK_EXPORT::onResetView ( ) [virtual, slot]

Redirect the request to #SVTK_Renderer::OnResetView.

virtual void SVTK_EXPORT::OnRightButtonDown ( ) [virtual]

To handle right mouse button down event (reimplemented from #vtkInteractorStyle)

virtual void SVTK_EXPORT::OnRightButtonDown ( int  ctrl,
int  shift,
int  x,
int  y 
) [protected, virtual]
virtual void SVTK_EXPORT::OnRightButtonUp ( ) [virtual]

To handle right mouse button up event (reimplemented from #vtkInteractorStyle)

virtual void SVTK_EXPORT::OnRightButtonUp ( int  ctrl,
int  shift,
int  x,
int  y 
) [protected, virtual]

To reset direction of the camera to right view.

virtual void SVTK_EXPORT::onRightView ( ) [virtual, slot]

Redirect the request to #SVTK_Renderer::OnRightView.

To invoke Qt selectionChanged signal.

Definition at line 39 of file SVTK_ViewModelBase.h.

  {
    emit selectionChanged();
  }

Here is the call graph for this function:

virtual void SVTK_EXPORT::onSelectionChanged ( ) [virtual, slot]
void SVTK_EXPORT::onSelectPoint ( ) [protected, slot]
void SVTK_EXPORT::onSelectPoint ( ) [protected, slot]
virtual void SVTK_EXPORT::onSpaceMouseButton ( int  button) [protected, virtual]
void SVTK_EXPORT::onSpaceMouseMove ( double *  data) [protected]
void SVTK_EXPORT::onSwitchZoomingStyle ( bool  theOn) [slot]
void SVTK_EXPORT::onSynchronizeView ( bool  ) [private, slot]
void SVTK_EXPORT::OnTimeOut ( ) [protected, slot]

The slot connects to QTimer::timeout signal to invoke vtkCommand::TimerEvent.

virtual void SVTK_EXPORT::OnTimer ( ) [virtual]

To implement cached rendering.

void SVTK_EXPORT::onToBBCenter ( ) [protected, slot]
void SVTK_EXPORT::onToOrigin ( ) [protected, slot]
void SVTK_EXPORT::onToOrigin ( ) [protected, slot]

To reset direction of the camera to top view.

virtual void SVTK_EXPORT::onTopView ( ) [virtual, slot]

Redirect the request to #SVTK_Renderer::OnTopView.

void SVTK_EXPORT::onUpdateRate ( bool  theIsActivate) [slot]

Toggle graduated rules visibility.

virtual void SVTK_EXPORT::onViewCubeAxes ( ) [virtual, slot]

Redirect the request to #SVTK_Renderer::OnViewCubeAxes.

void SVTK_EXPORT::onViewParameters ( bool  theIsActivate) [slot]

Toggle trihedron visibility.

virtual void SVTK_EXPORT::onViewTrihedron ( ) [virtual, slot]

Redirect the request to #SVTK_Renderer::OnViewTrihedron.

void SVTK_EXPORT::onZoomChanged ( ) [protected, slot]
void SVTK_EXPORT::operator= ( const SVTK_Trihedron ) [protected]
void SVTK_EXPORT::operator= ( const SVTK_KeyFreeInteractorStyle ) [protected]
void SVTK_EXPORT::operator= ( const SVTK_ControllerIncrement ) [private]
void SVTK_EXPORT::operator= ( const SVTK_GeomControllerIncrement ) [private]
void SVTK_EXPORT::operator= ( const SVTK_ControllerOnKeyDown ) [private]
void SVTK_EXPORT::operator= ( const vtkPVAxesWidget ) [private]
void SVTK_EXPORT::operator= ( const vtkPVAxesActor ) [private]
void SVTK_EXPORT::operator= ( const SVTK_DeviceActor ) [private]
virtual QPaintEngine* SVTK_EXPORT::paintEngine ( ) const [virtual]

Get paint engine for the scene.

virtual void SVTK_EXPORT::paintEvent ( QPaintEvent *  ) [protected, virtual]
void SVTK_EXPORT::PanXY ( int  x,
int  y,
int  oldX,
int  oldY 
) [protected]
virtual int SVTK_EXPORT::Pick ( vtkFloatingPointType  theSelectionX,
vtkFloatingPointType  theSelectionY,
vtkFloatingPointType  theSelectionZ,
vtkFloatingPointType  theSelectionX2,
vtkFloatingPointType  theSelectionY2,
vtkFloatingPointType  theSelectionZ2,
vtkRenderer *  theRenderer 
) [virtual]
int SVTK_EXPORT::Pick ( vtkFloatingPointType  theSelection[3],
vtkFloatingPointType  theSelection2[3],
vtkRenderer *  theRenderer 
)
virtual int SVTK_EXPORT::Pick ( vtkFloatingPointType  ,
vtkFloatingPointType  ,
vtkFloatingPointType  ,
vtkRenderer *   
) [private, virtual]
virtual vtkActorCollection* SVTK_EXPORT::Pick ( const SVTK_SelectionEvent theEvent,
vtkRenderer *  theRenderer 
) const [pure virtual]
void SVTK_EXPORT::Place ( const int  theX,
const int  theY 
) [protected]
virtual void SVTK_EXPORT::polish ( ) [virtual, slot]

To implement final initialization, just before the widget is displayed.

Remove last interactor style from the stack of styles.

To restore previous interactor style.

virtual bool SVTK_EXPORT::PreHighlight ( vtkInteractorStyle *  theInteractorStyle,
SVTK_SelectionEvent theSelectionEvent,
bool  theIsHighlight 
) [virtual]

To process prehighlight (called from SVTK_InteractorStyle)

void SVTK_EXPORT::PrintSelf ( ostream &  os,
vtkIndent  indent 
)
void SVTK_EXPORT::PrintSelf ( ostream &  os,
vtkIndent  indent 
)
static void SVTK_EXPORT::ProcessEvents ( vtkObject *  object,
unsigned long  event,
void clientdata,
void calldata 
) [static, protected]
static void SVTK_EXPORT::ProcessEvents ( vtkObject *  object,
unsigned long  event,
void clientdata,
void calldata 
) [static, protected]
static void SVTK_EXPORT::ProcessEvents ( vtkObject *  object,
unsigned long  event,
void clientdata,
void calldata 
) [static, protected]
static void SVTK_EXPORT::ProcessEvents ( vtkObject *  object,
unsigned long  event,
void clientdata,
void calldata 
) [static, protected]
static void SVTK_EXPORT::ProcessEvents ( vtkObject *  theObject,
unsigned long  theEvent,
void theClientData,
void theCallData 
) [static, protected]
static void SVTK_EXPORT::ProcessEvents ( vtkObject *  object,
unsigned long  event,
void clientData,
void callData 
) [static, protected]
static void SVTK_EXPORT::ProcessEvents ( vtkObject *  object,
unsigned long  event,
void clientdata,
void calldata 
) [static, protected]

Gets projection mode.

void SVTK_EXPORT::PushInteractorStyle ( vtkInteractorStyle *  theStyle)

Add interactor style to the stack of styles.

void SVTK_EXPORT::PushInteractorStyle ( vtkInteractorStyle *  theStyle)

To change current interactor style by pushing the new one into the container.

Instatiate QTimer.

SVTK_EXPORT::QVTK_RenderWindowInteractor ( QWidget *  theParent,
const char *  theName 
)
bool SVTK_EXPORT::ReadData ( vtkAxisActor2D *  )
virtual void SVTK_EXPORT::RefreshDumpImage ( ) [virtual]
void SVTK_EXPORT::Remove ( const Handle(SALOME_InteractiveObject)&  IObject,
bool  immediatly = true 
)
void SVTK_EXPORT::Remove ( SALOME_Actor SActor,
bool  updateViewer = true 
)

To remove the VTK presentation.

virtual void SVTK_EXPORT::RemoveActor ( VTKViewer_Actor *  theActor,
bool  theIsAdjustActors = true 
) [virtual]

Removes pointed actor from the renderer.

virtual void SVTK_EXPORT::RemoveActor ( VTKViewer_Actor *  theActor,
bool  theIsUpdate = false,
bool  theIsAdjustActors = true 
) [virtual]

Redirect the request to #SVTK_Renderer::RemoveActor.

void SVTK_EXPORT::RemoveAll ( const bool  immediatly)

To remove from the view all existing VTK presentations.

virtual void SVTK_EXPORT::RemoveFilter ( const TFilterID  theId) [pure virtual]

To remove a filter from the selection.

virtual void SVTK_EXPORT::RemoveFromRender ( vtkRenderer *  theRendere) [virtual]

To remove the actor an all its internal devices.

virtual void SVTK_EXPORT::RemoveIndex ( const Handle(SALOME_InteractiveObject)&  theIO,
int  theIndex 
) [pure virtual]

Change index of subslection for given SALOME_InteractiveObject.

virtual bool SVTK_EXPORT::RemoveIObject ( const Handle(SALOME_InteractiveObject)&  theIO) [pure virtual]

Modify the selection by removing a reference on SALOME_InteractiveObject.

virtual bool SVTK_EXPORT::RemoveIObject ( SALOME_Actor theActor) [pure virtual]

Modify the selection by removing a reference on SALOME_Actor.

void SVTK_EXPORT::rename ( const Handle(SALOME_InteractiveObject)&  IObject,
const QString &  newName 
)
virtual void SVTK_EXPORT::Render ( ) [virtual]

To invoke #vtkRenderWindowInteractor::CreateTimer.

virtual void SVTK_EXPORT::Render ( vtkRenderer *  ,
vtkMapper *   
) [virtual]
virtual int SVTK_EXPORT::RenderOpaqueGeometry ( vtkViewport *  viewport) [virtual]
virtual int SVTK_EXPORT::RenderTranslucentGeometry ( vtkViewport *  viewport) [virtual]
void SVTK_EXPORT::Repaint ( bool  theUpdateTrihedron = true)

Redirect the request to #SVTK_ViewWindow::Repaint (just for flexibility)

virtual void SVTK_EXPORT::Repaint ( ) [virtual]

See #SALOME_View::Repaint()

virtual void SVTK_EXPORT::Repaint ( bool  theUpdateTrihedron = true) [virtual]

To repaint the viewer.

virtual void SVTK_EXPORT::resize ( int  w,
int  h 
) [virtual, slot]

To adjust widget and vtkRenderWindow size.

Here is the caller graph for this function:

virtual void SVTK_EXPORT::resizeEvent ( QResizeEvent *  ) [protected, virtual]
void SVTK_EXPORT::RotateXY ( int  dx,
int  dy 
) [protected]
SVTK_EXPORT::SALOME_Actor ( ) [protected]

To declare signal on selection changed.

Here is the caller graph for this function:

virtual Selection_Mode SVTK_EXPORT::SelectionMode ( ) const [pure virtual]

Get current Selection_Mode.

Set selection mode.

To get current selection mode (just to simplify collobaration with SVTK_Selector)

void SVTK_EXPORT::SetAdvancedZoomingEnabled ( const bool  theState) [inline]

Definition at line 236 of file SVTK_InteractorStyle.h.

void SVTK_EXPORT::SetAxisLabelColor ( double  r,
double  g,
double  b 
)

Set background color to the viewer.

virtual void SVTK_EXPORT::setBackground ( const Qtx::BackgroundData ) [virtual]

Set background.

void SVTK_EXPORT::setBackgroundColor ( const QColor &  )

Set background color to the viewer [obsolete].

virtual void SVTK_EXPORT::setBackgroundColor ( const QColor &  ) [virtual]

Set background color [obsolete].

void SVTK_EXPORT::SetCellPicker ( vtkCellPicker *  theCellPicker)

To set up a picker for cell selection (initialized by #SVTK_Renderer::AddActor)

To set up a picker for cell rectangle selection (initialized by #SVTK_Renderer::AddActor)

virtual void SVTK_EXPORT::SetCoincident3DAllowed ( bool  theIsFeatureEdgesAllowed) [virtual]
void SVTK_EXPORT::SetColor ( const Handle(SALOME_InteractiveObject)&  theIObject,
const QColor &  theColor 
)

Change color.

To set current increment controller.

To set current OnKeyDown controller.

void SVTK_EXPORT::setCursor ( const int  operation) [protected]
virtual void SVTK_EXPORT::SetData ( const QColor &  ,
const int  ,
const bool  ,
const bool  ,
const bool   
) [virtual]

Set current display mode.

void SVTK_EXPORT::SetDisplayMode ( const Handle(SALOME_InteractiveObject)&  IObject,
int  theMode 
)

Switch representation wireframe/shading.

Sets dynamic preselection.

virtual void SVTK_EXPORT::SetDynamicPreSelection ( bool  theIsDynPreselect) [pure virtual]
virtual void SVTK_EXPORT::SetDynamicPreSelection ( bool  ) [virtual]

Set dynamic preselection on/off.

virtual void SVTK_EXPORT::SetEnabled ( int  ) [virtual]
void SVTK_EXPORT::setEnabled ( QGroupBox *  theGrp,
const bool  theState 
) [protected]
void SVTK_EXPORT::setEnabled ( QFrame *  theWidget,
const bool  theState 
) [protected]
void SVTK_EXPORT::SetEventDispatcher ( vtkObject *  theDispatcher) [protected]
virtual void SVTK_EXPORT::SetFeatureEdgesAllowed ( bool  theIsFeatureEdgesAllowed) [virtual]
virtual void SVTK_EXPORT::SetFeatureEdgesColoring ( bool  theIsColoring) [virtual]
virtual void SVTK_EXPORT::SetFeatureEdgesEnabled ( bool  theIsFeatureEdgesEnabled) [virtual]
virtual void SVTK_EXPORT::SetFeatureEdgesFlags ( bool  theIsFeatureEdges,
bool  theIsBoundaryEdges,
bool  theIsManifoldEdges,
bool  theIsNonManifoldEdges 
) [virtual]
virtual void SVTK_EXPORT::SetFilter ( const Handle(VTKViewer_Filter)&  theFilter) [pure virtual]

To apply a filter on the selection.

void SVTK_EXPORT::SetHighlightProperty ( vtkProperty *  theProperty)

To set up a highlight property (initialized by #SVTK_Renderer::AddActor)

void SVTK_EXPORT::setIncrementalSpeed ( const int  ,
const int  = 0 
)

Set the incremental speed for view operation (see #SVTK_InteractorStyle::ControllerIncrement)

virtual void SVTK_EXPORT::SetIncrementalSpeed ( const int  ,
const int  = 0 
) [virtual]

Set incremental speed.

void SVTK_EXPORT::SetIncrementSpeed ( const int  ,
const int  = 0 
)

To modify current increment controller.

virtual void SVTK_EXPORT::SetInput ( vtkDataSet *  theDataSet) [virtual]

Allows to set initial #vtkDataSet.

Sets interaction style.

virtual void SVTK_EXPORT::SetInteractionStyle ( const int  ) [virtual]

Set interactive style.

virtual void SVTK_EXPORT::SetInteractor ( vtkRenderWindowInteractor *  theInteractor) [virtual]

To set interactor in order to use #vtkInteractorObserver devices.

virtual void SVTK_EXPORT::SetInteractor ( vtkRenderWindowInteractor *  ) [virtual]

Redefined in order to add an observer (callback) for custom event (space mouse event)

virtual void SVTK_EXPORT::setIO ( const Handle(SALOME_InteractiveObject)&  theIO) [virtual]

Set reference to SALOME_InteractiveObject.

virtual void SVTK_EXPORT::SetIsDisplayNameActor ( bool  theIsDisplayNameActor) [virtual]

To set flag of displaying of name actor.

virtual void SVTK_EXPORT::SetMapper ( vtkMapper *  theMapper) [virtual]

To insert some additional filters and then sets the given #vtkMapper.

Set standard point marker.

virtual void SVTK_EXPORT::SetMarkerTexture ( int  ,
VTK::MarkerTexture   
) [virtual]

Set custom point marker.

void SVTK_EXPORT::SetMaterial ( const Handle(SALOME_InteractiveObject)&  theIObject,
vtkProperty *  thePropF 
)

Change material.

void SVTK_EXPORT::SetMouseCursor ( int  cursorState) [protected]
virtual void SVTK_EXPORT::setName ( const char *  theName) [virtual]

Name the SALOME_Actor.

virtual void SVTK_EXPORT::SetNameActorOffset ( int  theOffset[2]) [virtual]

To set offset of name actor.

virtual void SVTK_EXPORT::SetNameActorText ( const char *  theText) [virtual]

To set text of name actor.

void SVTK_EXPORT::SetNormalizedShaftLength ( float  v[3]) [inline]

Definition at line 119 of file vtkPVAxesActor.h.

    { this->SetNormalizedShaftLength( v[0], v[1], v[2] ); }

Here is the call graph for this function:

Here is the caller graph for this function:

void SVTK_EXPORT::SetNormalizedShaftLength ( float  x,
float  y,
float  z 
)
void SVTK_EXPORT::SetNormalizedTipLength ( float  v[3]) [inline]

Definition at line 126 of file vtkPVAxesActor.h.

    { this->SetNormalizedTipLength( v[0], v[1], v[2] ); }

Here is the call graph for this function:

Here is the caller graph for this function:

void SVTK_EXPORT::SetNormalizedTipLength ( float  x,
float  y,
float  z 
)
void SVTK_EXPORT::SetOutlineColor ( double  r,
double  g,
double  b 
)
void SVTK_EXPORT::SetParentRenderer ( vtkRenderer *  ren)
void SVTK_EXPORT::SetPointPicker ( vtkPointPicker *  thePointPicker)

To set up a picker for nodal selection (initialized by #SVTK_Renderer::AddActor)

To set up a picker for point rectangle selection (initialized by #SVTK_Renderer::AddActor)

Apply additional position.

virtual void SVTK_EXPORT::SetPosition ( vtkFloatingPointType  _arg[3]) [virtual]

Apply additional position.

void SVTK_EXPORT::SetPreHighlightProperty ( vtkProperty *  theProperty)

To set up a prehighlight property (initialized by #SVTK_Renderer::AddActor)

void SVTK_EXPORT::SetPreselectionProp ( const double &  theRed = 0,
const double &  theGreen = 1,
const double &  theBlue = 1,
const int &  theWidth = 5 
)

Applies color and size (PointSize and LineWidth) of primitives in preselection mode.

virtual void SVTK_EXPORT::SetPreselectionProp ( const double &  theRed = 0,
const double &  theGreen = 1,
const double &  theBlue = 1,
const int &  theWidth = 5 
) [virtual]

Redirect the request to #SVTK_Renderer::SetPreselectionProp.

void SVTK_EXPORT::SetPreselectionProp ( const double &  theRed = 0,
const double &  theGreen = 1,
const double &  theBlue = 1,
const int &  theWidth = 5 
)

Redirect the request to #SVTK_Renderer::SetPreselectionProp.

Sets projection mode.

virtual void SVTK_EXPORT::SetProjectionMode ( const int  ) [virtual]

Set current projection mode.

virtual void SVTK_EXPORT::SetQuadraticArcAngle ( vtkFloatingPointType  theMaxAngle) [virtual]
virtual void SVTK_EXPORT::SetQuadraticArcMode ( bool  theFlag) [virtual]

Setting for displaying quadratic elements.

void SVTK_EXPORT::SetRenderer ( SVTK_Renderer theRenderer) [protected]
void SVTK_EXPORT::SetRenderWidget ( QWidget *  theRenderWidget)

To initialize myRenderWidget field.

virtual void SVTK_EXPORT::SetScale ( double  theScale[3]) [virtual]

Allows to apply a scale on the whole scene.

virtual void SVTK_EXPORT::SetScale ( double  theScale[3]) [virtual]

Redirect the request to #SVTK_Renderer::SetScale.

virtual void SVTK_EXPORT::SetSelectionMode ( Selection_Mode  theMode) [pure virtual]

To change current Selection_Mode (as outside effect, it invokes selectionChange signal)

virtual void SVTK_EXPORT::SetSelectionMode ( Selection_Mode  theMode) [virtual]

Change selection mode.

To change selection mode (just to simplify collobaration with SVTK_Selector)

void SVTK_EXPORT::SetSelectionProp ( const double &  theRed = 1,
const double &  theGreen = 1,
const double &  theBlue = 0,
const int &  theWidth = 5 
)

Applies color and size (PointSize and LineWidth) of primitives in selection mode.

virtual void SVTK_EXPORT::SetSelectionProp ( const double &  theRed = 1,
const double &  theGreen = 1,
const double &  theBlue = 0,
const int &  theWidth = 5 
) [virtual]

Set selection properties.

void SVTK_EXPORT::SetSelectionProp ( const double &  theRed = 1,
const double &  theGreen = 1,
const double &  theBlue = 0,
const int &  theWidth = 5 
)

Redirect the request to #SVTK_Renderer::SetPreselectionProp.

void SVTK_EXPORT::SetSelectionTolerance ( const double &  theTolNodes = 0.025,
const double &  theTolCell = 0.001,
const double &  theTolObjects = 0.025 
)

Setup requested tolerance for the picking.

virtual void SVTK_EXPORT::SetSelectionTolerance ( const double &  theTolNodes = 0.025,
const double &  theTolCell = 0.001,
const double &  theTolObjects = 0.025 
) [virtual]

Redirect the request to #SVTK_Renderer::SetSelectionTolerance.

void SVTK_EXPORT::SetSelectionTolerance ( const double &  theTolNodes = 0.025,
const double &  theTolCell = 0.001,
const double &  theTolObjects = 0.025 
)

Redirect the request to #SVTK_Renderer::SetPreselectionProp.

void SVTK_EXPORT::SetSelector ( SVTK_Selector *  theSelector)

To initialize mySelector field.

virtual void SVTK_EXPORT::SetSelector ( SVTK_Selector *  theSelector) [virtual]

Set selector in order to the actor at any time can restore current selection.

void SVTK_EXPORT::SetSelector ( SVTK_Selector *  theSelector) [protected]
void SVTK_EXPORT::SetShaded ( bool  theShaded)

Here is the caller graph for this function:

Definition at line 161 of file vtkPVAxesActor.h.

    { this->SetShaftType( vtkPVAxesActor::CYLINDER_SHAFT ); }

Here is the call graph for this function:

Definition at line 163 of file vtkPVAxesActor.h.

    { this->SetShaftType( vtkPVAxesActor::LINE_SHAFT ); }

Here is the call graph for this function:

Definition at line 165 of file vtkPVAxesActor.h.

    { this->SetShaftType( vtkPVAxesActor::USER_DEFINED_SHAFT ); }

Here is the call graph for this function:

virtual void SVTK_EXPORT::SetShrink ( ) [virtual]
virtual void SVTK_EXPORT::SetShrinkable ( bool  theIsShrinkable) [virtual]
void SVTK_EXPORT::SetSource ( vtkUnstructuredGrid *  theUnstructuredGrid)

Allows to set an external source.

void SVTK_EXPORT::setSpacemouseButtons ( const int  ,
const int  ,
const int   
)

Sets spacemouse buttons.

virtual void SVTK_EXPORT::SetSpacemouseButtons ( const int  ,
const int  ,
const int   
) [virtual]

Customize space mouse buttons.

Set start value of increment.

Set visibility status of the static trihedron.

virtual void SVTK_EXPORT::SetStaticTrihedronVisible ( const bool  ) [virtual]

Set visibility status of the static trihedron.

virtual void SVTK_EXPORT::SetStoreMapping ( bool  theStoreMapping) [virtual]

To provide VTK to Object and backward mapping.

void SVTK_EXPORT::SetTDxStyle ( vtkTDxInteractorStyle *  ) [inline]

Definition at line 161 of file SVTK_InteractorStyle.h.

{} 

Here is the caller graph for this function:

Definition at line 171 of file vtkPVAxesActor.h.

    { this->SetTipType( vtkPVAxesActor::CONE_TIP ); }

Here is the call graph for this function:

Definition at line 173 of file vtkPVAxesActor.h.

    { this->SetTipType( vtkPVAxesActor::SPHERE_TIP ); }

Here is the call graph for this function:

Definition at line 175 of file vtkPVAxesActor.h.

    { this->SetTipType( vtkPVAxesActor::USER_DEFINED_TIP ); }

Here is the call graph for this function:

virtual void SVTK_EXPORT::SetTolerance ( const double &  theTolerance) [pure virtual]
void SVTK_EXPORT::SetTotalLength ( float  v[3]) [inline]

Definition at line 112 of file vtkPVAxesActor.h.

    { this->SetTotalLength( v[0], v[1], v[2] ); }

Here is the call graph for this function:

Here is the caller graph for this function:

void SVTK_EXPORT::SetTotalLength ( float  x,
float  y,
float  z 
)
virtual void SVTK_EXPORT::SetTransform ( VTKViewer_Transform *  theTransform) [virtual]

Apply a view transformation.

virtual void SVTK_EXPORT::SetTransform ( VTKViewer_Transform *  theTransform) [virtual]

Apply view transformation.

void SVTK_EXPORT::SetTransparency ( const Handle(SALOME_InteractiveObject)&  theIObject,
float  trans 
)

Change transparency.

void SVTK_EXPORT::setTrihedronSize ( const vtkFloatingPointType  ,
const bool  = true 
)

Set size of trihedron of the viewer (see #SVTK_Renderer::SetTrihedronSize)

void SVTK_EXPORT::SetTrihedronSize ( vtkFloatingPointType  theSize,
const bool  theRelative = true 
)

Set size of the trihedron in percents from bounding box of the scene.

virtual void SVTK_EXPORT::SetTrihedronSize ( const vtkFloatingPointType  ,
const bool  = true 
) [virtual]

Redirect the request to #SVTK_Renderer::SetTrihedronSize.

void SVTK_EXPORT::SetUserDefinedTip ( vtkPolyData *  )
virtual void SVTK_EXPORT::setViewManager ( SUIT_ViewManager *  theViewManager) [virtual]

See #SUIT_ViewModel::createView.

void SVTK_EXPORT::SetViewport ( double  minX,
double  minY,
double  maxX,
double  maxY 
)
virtual void SVTK_EXPORT::SetVisibility ( int  ) [virtual]

Visibility management.

virtual void SVTK_EXPORT::setVisualParameters ( const QString &  parameters) [virtual]

Sets zooming style.

virtual void SVTK_EXPORT::SetZoomingStyle ( const int  ) [virtual]

Set zooming style.

void SVTK_EXPORT::ShallowCopy ( vtkProp *  prop)
virtual bool SVTK_EXPORT::ShouldBeDisplayed ( ) [virtual]

Gets know whether the actor should be displayed or not.

virtual void SVTK_EXPORT::show ( ) [virtual, slot]

Need for initial contents display on Win32.

void SVTK_EXPORT::Show ( QShowEvent *  ) [signal]
virtual void SVTK_EXPORT::showEvent ( QShowEvent *  ) [virtual, slot]
int SVTK_EXPORT::spacemouseBtn ( const int  ) const

Gets spacemouse button for specified function.

void SVTK_EXPORT::SpinXY ( int  dx,
int  dy,
int  oldX,
int  oldY 
) [protected]
void SVTK_EXPORT::startOperation ( int  operation) [protected]
void SVTK_EXPORT::startPan ( ) [protected]
virtual void SVTK_EXPORT::StartPickCallback ( ) [pure virtual]
void SVTK_EXPORT::startRotate ( ) [protected]
void SVTK_EXPORT::startSpin ( ) [protected]
void SVTK_EXPORT::startZoom ( ) [protected]
virtual const SALOME_ListIO& SVTK_EXPORT::StoredIObjects ( ) const [pure virtual]

Get all SALOME_InteractiveObject references that is present into selection.

SVTK_EXPORT::SVTK_Actor ( ) [protected]
SVTK_EXPORT::SVTK_ComboAction ( const QString &  ,
QObject = 0 
)
SVTK_EXPORT::SVTK_CubeAxesDlg ( QtxAction theAction,
SVTK_ViewWindow theParent,
const char *  theName 
)
SVTK_EXPORT::SVTK_Prs ( const vtkActor *  obj)
SVTK_EXPORT::SVTK_Renderer ( ) [protected]
SVTK_EXPORT::SVTK_RenderWindowInteractor ( QWidget *  theParent,
const char *  theName 
)