[vtkusers] Can't use vtkStructuredGridToPolyDataFilter.Why?

hp.shen hp.shen at ansys.com.cn
Wed Apr 26 01:54:19 EDT 2006


Hi, all
 
I want to use vtkStructuredGridToPolyDataFilter to convert
structuredgrid data to PolyData in tcl.
Where it doesn't work. The error says:
"invalid command name "vtkStructuredGridToPolyDataFilter"."
So may I missed some package , but I don't know which one.
Could you help me.
 
Thanks
Peace
 
===========codes:
.
vtkStructuredGrid sgrid
  sgrid SetDimensions $M $N 1
  sgrid SetPoints points
  [sgrid GetPointData] SetScalars faceColors
 
vtkStructuredGridToPolyDataFilter s2p
    s2p SetInput sgrid
.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20060426/18e8a42a/attachment.htm>


More information about the vtkusers mailing list