[vtk-developers] vtkDataSetAttributes documentation

David Cole david.cole at kitware.com
Wed Feb 3 14:47:37 EST 2010


It has a default value assignment... you certainly can't remove that part of
it.


On Wed, Feb 3, 2010 at 2:36 PM, David Doria
<daviddoria+vtk at gmail.com<daviddoria%2Bvtk at gmail.com>
> wrote:

> Looking at functions like this:
>
>   // Description:
>   // Initialize point interpolation method.
>   // Note that pd HAS to be the vtkDataSetAttributes object which
>   // will later be used with InterpolatePoint or InterpolateEdge.
>   // ext is no longer used.
>   // If shallowCopyArrays is true, input arrays are copied to the output
>   // instead of new ones being allocated.
>   void InterpolateAllocate(vtkDataSetAttributes* pd, vtkIdType sze=0,
>                            vtkIdType ext=1000)
>
> I'm assuming when they say XYZ is no longer used, it is not removed from
> the declaration for backwards compatibility purposes - is this correct?
>
> Also, should/can it be wrapped in a vtkNotUsed:
>
>   void InterpolateAllocate(vtkDataSetAttributes* pd, vtkIdType sze=0,
>                            vtkIdType vtkNotUsed(ext))
>
> Thanks,
>
> David
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtk-developers
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtk-developers/attachments/20100203/45efb61f/attachment.html>


More information about the vtk-developers mailing list