[vtkusers] vtkpolydata + scalars

Giancarlo Amati amati at ira.cnr.it
Mon May 27 11:19:57 EDT 2002


Hi Gowri, I had the same problems and I solved that looking at  vtkScalars 
example at the vtk web site.

Bye

Giancarlo



On Mon, 27 May 2002, Gopalakrishnan, Gowri wrote:

>  I use vtkPolyData -> GetPointData->SetScalars() to set the scalars and
> 
> And when I do the 
> 
> ->GetPointData->GetScalars - the vtkscalars I get is always null. I noticed
> two postings on this before without any answers.
> 
> Does any one have an idea how to extract the scalars?. Where are these
> scalars stored when you do ->GetPointData->SetScalars?
> 
>  
> 
> Regards
> 
> Gowri
> 
>  
> 
>  
> 
>  
> 
>             
> 
>  
> 
>  
> 
> 

-- 
----------------------------------------
dott. Giancarlo Amati                  |
(amati at ira.cnr.it)                     |
                                       |
National Research Council              |
RadioAstronomical Institute            |
office phone n. +39 051 6399405        |
via Gobetti 101 - Bologna (Italy)      |
----------------------------------------




More information about the vtkusers mailing list