# how to study the code of paraview ?

**URL:** https://discourse.paraview.org/t/how-to-study-the-code-of-paraview/4559
**Category:** ParaView Support
**Created:** [June 11, 2020, 2:26am UTC](https://discourse.paraview.org/t/how-to-study-the-code-of-paraview/4559 "2020-06-11T02:26:19Z")
**Posts on this page:** 13
**Page:** 1

<div class="post-metadata">

### Author: ![lin](https://discourse.paraview.org/user_avatar/discourse.paraview.org/lin/32/4718_2.png) [@lin](https://discourse.paraview.org/u/lin)
#### Post date: [June 11, 2020, 2:26am UTC](https://discourse.paraview.org/t/how-to-study-the-code-of-paraview/4559/1 "2020-06-11T02:26:19Z")

</div>

I want to know more about paraview, I want to study the code, so, have any suggestions or document ?  
Thank you.

---

<div class="post-metadata">

### Author: ![mwestphal](https://discourse.paraview.org/user_avatar/discourse.paraview.org/mwestphal/32/17_2.png) [@mwestphal](https://discourse.paraview.org/u/mwestphal)
#### Post date: [June 11, 2020, 2:29am UTC](https://discourse.paraview.org/t/how-to-study-the-code-of-paraview/4559/2 "2020-06-11T02:29:20Z")

</div>

Hello and welcome:

The code is here:  
[https://gitlab.kitware.com/paraview/paraview](https://gitlab.kitware.com/paraview/paraview)

The wiki is here:  
[https://www.paraview.org/Wiki/ParaView](https://www.paraview.org/Wiki/ParaView)

The doc is here:  
[https://kitware.github.io/paraview-docs/latest/cxx/](https://kitware.github.io/paraview-docs/latest/cxx/)

ParaView is a big software though, we are you trying to achieve ?

---

<div class="post-metadata">

### Author: ![Yoshino](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/y/bcef8e/32.png) [@Yoshino](https://discourse.paraview.org/u/Yoshino)
#### Post date: [June 11, 2020, 2:39am UTC](https://discourse.paraview.org/t/how-to-study-the-code-of-paraview/4559/3 "2020-06-11T02:39:05Z")

</div>

I suggest you build paraview from source, and then look into the code in IDE, which offers clear hierarchical levels and class connections, like I did. I have been studying this for a long time.

---

<div class="post-metadata">

### Author: ![lin](https://discourse.paraview.org/user_avatar/discourse.paraview.org/lin/32/4718_2.png) [@lin](https://discourse.paraview.org/u/lin)
#### Post date: [June 11, 2020, 3:19am UTC](https://discourse.paraview.org/t/how-to-study-the-code-of-paraview/4559/4 "2020-06-11T03:19:18Z")

</div>

Thanks everyone, I will learn it step by step.

---

<div class="post-metadata">

### Author: ![lin](https://discourse.paraview.org/user_avatar/discourse.paraview.org/lin/32/4718_2.png) [@lin](https://discourse.paraview.org/u/lin)
#### Post date: [June 12, 2020, 10:56am UTC](https://discourse.paraview.org/t/how-to-study-the-code-of-paraview/4559/5 "2020-06-12T10:56:06Z")

</div>

Dear Yoshino, I download the source, and run it in qt, then two errors are throwed, and the process costs about 3 minutes. So, Can i conveniently debug the source in qt ? As i am a developer of paraview.  
Thanks.

---

<div class="post-metadata">

### Author: ![Yoshino](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/y/bcef8e/32.png) [@Yoshino](https://discourse.paraview.org/u/Yoshino)
#### Post date: [June 12, 2020, 12:54pm UTC](https://discourse.paraview.org/t/how-to-study-the-code-of-paraview/4559/6 "2020-06-12T12:54:15Z")

</div>

Well, I think you have to build a paraview project with CMake as [paraview wiki/build and install](link removed, see below) suggests. The errors may result from incompatibility among paraview components(e.g. Python, Qt, CMake). I’m not sure whether paraview source could be directly run on Qt.

---

<div class="post-metadata">

### Author: ![mwestphal](https://discourse.paraview.org/user_avatar/discourse.paraview.org/mwestphal/32/17_2.png) [@mwestphal](https://discourse.paraview.org/u/mwestphal)
#### Post date: [June 19, 2020, 2:35am UTC](https://discourse.paraview.org/t/how-to-study-the-code-of-paraview/4559/7 "2020-06-19T02:35:43Z")

</div>

Please, do not use the wiki, but the build.md instead : [https://gitlab.kitware.com/paraview/paraview/-/blob/master/Documentation/dev/build.md](https://gitlab.kitware.com/paraview/paraview/-/blob/master/Documentation/dev/build.md)

---

<div class="post-metadata">

### Author: ![Yoshino](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/y/bcef8e/32.png) [@Yoshino](https://discourse.paraview.org/u/Yoshino)
#### Post date: [June 20, 2020, 12:15am UTC](https://discourse.paraview.org/t/how-to-study-the-code-of-paraview/4559/8 "2020-06-20T00:15:19Z")

</div>

okay, but why? I followed wiki and it worked for me.

---

<div class="post-metadata">

### Author: ![sharon](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/s/67e7ee/32.png) [@sharon](https://discourse.paraview.org/u/sharon)
#### Post date: [June 20, 2020, 1:26am UTC](https://discourse.paraview.org/t/how-to-study-the-code-of-paraview/4559/9 "2020-06-20T01:26:11Z")

</div>

I think Mathieu want to say the build.md is more updated then wiki which may out of date compare to latest source code

---

<div class="post-metadata">

### Author: ![Yoshino](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/y/bcef8e/32.png) [@Yoshino](https://discourse.paraview.org/u/Yoshino)
#### Post date: [June 20, 2020, 1:31am UTC](https://discourse.paraview.org/t/how-to-study-the-code-of-paraview/4559/10 "2020-06-20T01:31:35Z")

</div>

That makes sense, a lot of modules on wiki has long been deprecated(e.g. plugin-howto) so I have to look into ParaviewPlugin.cmake file for cmake functions.  
But I use paraview 5.7 source and the latest now is 5.8, maybe the Build and Install module still works.

---

<div class="post-metadata">

### Author: ![vryy](https://discourse.paraview.org/user_avatar/discourse.paraview.org/vryy/32/2831_2.png) [@vryy](https://discourse.paraview.org/u/vryy)
#### Post date: [December 31, 2024, 3:15pm UTC](https://discourse.paraview.org/t/how-to-study-the-code-of-paraview/4559/11 "2024-12-31T15:15:25Z")

</div>

I would like to know how paraview embed 3D view and render for VTK objects

---

<div class="post-metadata">

### Author: ![mwestphal](https://discourse.paraview.org/user_avatar/discourse.paraview.org/mwestphal/32/17_2.png) [@mwestphal](https://discourse.paraview.org/u/mwestphal)
#### Post date: [January 3, 2025, 8:42am UTC](https://discourse.paraview.org/t/how-to-study-the-code-of-paraview/4559/12 "2025-01-03T08:42:53Z")

</div>

Please open your own topic for your own questions. In the meantime, the source code of VTK is here: [https://gitlab.kitware.com/vtk/vtk/](https://gitlab.kitware.com/vtk/vtk/)

---

<div class="post-metadata">

### Author: ![mwestphal](https://discourse.paraview.org/user_avatar/discourse.paraview.org/mwestphal/32/17_2.png) [@mwestphal](https://discourse.paraview.org/u/mwestphal)
#### Post date: [January 3, 2025, 8:42am UTC](https://discourse.paraview.org/t/how-to-study-the-code-of-paraview/4559/13 "2025-01-03T08:42:56Z")

</div>


