------------------------------------------------------------------------------
| 243 | |
| 244 | //------------------------------------------------------------------------------ |
| 245 | void vtkDataRepresentation::Select(vtkView* view, vtkSelection* selection, bool extend) |
| 246 | { |
| 247 | if (this->Selectable) |
| 248 | { |
| 249 | vtkSelection* converted = this->ConvertSelection(view, selection); |
| 250 | if (converted) |
| 251 | { |
| 252 | this->UpdateSelection(converted, extend); |
| 253 | if (converted != selection) |
| 254 | { |
| 255 | converted->Delete(); |
| 256 | } |
| 257 | } |
| 258 | } |
| 259 | } |
| 260 | |
| 261 | //------------------------------------------------------------------------------ |
| 262 | vtkSelection* vtkDataRepresentation::ConvertSelection( |
no test coverage detected