Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
9.2.2023: Due to updates GitLab will be unavailable for some minutes between 9:00 and 11:00.
Open sidebar
CAMP
campvis-public
Commits
f56d63f0
Commit
f56d63f0
authored
Oct 11, 2013
by
Christian Schulte zu Berge
Browse files
closed Issue #15.
parent
8579028e
Changes
2
Hide whitespace changes
Inline
Side-by-side
core/eventhandlers/transfuncwindowingeventlistener.cpp
View file @
f56d63f0
...
...
@@ -82,6 +82,10 @@ namespace campvis {
newIntesityDomain
.
x
-=
offset
;
newIntesityDomain
.
y
+=
offset
;
// triple-check for rock solid safety ;)
if
(
newIntesityDomain
.
x
>
newIntesityDomain
.
y
)
std
::
swap
(
newIntesityDomain
.
x
,
newIntesityDomain
.
y
);
_prop
->
getTF
()
->
setIntensityDomain
(
tgt
::
clamp
(
newIntesityDomain
,
tgt
::
vec2
(
0.
f
),
tgt
::
vec2
(
1.
f
)));
e
->
ignore
();
}
...
...
modules/opencl/pipelines/openclpipeline.cpp
View file @
f56d63f0
...
...
@@ -30,8 +30,6 @@
#include
"openclpipeline.h"
#include
"tgt/event/keyevent.h"
#include
"tgt/glcontext.h"
#include
"tgt/qt/qtcontextmanager.h"
#include
"core/datastructures/imagedata.h"
#include
"core/datastructures/genericimagerepresentationlocal.h"
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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