[vtk-developers] Recent changes

Berk Geveci berk.geveci at kitware.com
Tue Feb 13 15:26:45 EST 2001


	There will be some changes:
	1) vtkAttributeDataToFieldDataFilter and 
	vtkDataSetToDataObjectFilter will change,
	2) The field data methods for adding/setting arrays will change. 
	It will not be possible to do 

	fd->SetField(i, array);
	fd->SetFieldName(i, name);

	This will be replaced by:
	array->SetName(name);
	fd->AddArray(name);

	I am moving attribute data (scalars, vector etc...) into field data. 
	This  is why it will not be possible to set arrays with indices 
	(otherwise, there  is the danger of overwriting attributes
unknowingly).
	
	There will be no need for vtkAttributeDataToFieldDataFilter because
	all the attributes will already be stored in the field.

	Let me know if I can clarify anything. 
	(I will also write documentation to facilitate the change)

	Berk


"Volpe, Christopher R (CRD)" wrote:
> 
> What impact will these changes have? I have a direct subclass of vtkDataObject which, except for a
> few subclass-specific ivars, uses the field data component of DataObject exclusively. Is anything
> going to break?
> 
> thanks,
> 
> Chris
> > g GE Corporate Research & Development
> > ______________________________________________________________________





More information about the vtk-developers mailing list