[vtkusers] Difference between AddArray, SetScalars, SetVectors

Dominik Szczerba dominik at itis.ethz.ch
Thu Oct 22 15:59:26 EDT 2009


Suppose you have several arrays in one dataset. Clearly you want to say 
at times which one to use for processing (e.g. smoothing image data). 
But as I said, the whole thing bears every sign of desperate backward 
compatibility preserving efforts so you will have to be forgiving.

David Doria wrote:
> On Thu, Oct 22, 2009 at 3:53 PM, Dominik Szczerba <dominik at itis.ethz.ch> wrote:
>> 'Set' sets the current one, 'add' adds to the list you can chose from later.
>> The concept of scalars, vectors and field data (arbitrary arrays) is not
>> fully clear to me, but I usually go for the arrays.
>>
> 
> Now that you said "current", I looked and saw the SetActive* functions
> that I had never seen/used before. Interesting - what is the idea of
> having multiple data sets that you can set one at a time to "active"?
> 
> Can anyone clarify for Dominik and I vectors vs scalars vs arrays?
> 
> Thanks,
> 
> David
> _______________________________________________
> Powered by www.kitware.com
> 
> Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html
> 
> Please keep messages on-topic and check the VTK FAQ at: http://www.vtk.org/Wiki/VTK_FAQ
> 
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
> 




More information about the vtkusers mailing list