ParaView 源代码分析

首先观察VTK 

1.大多数VTK 对象的基类:vtkObjectBase.

2.vtkObject继续派生自vtkObjectBase

3.vtkCommand,Obsever command 设计模式

paraview 工程是主程序。ParaViewMainWindow 是主窗口,调用pqparaviewInitializer初始化窗口。 

pqparaviewInitializer 初始化pqPVApplicationCore。在pqPVApplicationCore的父类pqApplicationCore中初始化其他所有的东西。

首先分析vtkCommon文件夹下

1. vtkAmoebaMinimizer:通过Amoeba方法找到一个函数的极小值。

2. vtkAnimationCue:

  // vtkAnimationCue and vtkAnimationScene provide the framework to support

  // animations in VTK. vtkAnimationCue represents an entity that changes/
  // animates with time, while vtkAnimationScene represents scene or setup 
  // for the animation, which consists on individual cues or other scenes.

     vtkAnimationScene  继承vtkAnimationCue。 在vtkAnimationScene中定义了一个集合  vtkCollection* AnimationCues 用来保存vtkAnimationCue

原文地址:https://www.cnblogs.com/xavier/p/1830363.html