Skip to content
  • Utkarsh Ayachit's avatar
    ENH: Restructuring of Visible cell/point selection. · 46ed2c42
    Utkarsh Ayachit authored
    Deprecating vtkVisibleCellSelector and vtkIdentColoredPainter. It was difficult
    to extend the current implementation to support new mappers that can participate
    in selection.
    
    Added new vtkHardwareSelector (replacement for vtkVisibleCellSelector).
    vtkHardwareSelector works in conjunction with vtkRenderer to perform selection.
    Any mapper that supports selection should return true in GetSupportsSelection().
    Then when rendering opaque geometry, if the mapper sees that
    vtkRender::GetSelector() is non-null, then it takes special steps to render for
    selection. vtkHardwareSelector provide public call-backs BeginRenderProp(),
    EndRenderProp(), RenderAttributeId() which the mapper should use to ensure that
    correct color information is rendered.
    
    To ensure that point selection works correctly ParaView now disables
    MultiSampling altogether. This works around issues with NVidia drivers on linux
    boxes.
    46ed2c42