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
Christian Butz
VTK
Commits
c48dfc53
Commit
c48dfc53
authored
Jun 15, 2011
by
David Gobbi
Committed by
Kitware Robot
Jun 15, 2011
Browse files
Merge topic 'reslice-mapper-faster'
7deb7908
BUG: Remove timestamp check on quality adjustment.
parents
c02b744a
7deb7908
Changes
1
Show whitespace changes
Inline
Side-by-side
Rendering/vtkImageResliceMapper.cxx
View file @
c48dfc53
...
@@ -120,8 +120,7 @@ void vtkImageResliceMapper::Render(vtkRenderer *ren, vtkImageSlice *prop)
...
@@ -120,8 +120,7 @@ void vtkImageResliceMapper::Render(vtkRenderer *ren, vtkImageSlice *prop)
int
*
isize
=
this
->
GetInput
()
->
GetDimensions
();
int
*
isize
=
this
->
GetInput
()
->
GetDimensions
();
int
maxisize
=
(
isize
[
0
]
>
isize
[
1
]
?
isize
[
0
]
:
isize
[
1
]);
int
maxisize
=
(
isize
[
0
]
>
isize
[
1
]
?
isize
[
0
]
:
isize
[
1
]);
maxisize
=
(
isize
[
2
]
>
maxisize
?
isize
[
2
]
:
maxisize
);
maxisize
=
(
isize
[
2
]
>
maxisize
?
isize
[
2
]
:
maxisize
);
if
(
maxisize
<=
maxrsize
&&
maxisize
<=
1024
&&
if
(
maxisize
<=
maxrsize
&&
maxisize
<=
1024
)
prop
->
GetRedrawMTime
()
>
this
->
SliceMapper
->
LoadTime
)
{
{
this
->
InternalResampleToScreenPixels
=
this
->
InternalResampleToScreenPixels
=
(
prop
->
GetAllocatedRenderTime
()
>=
1.0
);
(
prop
->
GetAllocatedRenderTime
()
>=
1.0
);
...
...
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