[vtk-developers] Recent changes

Volpe, Christopher R (CRD) volpecr at crd.ge.com
Tue Feb 13 17:01:32 EST 2001


|> 
|> 	I meant to say:
|> 
|> 	It will not be possible to do
|> 
|> 	fd->SetArray(i, array);
|> 	fd->SetArrayName(i, name);
|> 
|> 	This will be replaced by:
|> 	array->SetName(name);
|> 	fd->AddArray(array);
                   ^^^^^
Ah, ok. Makes much more sense now :-).

|> 
|> 	As for the number of arrays, I did exactly what you recommended:
|> 	SetNumberOfArrays() is now an empty function (for backwards 

Could you make it spit out a warning? Problems resulting from Quiet Changes are often a pain to track
down.

|> 	compatibility). There is a SetMaximumNumberOfArrays(). 
|> 	GetNumberOfArrays() returns the number of "used" arrays (all of
|> 	them non-null, it is not possible to add a null array). There
|> 	is a RemoveArray(name) method, which will remove an array and
|> 	shift the ones with larger indices left. 

Sounds great!

-Chris




More information about the vtk-developers mailing list