MCPcopy Create free account
hub / github.com/Kitware/VTK / Select

Method Select

Views/Core/vtkDataRepresentation.cxx:245–259  ·  view source on GitHub ↗

------------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

243
244//------------------------------------------------------------------------------
245void 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//------------------------------------------------------------------------------
262vtkSelection* vtkDataRepresentation::ConvertSelection(

Callers 5

ProcessEventsMethod · 0.45
SelectFunction · 0.45

Calls 3

ConvertSelectionMethod · 0.95
UpdateSelectionMethod · 0.95
DeleteMethod · 0.65

Tested by

no test coverage detected