<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
FONT-SIZE: 9pt;
FONT-FAMILY:Tahoma
}
</style>
</head>
<body class='hmmessage'>
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 "eval plane SetOrigin [[pl3d GetOutput] GetCenter]"?<BR>
&nbsp;&nbsp;&nbsp; What&nbsp;does the "eval" mean?<BR>
&nbsp;<BR>
piece of the source code:<BR>
&nbsp;<BR>
vtkPLOT3DReader pl3d<BR>&nbsp;&nbsp;&nbsp; pl3d SetXYZFileName "$VTK_DATA/combxyz.bin"<BR>&nbsp;&nbsp;&nbsp; pl3d SetQFileName "$VTK_DATA/combq.bin"<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<BR><br /><hr />使用新一代 Windows Live Messenger 轻松交流和共享! <a href='http://messenger.live.cn/' target='_new'>立即体验!</a></body>
</html>