<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:st1="urn:schemas-microsoft-com:office:smarttags" xmlns="http://www.w3.org/TR/REC-html40">

<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=gb2312">


<meta name=ProgId content=Word.Document>
<meta name=Generator content="Microsoft Word 10">
<meta name=Originator content="Microsoft Word 10">
<link rel=File-List href="cid:filelist.xml@01C669DC.3EC494F0">
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
 name="date"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
 name="time"/>
<!--[if gte mso 9]><xml>
 <o:OfficeDocumentSettings>
  <o:DoNotRelyOnCSS/>
 </o:OfficeDocumentSettings>
</xml><![endif]--><!--[if gte mso 9]><xml>
 <w:WordDocument>
  <w:SpellingState>Clean</w:SpellingState>
  <w:GrammarState>Clean</w:GrammarState>
  <w:DocumentKind>DocumentEmail</w:DocumentKind>
  <w:EnvelopeVis/>
  <w:Compatibility>
   <w:UseFELayout/>
  </w:Compatibility>
  <w:BrowserLevel>MicrosoftInternetExplorer4</w:BrowserLevel>
 </w:WordDocument>
</xml><![endif]--><!--[if !mso]>
<style>
st1\:*{behavior:url(#default#ieooui) }
</style>
<![endif]-->
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:宋体;
        panose-1:2 1 6 0 3 1 1 1 1 1;
        mso-font-alt:SimSun;
        mso-font-charset:134;
        mso-generic-font-family:auto;
        mso-font-pitch:variable;
        mso-font-signature:3 135135232 16 0 262145 0;}
@font-face
        {font-family:"\@宋体";
        panose-1:2 1 6 0 3 1 1 1 1 1;
        mso-font-charset:134;
        mso-generic-font-family:auto;
        mso-font-pitch:variable;
        mso-font-signature:3 135135232 16 0 262145 0;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {mso-style-parent:"";
        margin:0cm;
        margin-bottom:.0001pt;
        mso-pagination:widow-orphan;
        font-size:12.0pt;
        font-family:"Times New Roman";
        mso-fareast-font-family:宋体;}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;
        text-underline:single;}
a:visited, span.MsoHyperlinkFollowed
        {color:blue;
        text-decoration:underline;
        text-underline:single;}
span.EmailStyle17
        {mso-style-type:personal-reply;
        mso-style-noshow:yes;
        mso-ansi-font-size:9.0pt;
        mso-bidi-font-size:10.0pt;
        font-family:Arial;
        mso-ascii-font-family:Arial;
        mso-fareast-font-family:宋体;
        mso-hansi-font-family:Arial;
        mso-bidi-font-family:Arial;
        color:navy;}
span.SpellE
        {mso-style-name:"";
        mso-spl-e:yes;}
span.GramE
        {mso-style-name:"";
        mso-gram-e:yes;}
@page Section1
        {size:595.3pt 841.9pt;
        margin:72.0pt 90.0pt 72.0pt 90.0pt;
        mso-header-margin:42.55pt;
        mso-footer-margin:49.6pt;
        mso-paper-source:0;}
div.Section1
        {page:Section1;}
-->
</style>
<!--[if gte mso 10]>
<style>
 /* Style Definitions */ 
 table.MsoNormalTable
        {mso-style-name:普通表格;
        mso-tstyle-rowband-size:0;
        mso-tstyle-colband-size:0;
        mso-style-noshow:yes;
        mso-style-parent:"";
        mso-padding-alt:0cm 5.4pt 0cm 5.4pt;
        mso-para-margin:0cm;
        mso-para-margin-bottom:.0001pt;
        mso-pagination:widow-orphan;
        font-size:10.0pt;
        font-family:"Times New Roman";}
</style>
<![endif]--><!--[if gte mso 9]><xml>
 <o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
 <o:shapelayout v:ext="edit">
  <o:idmap v:ext="edit" data="1" />
 </o:shapelayout></xml><![endif]-->
</head>

<body lang=ZH-CN link=blue vlink=blue style='tab-interval:21.0pt'>

<div class=Section1>

<p class=MsoNormal><font size=1 color=navy face=Arial><span lang=EN-US
style='font-size:9.0pt;mso-bidi-font-size:10.0pt;font-family:Arial;color:navy'>Hi,
</span></font><span lang=EN-US>Amy<o:p></o:p></span></p>

<p class=MsoNormal><font size=1 color=navy face=Arial><span lang=EN-US
style='font-size:9.0pt;mso-bidi-font-size:10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><span class=SpellE><span class=GramE><font size=1
color=navy face=Arial><span lang=EN-US style='font-size:9.0pt;mso-bidi-font-size:
10.0pt;font-family:Arial;color:navy'>aHa</span></font></span></span><font
size=1 color=navy face=Arial><span lang=EN-US style='font-size:9.0pt;
mso-bidi-font-size:10.0pt;font-family:Arial;color:navy'>, </span></font><span
class=SpellE><span lang=EN-US>vtkStructuredGridGeometryFilter</span></span><span
lang=EN-US> works fine.<o:p></o:p></span></p>

<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=EN-US
style='font-size:12.0pt'>Thank you so much.<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=EN-US
style='font-size:12.0pt'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=EN-US
style='font-size:12.0pt'>Peace</span></font><font size=1 color=navy face=Arial><span
lang=EN-US style='font-size:9.0pt;mso-bidi-font-size:10.0pt;font-family:Arial;
color:navy'><o:p></o:p></span></font></p>

<p class=MsoNormal><font size=1 color=navy face=Arial><span lang=EN-US
style='font-size:9.0pt;mso-bidi-font-size:10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal style='margin-left:21.0pt;mso-para-margin-left:1.75gd'><font
size=2 face=宋体><span lang=EN-US style='font-size:10.0pt;font-family:宋体'>-----邮件原件-----<br>
<b><span style='font-weight:bold'>发件人:</span></b> Amy Squillacote
[mailto:amy.squillacote@kitware.com] <br>
<b><span style='font-weight:bold'>发送时间:</span></b> 2006年4月26日 20:13<br>
<b><span style='font-weight:bold'>收件人:</span></b> hp.shen; vtkusers@vtk.org<br>
<b><span style='font-weight:bold'>主题:</span></b> Re: [vtkusers] Can't use
vtkStructuredGridToPolyDataFilter.Why?</span></font></p>

<p class=MsoNormal style='margin-left:21.0pt;mso-para-margin-left:1.75gd'><font
size=3 face="Times New Roman"><span lang=EN-US style='font-size:12.0pt'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal style='margin-left:21.0pt;mso-para-margin-left:1.75gd'><font
size=3 face="Times New Roman"><span lang=EN-US style='font-size:12.0pt'>Hi
Peace,<br>
<br>
vtkStructuredGridToPolyDataFilter is an abstract class; you cannot instantiate
it.&nbsp; The class you're looking for is probably
vtkStructuredGridGeometryFilter (a subclass of either
vtkStructuredGridToPolyDataFilter or vtkPolyDataAlgorithm, depending on which
version of VTK you're using).<br>
<br>
- Amy<br>
<br>
At </span></font><st1:time Hour="1" Minute="54"><span lang=EN-US>01:54 AM</span></st1:time><span
lang=EN-US> </span><st1:date Month="4" Day="26" Year="2006"><span lang=EN-US>4/26/2006</span></st1:date><span
lang=EN-US>, hp.shen wrote:<br style='mso-special-character:line-break'>
<![if !supportLineBreakNewLine]><br style='mso-special-character:line-break'>
<![endif]><o:p></o:p></span></p>

<p class=MsoNormal style='margin-left:21.0pt;mso-para-margin-left:1.75gd'><font
size=2 face="Times New Roman"><span lang=EN-US style='font-size:10.0pt'>Hi, all<br>
&nbsp;<br>
I want to use vtkStructuredGridToPolyDataFilter to convert structuredgrid data
to PolyData in tcl.<br>
Where it doesn’t work. The error says:<br>
“invalid command name “vtkStructuredGridToPolyDataFilter”…”<br>
So may I missed some package , but I don’t know which one.<br>
Could you help me.<br>
&nbsp;<br>
Thanks<br>
Peace<br>
&nbsp;<br>
===========codes:<br>
…<br>
vtkStructuredGrid sgrid<br>
&nbsp; sgrid SetDimensions $M $N 1<br>
&nbsp; sgrid SetPoints points<br>
&nbsp; [sgrid GetPointData] SetScalars faceColors<br>
&nbsp;<br>
vtkStructuredGridToPolyDataFilter s2p<br>
&nbsp;&nbsp;&nbsp; s2p SetInput sgrid<br>
…<br>
</span></font><span lang=EN-US>_______________________________________________<br>
This is the private VTK discussion list. <br>
Please keep messages on-topic. Check the FAQ at: <a
href="http://www.vtk.org/Wiki/VTK_FAQ" eudora=autourl>http://www.vtk.org/Wiki/VTK_FAQ</a><br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.vtk.org/mailman/listinfo/vtkusers" eudora=autourl>http://www.vtk.org/mailman/listinfo/vtkusers</a><o:p></o:p></span></p>

</div>

</body>

</html>