IN4086P Programming exercise
ParaView includes many filters to work with your data. Sometimes, however, you may want to do something else. In this assignment, you are going to create your own ParaView filter. You can choose from the following assignments:
About filters
As ParaView is built on VTK, a ParaView module is not much more than a normal VTK filter. This means the filter you are about to create can be used without modification in any VTK project. A VTK filter is a C++ class which derives from one of the VTK filter base classes. A number of base classes exist, for the various data types and for special types of processing such as parallel implementations. These base classes already deal with most of the complexities of the VTK pipeline, which means you'll hardly have to implement more than the core processing of your filter.
Have a look at the documentation at http://www.vtk.org/doc/nightly/html/ for more information. In particular, look at the documentation for the base class you are using to base your filter on, and the documentation for the data types you are working with.
Integrating the filter in ParaView is as simple as creating an XML file which describes the filter and its parameters. You can then use CMake (http://www.cmake.org/) to compile the filter code and XML into a plug-in which can be loaded by ParaView.
A note on using Windows
This exercise is intended to be completed on the Linux machines in the lab rooms. It is possible, but not recommended to do the programming exercise using Windows. However, this will require you to build your own version of ParaView from source, after which you can use the same compiler to build your plugins. Instructions can be found here and on the ParaView wiki, but ONLY try this if you know what you're doing and REALLY can't complete the exercise in the lab. There is also a note in the next exercise which you may want to look at before you do this.
