[vtkusers] vtkDataArray and SetValue?

Berk Geveci berklist at nycap.rr.com
Fri Oct 18 14:07:28 EDT 2002


Why not use SetComponent or SetTuple ?

On Fri, 2002-10-18 at 13:51, rudi at yeah.co.at wrote:
> Hey!
> 
> Probably someone faced the same problem. Ich want to write a generic class 
> which processes data arrays of any type (VTK_CHAR ... VTK_UNSIGNED_CHAR  ... 
> VTK_WHATEVER). So why not take the abstract superclass and set the right 
> subclass on demand? Well, if you would like to do so, there is one problem: 
> SetValue is implemented in every sublcass but there is no abstract SetValue 
> in vtkDataArray. Has anybody a good idea how to solve my problem?
> 
> Perhaps there is a way I forgot! Thanks in advance!
> 
> Rudi
> _______________________________________________
> This is the private VTK discussion list. 
> Please keep messages on-topic. Check the FAQ at: <http://public.kitware.com/cgi-bin/vtkfaq>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/vtkusers





More information about the vtkusers mailing list