To run the code:
Step1 : Create a folder named flowVisSample
Step2 : Create a build folder inside flowVisSample folder.
Step3 : Copy CMakeLists.txt and flowVisSample.cxx into flowVisSample folder.
Step4 : Configure and generate using CMake by choosing folder destination as flowVisSample and build folder.
Step5 : Open flowVisSample.sln inside build folder using Visual Studio.
Step5 : Copy the code you want to run from code folder and paste inside flowVisSample.cxx.
Step6 : Change the data destination to render the data you want, eg: "../data/carotid.vtk".
Step7 : To run the code, right click on the flowVisSample in the Solution Explorer and click Debug->Start New Instance.