Skip to content
Snippets Groups Projects
Commit 0f2b56e4 authored by David Gobbi's avatar David Gobbi
Browse files

Prefer GetIncrements(incs) over getting a pointer

The GetIncrements() method calls ComputeIncrements(), and if you do not
supply your own array, then the vtkImageData::Increments ivar is modified
and returned.  This means that the signature of ComputeIncrements() that
returns a pointer is not thread safe.
parent fa53a52d
No related branches found
No related tags found
No related merge requests found
Showing
with 39 additions and 27 deletions
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment