[vtkusers] vtkDataSetAttributes problem

Frable zemitis.janis at inbox.lv
Tue Oct 4 10:39:48 EDT 2011


Thanks David, that does make sense now. 

Still, then there is the problem of determination what AttributeType the
other arrays are.
The first idea that popped into mind would be to activate them one after
another via the array index and read the type then. However that is not
possible due to the fact that for activation both SetActiveAttribute
functions require me to know the type already.
Any advice on how to approach that? 
Atm. it seems that the easiest way would be to access the vtk-file directly
and compare the declaration before the array name with the various types.
Should work fairly well if the creators of those files follow the proper
syntax. 
Tough,despite being new to programming I have a hunch that in this case the
easy way might not be the best?

Either way, thanks a lot for your help and will familiarize myself with some
basics of picture arrays,etc. during the next days. Hopefully via that I
will gain a better understanding of these things,what I actually need and
what I can skip.

All the best,
Frable

--
View this message in context: http://vtk.1045678.n5.nabble.com/vtkDataSetAttributes-problem-tp4868353p4868842.html
Sent from the VTK - Users mailing list archive at Nabble.com.



More information about the vtkusers mailing list