How to realize this feature in VTK

In OpenGL, it set GL_DEPTH_TEST, it is easy to realize, but I haven’t found the method in VTK