Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
CAMP
campvis-public
Commits
3aaf715a
Commit
3aaf715a
authored
Jul 31, 2014
by
Cristina Precup
Browse files
corrected Y coordinates for render size
parent
3b2492a9
Changes
1
Hide whitespace changes
Inline
Side-by-side
modules/vis/processors/volumeexplorer.cpp
View file @
3aaf715a
...
...
@@ -339,7 +339,7 @@ namespace campvis {
else
if
(
me
->
y
()
<=
2
*
p_sliceRenderSize
.
getValue
().
y
)
{
_sliceExtractor
.
p_sliceOrientation
.
selectByOption
(
SliceExtractor
::
XZ_PLANE
);
tgt
::
MouseEvent
adjustedMe
(
me
->
x
(),
me
->
y
()
-
p_sliceRenderSize
.
getValue
().
x
,
me
->
x
(),
me
->
y
()
-
p_sliceRenderSize
.
getValue
().
y
,
me
->
action
(),
me
->
modifiers
(),
me
->
button
(),
p_sliceRenderSize
.
getValue
()
);
...
...
@@ -348,7 +348,7 @@ namespace campvis {
else
{
_sliceExtractor
.
p_sliceOrientation
.
selectByOption
(
SliceExtractor
::
YZ_PLANE
);
tgt
::
MouseEvent
adjustedMe
(
me
->
x
(),
me
->
y
()
-
(
2
*
p_sliceRenderSize
.
getValue
().
x
),
me
->
x
(),
me
->
y
()
-
(
2
*
p_sliceRenderSize
.
getValue
().
y
),
me
->
action
(),
me
->
modifiers
(),
me
->
button
(),
p_sliceRenderSize
.
getValue
()
);
...
...
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