Where is the vtkContextView header file?

Hi all.

I have a question about vtkContextView.

  • environment
    SDK: VTK 8.9
    IDE: Visual Studio 2015
    OS: Windows 7 x64

I want to run the Line plot sample code.

But the compiler can’t find vtkContextView header file.

I think my generated library files(include, bin, lib) via CMake has no problem, because of other sample code work well.
GitLab link: https://gitlab.kitware.com/vtk/vtk

Could you please help me?

Thank you :slight_smile:

Hi Kim,

The header is in:

Also make sure you enable ViewsContext2D module when you compile VTK.

Hi Dan!

Thank you for your help.

I can make it!

Thank you :slight_smile: