# The Python source code of the Transform module

**URL:** <https://discourse.slicer.org/t/the-python-source-code-of-the-transform-module/16256>\
**Category:** Support\
**Tags:** python\
**Created:** [February 27, 2021, 7:36am UTC](https://discourse.slicer.org/t/the-python-source-code-of-the-transform-module/16256 "2021-02-27T07:36:35Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Carl098](https://avatars.discourse-cdn.com/v4/letter/c/8491ac/32.png) [@Carl098](https://discourse.slicer.org/u/Carl098)\
**Post date:** [February 27, 2021, 7:36am UTC](https://discourse.slicer.org/t/the-python-source-code-of-the-transform-module/16256/1 "2021-02-27T07:36:35Z")

</div>

I would like to ask where the Python source code of the Transform module is, and I want to learn it.

---

<div class="post-metadata">

**Author:** ![mau\_igna\_06](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/mau_igna_06/32/9056_2.png) [@mau\_igna\_06](https://discourse.slicer.org/u/mau_igna_06)\
**Post date:** [February 27, 2021, 12:42pm UTC](https://discourse.slicer.org/t/the-python-source-code-of-the-transform-module/16256/2 "2021-02-27T12:42:58Z")

</div>

I think this is the code of the transforms module:

> <https://github.com/Slicer/Slicer/blob/f04a007820f29918810c8a668e8ff79bb963b138/Modules/Loadable/Transforms/qSlicerTransformsModuleWidget.cxx>

Here you have two links that may be useful for you:

> <https://github.com/Slicer/Slicer/blob/08789e8f2224f89206b2d6a49d1d452d4e677994/Libs/MRML/Core/vtkMRMLTransformNode.cxx>

> <https://github.com/Kitware/VTK/blob/master/Common/Transforms/vtkLinearTransform.cxx>

---

<div class="post-metadata">

**Author:** ![lassoan](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/lassoan/32/13_2.png) [@lassoan](https://discourse.slicer.org/u/lassoan)\
**Post date:** [February 27, 2021, 1:30pm UTC](https://discourse.slicer.org/t/the-python-source-code-of-the-transform-module/16256/3 "2021-02-27T13:30:12Z")

</div>

Just to clarify, Transforms module is implemented in C++ and Python-wrapped to make it available in Python. Most core modules and low-level features, processing, and GUI widgets are implemented in C++.
