[vtkusers] Getting the scalar value from vtkPolyData in TCl

Andrew Maclean a.maclean at cas.edu.au
Wed Feb 9 00:49:17 EST 2005


How do I get a scalar out of the vtkPolyData structure using TCL? I have
been doing something like this in C++:

double sc = polyData->GetPointData()->GetScalars()->GetComponent(j,0);

I can't seem to translate this into TCL!

Thanks for any help 


Andrew

___________________________________________
Andrew J. P. Maclean
Centre for Autonomous Systems
The Rose Street Building J04
The University of Sydney  2006  NSW
AUSTRALIA
Ph: +61 2 9351 3283
Fax: +61 2 9351 7474
URL: http://www.cas.edu.au/
___________________________________________





More information about the vtkusers mailing list