[vtkusers] vtkVoidArray changes

Samson Timoner samson at mit.edu
Wed Jul 9 18:26:55 EDT 2003


vtkVoidArray is no longer a subclass of vtkDataArray.
It's interface has changed. Rather than using
GetValue(i), it now uses GetVoidPointer(i).

Any idea why the changes were made?

There is nothing wrong with the new interface, it
just seems very odd to use a different interface to
vtkVoidArray than vtkCharArray, vtkIntArray, etc.

-- Samson

P.S. The relevant cvs entry:

  ----------------------------
  revision 1.53
  date: 2003/07/02 17:19:30;  author: will;  state: Exp;  lines: +38 -108
  ENH:No longer a subclass of vtkDataArray
  ----------------------------

It looks like "will" is responsible for this change.
(I presume Will Schroeder).




More information about the vtkusers mailing list