[vtkusers] How to make "eval plane SetOrigin [[pl3d GetOutput] GetCenter]" work in C++?

liushuyan treestone0 at hotmail.com
Thu Apr 10 09:41:07 EDT 2008


Hi, everyone,
    I am learning to translate vtk into c++ style, and hit some problems.
    Can someone explain how to translate "eval plane SetOrigin [[pl3d GetOutput] GetCenter]"?
    What does the "eval" mean?
 
piece of the source code:
 
vtkPLOT3DReader pl3d    pl3d SetXYZFileName "$VTK_DATA/combxyz.bin"    pl3d SetQFileName "$VTK_DATA/combq.bin"    pl3d SetScalarFunctionNumber 100    pl3d SetVectorFunctionNumber 202    pl3d UpdatevtkPlane plane    eval plane SetOrigin [[pl3d GetOutput] GetCenter]    plane SetNormal -0.287 0 0.9579
_________________________________________________________________
Windows Live Photo gallery 数码相机的超级伴侣,轻松管理和编辑照片,还能制作全景美图!
http://get.live.cn/product/photo.html
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20080410/1ee5fb89/attachment.htm>


More information about the vtkusers mailing list