Vtk renderer access from within the filter

Hello!

In vtk standard examples it is possible to select objects through a pattern like this

    vtkNew<vtkRenderer> renderer;
    vtkNew<vtkRenderWindow> renderWindow;
    renderWindow->AddRenderer(renderer);

    vtkNew<vtkPolyDataMapper> mapper2;
    vtkNew<vtkActor> actor2;

    actor2->SetMapper(mapper2);
    actor2->GetProperty()->SetPointSize(5);

    renderer->AddActor(actor2);

    vtkNew<vtkPoints> points;
    points->InsertNextPoint(0, 0, 0);

    vtkNew<vtkVertex> vertex;
    vertex->GetPointIds()->SetId(0, 0);

    vtkNew<vtkCellArray> vertices;
    vertices->InsertNextCell(vertex);

    vtkNew<vtkPolyData> polydata;
    polydata->SetPoints(points);
    polydata->SetVerts(vertices);

How to access renderer object from within a Paraview Filter!?

Thank you