[vtk-developers] vtkDataSetAttributes documentation

David Doria daviddoria+vtk at gmail.com
Wed Feb 3 14:36:20 EST 2010


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtk-developers/attachments/20100203/aae909df/attachment.html>


More information about the vtk-developers mailing list