We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e0ff37f commit fbd7980Copy full SHA for fbd7980
src/traces/streamtube/convert.js
@@ -38,19 +38,19 @@ proto.handlePick = function(selection) {
38
39
if(selection.object === this.mesh) {
40
var pos = selection.data.position;
41
- var vel = selection.data.velocity;
42
43
- var uu = fromDataScale(vel[0], 'xaxis');
44
- var vv = fromDataScale(vel[1], 'yaxis');
45
- var ww = fromDataScale(vel[2], 'zaxis')
+ // TODO
+ // wait for patch in gl-streamtube3d
+ // to grab u/v/w
46
47
selection.traceCoordinate = [
48
fromDataScale(pos[0], 'xaxis'),
49
fromDataScale(pos[1], 'yaxis'),
50
fromDataScale(pos[2], 'zaxis'),
51
52
- uu, vv, ww,
53
- Math.sqrt(uu * uu + vv * vv + ww * ww)
+ null, null, null,
+
+ selection.data.intensity * this.data._normMax
54
];
55
56
return true;
0 commit comments