<div>Hi all, </div>
<div> </div>
<div>I perform several calculations using the vtkArrayCalculator, with PYTHON. </div>
<div>And I noticed that most of the time is spent when I want to add the resulting array to the initial data set.</div>
<div> </div>
<div>I mean : when calling </div>
<blockquote style="MARGIN-RIGHT: 0px" dir="ltr">
<div>InitialDataSet.AddArray( arrayCalculator.GetOutput().GetPointData().GetArray( resultArray ))</div></blockquote>
<div dir="ltr">method of vtkFieldData, the entire resultArray is duplicated... And then it takes around 15 seconds more... </div>
<div dir="ltr"> </div>
<div dir="ltr"> </div>
<div dir="ltr">Is there a way to add an array to an existing field data, without duplicating ? </div>
<div dir="ltr"> </div>
<div dir="ltr">Thanks for help, </div>
<div dir="ltr"> </div>
<div dir="ltr"> </div>
<div dir="ltr"> </div>
<div dir="ltr">A.Marsan</div>