You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Merge pull request #10 from LIHPC-Computational-Geometry/5.9.0-dev
Release 5.9.0. Improvements to the vtkViewCubeActor class: a second click on a face cancels the roll, and the text is pressed as close as possible to the faces. Highlighting of the hovered face.
Copy file name to clipboardExpand all lines: src/VtkContrib/public/VtkContrib/vtkViewCubeActor.h
+20-8Lines changed: 20 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -8,6 +8,7 @@
8
8
9
9
#include<vtkPropAssembly.h>
10
10
#include<vtkActor.h>
11
+
#include<vtkDoubleArray.h>
11
12
#include<vtkPolyData.h>
12
13
#include<vtkPolyDataMapper.h>
13
14
#include<vtkCellPicker.h>
@@ -87,6 +88,11 @@ class vtkViewCubeActor : public vtkPropAssembly
87
88
*/
88
89
virtualvoidPickCallback (int x, int y);
89
90
91
+
/**
92
+
* Regarde si une face du cube est pointée aux coordonnées transmises et, le cas échéant, met cette face en surbrillance. Annule ue éventuelle surbrillance antérieure d'une autre face.
93
+
*/
94
+
virtualvoidHighlightCallback (int x, int y);
95
+
90
96
91
97
protected:
92
98
@@ -107,22 +113,28 @@ class vtkViewCubeActor : public vtkPropAssembly
0 commit comments