<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=utf-8">
<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:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">

<head>

<meta name=Generator content="Microsoft Word 12 (filtered medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]-->
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:SimSun;
        panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:"\@SimSun";
        panose-1:2 1 6 0 3 1 1 1 1 1;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:SimSun;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p
        {mso-style-priority:99;
        mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:12.0pt;
        font-family:SimSun;}
span.EmailStyle18
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page Section1
        {size:612.0pt 792.0pt;
        margin:70.85pt 70.85pt 70.85pt 70.85pt;}
div.Section1
        {page:Section1;}
-->
</style>
<!--[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=FR link=blue vlink=purple>

<div class=Section1>

<p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>plane-&gt;SetOrigin(pl3d-&gt;GetOutput()-&gt;GetCenter())&nbsp;;<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<div style='border:none;border-left:solid blue 1.5pt;padding:0cm 0cm 0cm 4.0pt'>

<div>

<div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm'>

<p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>De&nbsp;:</span></b><span
style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> vtkusers-bounces@vtk.org
[mailto:vtkusers-bounces@vtk.org] <b>De la part de</b> liushuyan<br>
<b>Envoyé&nbsp;:</b> jeudi 10 avril 2008 15:41<br>
<b>&Agrave;&nbsp;:</b> vtkusers@vtk.org<br>
<b>Objet&nbsp;:</b> [vtkusers] How to make &quot;eval plane SetOrigin [[pl3d
GetOutput] GetCenter]&quot; work in C++?<o:p></o:p></span></p>

</div>

</div>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

<p class=MsoNormal style='margin-bottom:12.0pt'><span style='font-size:9.0pt;
font-family:"Tahoma","sans-serif"'>Hi, everyone,<br>
&nbsp;&nbsp;&nbsp; I am learning to translate vtk into c++ style, and hit some
problems.<br>
&nbsp;&nbsp;&nbsp; Can someone explain how to translate &quot;eval plane
SetOrigin [[pl3d GetOutput] GetCenter]&quot;?<br>
&nbsp;&nbsp;&nbsp; What&nbsp;does the &quot;eval&quot; mean?<br>
&nbsp;<br>
piece of the source code:<br>
&nbsp;<br>
vtkPLOT3DReader pl3d<br>
&nbsp;&nbsp;&nbsp; pl3d SetXYZFileName &quot;$VTK_DATA/combxyz.bin&quot;<br>
&nbsp;&nbsp;&nbsp; pl3d SetQFileName &quot;$VTK_DATA/combq.bin&quot;<br>
&nbsp;&nbsp;&nbsp; pl3d SetScalarFunctionNumber 100<br>
&nbsp;&nbsp;&nbsp; pl3d SetVectorFunctionNumber 202<br>
&nbsp;&nbsp;&nbsp; pl3d Update<br>
vtkPlane plane<br>
&nbsp;&nbsp;&nbsp; eval plane SetOrigin [[pl3d GetOutput] GetCenter]<br>
&nbsp;&nbsp;&nbsp; plane SetNormal -0.287 0 0.9579<o:p></o:p></span></p>

<div class=MsoNormal align=center style='text-align:center'><span
style='font-size:9.0pt;font-family:"Tahoma","sans-serif"'>

<hr size=2 width="100%" align=center>

</span></div>

<p class=MsoNormal><span lang=ZH-CN style='font-size:9.0pt'>使用新一代</span><span
style='font-size:9.0pt;font-family:"Tahoma","sans-serif"'> Windows Live
Messenger </span><span lang=ZH-CN style='font-size:9.0pt'>轻松交流和共享!</span><span
lang=ZH-CN style='font-size:9.0pt;font-family:"Tahoma","sans-serif"'> </span><span
style='font-size:9.0pt;font-family:"Tahoma","sans-serif"'><a
href="http://messenger.live.cn/" target="_new"><span lang=ZH-CN
style='font-family:SimSun'>立即体验!</span></a><o:p></o:p></span></p>

</div>

</div>

</body>

</html>