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
Andrew Bauer
VTK
Commits
aab715d1
Commit
aab715d1
authored
Apr 03, 1997
by
Ken Martin
Browse files
BUG fixed MarkPoint wasnt working for translated actors etc
parent
47b622cb
Changes
1
Hide whitespace changes
Inline
Side-by-side
graphics/vtkPicker.cxx
View file @
aab715d1
...
...
@@ -224,6 +224,7 @@ int vtkPicker::Pick(float selectionX, float selectionY, float selectionZ,
// transformed to actors coordinates! Reduces overall computation!!!).
//
actors
=
renderer
->
GetActors
();
this
->
Transform
.
PostMultiply
();
for
(
actors
->
InitTraversal
();
(
actor
=
actors
->
GetNextItem
());
)
{
for
(
actor
->
InitPartTraversal
();
(
part
=
actor
->
GetNextPart
());
)
...
...
@@ -241,7 +242,6 @@ int vtkPicker::Pick(float selectionX, float selectionY, float selectionZ,
{
this
->
Transform
.
SetMatrix
(
part
->
vtkProp
::
GetMatrix
());
this
->
Transform
.
Push
();
this
->
Transform
.
Transpose
();
this
->
Transform
.
Inverse
();
this
->
Transform
.
SetPoint
(
p1World
);
...
...
Write
Preview
Markdown
is supported
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