• 博客园logo
  • 会员
  • 周边
  • 众包
  • 新闻
  • 博问
  • 闪存
  • HarmonyOS
  • Chat2DB
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录
xavier
博客园    首页    新随笔    联系   管理    订阅  订阅

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

 

 

posted @ 2010-09-18 19:43  poorengineer  阅读(2325)  评论(1)    收藏  举报
刷新页面返回顶部
博客园  ©  2004-2025
浙公网安备 33010602011771号 浙ICP备2021040463号-3