[vtkusers] [vtk-developers] vtkImageData::GetDimensions not setting member variable anymore

Cory Quammen cory.quammen at kitware.com
Thu Nov 12 08:48:12 EST 2015


That sounds reasonable to me.

On Thu, Nov 12, 2015 at 8:33 AM, Xabi Riobe <xabivtk at gmail.com> wrote:

> 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
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Search the list archives at: http://markmail.org/search/?q=vtk-developers
>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/vtk-developers
>
>
>


-- 
Cory Quammen
R&D Engineer
Kitware, Inc.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20151112/9879eca2/attachment.html>


More information about the vtkusers mailing list