This is the superclass for all nodes within a VTK scene graph. It contains the API for a node. It supports the essential operations such as graph creation, state storage and traversal. Child classes adapt this to VTK's major rendering classes. Grandchild classes adapt those to for APIs of different rendering libraries.
我从未使用过,但我想vtkViewNode和继承类(f.ex.vtkActorNode)是您需要的:
这些类没有在VTK用户指南中记录,您可以在夜间构建文档中找到它们,以便它们被释放并工作(我确认我在8.0.1版本中有这些类)。您应该查看SetChildren调用来构建图形。不幸的是,vtk中的文件读取器没有加载场景层次结构,因此您需要明确地构建图形或编写自己的读卡器。
相关问题 更多 >
编程相关推荐