[vtkusers] vtkImageData::GetDimensions not setting member variable anymore

Xabi Riobe xabivtk at gmail.com
Thu Nov 12 08:33:52 EST 2015


Hi,

I see in the code of vtkImageData::GetDimensions(int dims[3]) that the
"Dimensions" member variable is not computed anymore since commit
4345f286e7fbffe0d8734ade60824556cb1b3d3d
<https://gitlab.kitware.com/vtk/vtk/commit/4345f286e7fbffe0d8734ade60824556cb1b3d3d>,
for thread safe reasons.

I can understand the reason for this change if it can not be done otherway,
but i think the documentation of the method should be updated, since it is
curently :
"Dimensions are computed from Extents during this call."

It is true for the int *GetDimensions() implementation but not this one
anymore.

Cheers,
Xabi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20151112/ce37d262/attachment.html>


More information about the vtkusers mailing list