]> SALOME platform Git repositories - modules/visu.git/blob - src/VISUGUI/VisuGUI_Selection.h
Salome HOME
NRI : First integration.
[modules/visu.git] / src / VISUGUI / VisuGUI_Selection.h
1 //  File      : VisuGUI_Selection.h
2 //  Created   : Wed Apr 03 10:23:06 2002
3 //  Author    : Laurent CORNABE & Hubert ROLLAND 
4 //  Project   : SALOME
5 //  Module    : VISUGUI
6 //  Copyright : PRINCIPIA
7 //  $Header$
8
9 #ifndef VisuGUI_Selection_HeaderFile
10 #define VisuGUI_Selection_HeaderFile
11
12 #ifndef _Standard_HeaderFile
13 #include <Standard.hxx>
14 #endif
15  
16 #include "QAD_Desktop.h"
17 #include <vtkRenderer.h>
18 #include <vtkRenderWindowInteractor.h>
19  
20 #include <SALOMEconfig.h>
21 #include "VISU_Actor.h"
22         
23 #define SelectionPoint 1
24 #define SelectionEdge  2
25 #define SelectionCell  3
26 #define SelectionActor 4
27
28 class VisuGUI_Selection
29 {
30
31 public :
32
33 // Methods PUBLIC
34 // 
35 //
36
37 int PickViewer(QAD_Study *ActiveStudy, int mode);         
38 void PickingResults(QAD_Study *ActiveStudy, int mode, VISU_Actor *Actor);
39
40 void PickingCell(QAD_Study *ActiveStudy, VISU_Actor *Actor);
41 void PickingPoint(QAD_Study *ActiveStudy, VISU_Actor *Actor);
42 void HighlightCell(int idCell, VISU_Actor *Actor, vtkRenderer *ren);
43 void HighlightPoint(int idPoint, int nbPoints, VISU_Actor *Actor, vtkRenderer *ren);
44
45 int getId();
46 char *getMsg(int nb);
47 float *getCoord();
48 float getScalar();
49 float *getVector();
50 int getMode();
51
52 protected:
53
54  // Methods PROTECTED
55  // 
56
57
58  // Fields PROTECTED
59  //
60
61
62 private: 
63
64  // Methods PRIVATE
65  // 
66
67
68  // Fields PRIVATE
69  //
70
71 };
72
73 #endif