Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
CAMP
campvis-public
Commits
dc1b0b16
Commit
dc1b0b16
authored
Dec 17, 2014
by
Christian Schulte zu Berge
Browse files
Fixed references to deprecated/removed GenericImageReader methods.
parent
bfe64b61
Changes
1
Hide whitespace changes
Inline
Side-by-side
modules/microscopysegmentation/pipelines/microscopyimagesegmentationdemo.cpp
View file @
dc1b0b16
...
...
@@ -57,7 +57,7 @@ namespace campvis {
_ve
.
p_outputImage
.
setValue
(
"mscopy"
);
_renderTargetID
.
setValue
(
"mscopy"
);
_imageReader
.
setURL
(
CAMPVIS_SOURCE_DIR
"/../lymph/LymphP1_0086.tif"
);
_imageReader
.
p_url
.
setValue
(
CAMPVIS_SOURCE_DIR
"/../lymph/LymphP1_0086.tif"
);
MetaProperty
*
metaProp
=
dynamic_cast
<
MetaProperty
*>
(
_imageReader
.
getProperty
(
"DevilImageReaderMetaProp"
));
cgtAssert
(
nullptr
!=
metaProp
,
"This should not happen."
);
BoolProperty
*
bp
=
dynamic_cast
<
BoolProperty
*>
(
metaProp
->
getProperty
(
"ImportSimilar"
));
...
...
@@ -67,8 +67,8 @@ namespace campvis {
if
(
GenericOptionProperty
<
std
::
string
>*
tester
=
dynamic_cast
<
GenericOptionProperty
<
std
::
string
>*>
(
_imageReader
.
getNestedProperty
(
"DevilImageReaderMetaProp::ImportType"
)))
tester
->
selectById
(
"localIntensity3"
);
_imageReader
.
setT
argetImageI
d
(
"mscopy.output"
);
_imageReader
.
setT
argetImageIdSharedProperty
(
&
_ve
.
p_inputVolume
);
_imageReader
.
p_t
argetImageI
D
.
setValue
(
"mscopy.output"
);
_imageReader
.
p_t
argetImageI
D
.
ad
dSharedProperty
(
&
_ve
.
p_inputVolume
);
Geometry1DTransferFunction
*
dvrTF
=
new
Geometry1DTransferFunction
(
128
,
cgt
::
vec2
(
0.
f
,
.05
f
));
dvrTF
->
addGeometry
(
TFGeometry1D
::
createQuad
(
cgt
::
vec2
(
.12
f
,
.15
f
),
cgt
::
col4
(
85
,
0
,
0
,
128
),
cgt
::
col4
(
255
,
0
,
0
,
128
)));
...
...
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