Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Todd Kordenbrock
VTK-m
Commits
d55c9afd
Commit
d55c9afd
authored
Aug 29, 2017
by
Matt Larsen
Browse files
fixing cell indices for volume renderer cell locator
parent
93aa6410
Changes
1
Hide whitespace changes
Inline
Side-by-side
vtkm/rendering/raytracing/VolumeRendererStructured.cxx
View file @
d55c9afd
...
...
@@ -279,9 +279,9 @@ public:
if
(
temp
[
0
]
==
vtkm
::
Float32
(
PointDimensions
[
0
]
-
1
))
temp
[
0
]
=
vtkm
::
Float32
(
PointDimensions
[
0
]
-
2
);
if
(
temp
[
1
]
==
vtkm
::
Float32
(
PointDimensions
[
1
]
-
1
))
temp
[
0
]
=
vtkm
::
Float32
(
PointDimensions
[
1
]
-
2
);
temp
[
1
]
=
vtkm
::
Float32
(
PointDimensions
[
1
]
-
2
);
if
(
temp
[
2
]
==
vtkm
::
Float32
(
PointDimensions
[
2
]
-
1
))
temp
[
0
]
=
vtkm
::
Float32
(
PointDimensions
[
2
]
-
2
);
temp
[
2
]
=
vtkm
::
Float32
(
PointDimensions
[
2
]
-
2
);
cell
=
temp
;
invSpacing
=
InvSpacing
;
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment