VTK/VTK 6 Migration/Removal of CopyInformation

From KitwarePublic
Jump to navigationJump to search

Removal of CopyInformation and CopyTypeSpecificInformation from vtkDataObject and vtkImageData

VTK 6 introduces a number of backwards-incompatible changes. The reasons behind these changes are described in more detail here. One of these changes is the removal of all pipeline related methods from vtkDataObject. Among these are CopyInformation() and CopyTypeSpecificInformation(). These functions were implemented to support pipeline execution. Their functionality was moved into executives. If you were using these functions in your own subclass of vtkDataObject, currently the only way to maintain the same functionality is to change one of the executive classes. In the future, we will add a more flexible mechanism for managing type specific meta-data in the pipeline.