How to include VTK libraries into my project
I have already installed VTK and ITK on my machine (linux). Now, I am trying to read a nifti image, so I used a code to read it. I have to include some VTK libraries in the beginning like:
#include vtkImageData.h
#include vtkMetaImageReader.h
#include vtkSmartPointer.h
#include vtkInteractorStyleImage.h
#include vtkRenderer.h
#include vtkImageActor.h
#include vtkImageMapper3D.h
#include vtkImageReader.h
#include vtkRenderWindow.h
I need to use this class: vtkSmartPointer mMetaReader = vtkSmartPointer::New();
Still, they are unresolved. Although, I have run "cmake" in project directory, and I have specified VTK path.
Any help is very appreciated. Thank you!