hello! I was tring to use vtkLabeledContourMapper to show the contour line and label. But when I run my code, I got a message window shows that “Error must have verts, program and vao”. My code is shown as below.
I knew that there is no OpenGL program when vtk trying to draw the label triangles. But I just don’t know how to fix this. Is there anything else I need to config in the vtkLabeledContourMapper?