vtkCoordinate and Coordinate Systems
以下英文介绍内容出自《VTKUsersGuide.pdf》
The Visualization Toolkit supports several different coordinate systems, and the class vtkCoordinate manages transformations between them. The supported coordinate systems are as follows.
- DISPLAY — x-y pixel values in the (rendering) window. (Note that vtkRenderWindow is a subclass of vtkWindow). The origin is the lower-left corner (which is true for all 2D coordinate systems described below).
- NORMALIZED DISPLAY — x-y (0,1) normalized values in the window.
- VIEWPORT — x-y pixel values in the viewport (or renderer—a sub class of vtkViewport)
- NORMALIZED VIEWPORT — x-y(0,1) normalized values in viewport
- VIEW — x-y-z(-1,1) values in camera coordinates (z is depth)
- WORLD — x-y-z global coordinatevalue
- USERDEFINED - x-y-z in user-defined sp

本文介绍了VTK支持的不同坐标系统,包括DISPLAY、NORMALIZED DISPLAY、VIEWPORT、NORMALIZED VIEWPORT、VIEW和WORLD,并详细讲解了坐标转换,特别是在vtkViewport中如何进行世界坐标到Display坐标的转换。通过一个实验展示了转换过程,帮助读者深入理解VTK中的三维坐标系统。

316

被折叠的 条评论
为什么被折叠?



