# Building Module in Slicer

**URL:** <https://discourse.slicer.org/t/building-module-in-slicer/3712>\
**Category:** Development\
**Tags:** augmented-reality, module\
**Created:** [August 8, 2018, 8:14pm UTC](https://discourse.slicer.org/t/building-module-in-slicer/3712 "2018-08-08T20:14:28Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![kamrul079](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/kamrul079/32/2059_2.png) [@kamrul079](https://discourse.slicer.org/u/kamrul079)\
**Post date:** [August 8, 2018, 8:14pm UTC](https://discourse.slicer.org/t/building-module-in-slicer/3712/1 "2018-08-08T20:14:28Z")

</div>

I am developing a 3D slicer module for augmented reality application for the video based navigation system. I had already built slicer 4.8.1 from the source file using Cmake and visual studio 2013 version. I had built slicer.exe file. But after that how to build a module and add up the camera (NDI Polaris)? I don’t know how to do that. Is there any tutorial so that I can do that by myself?

---

<div class="post-metadata">

**Author:** ![Sam\_Horvath](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/sam_horvath/32/3092_2.png) [@Sam\_Horvath](https://discourse.slicer.org/u/Sam_Horvath)\
**Post date:** [August 8, 2018, 8:37pm UTC](https://discourse.slicer.org/t/building-module-in-slicer/3712/2 "2018-08-08T20:37:58Z")

</div>

Here an an intro tutorial for programming python modules: [https://www.slicer.org/wiki/Documentation/Nightly/Training#Slicer4\_Programming\_Tutorial](https://www.slicer.org/wiki/Documentation/Nightly/Training#Slicer4_Programming_Tutorial)

This page has an overview of the different types of modules, with guides for getting started for the different types:  
[https://www.slicer.org/wiki/Documentation/Nightly/Developers/Modules](https://www.slicer.org/wiki/Documentation/Nightly/Developers/Modules)

For connecting to the NDI Polaris, the best approach would be the SlicerOpenIGTLink extension ([https://github.com/openigtlink/SlicerOpenIGTLink](https://github.com/openigtlink/SlicerOpenIGTLink), available in the extension manager) with PLUS Toolkit handling the interaction with the camera ([https://plustoolkit.github.io/](https://plustoolkit.github.io/), [http://perk-software.cs.queensu.ca/plus/doc/nightly/user/DeviceNDI.html](http://perk-software.cs.queensu.ca/plus/doc/nightly/user/DeviceNDI.html))

The SlicerIGT extension ([http://www.slicerigt.org/wp/](http://www.slicerigt.org/wp/)) may also have some good resources, depending on what you are trying to do.
