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

Method UpdateSelection

Views/Core/vtkDataRepresentation.cxx:269–277  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

267
268//------------------------------------------------------------------------------
269void vtkDataRepresentation::UpdateSelection(vtkSelection* selection, bool extend)
270{
271 if (extend)
272 {
273 selection->Union(this->AnnotationLinkInternal->GetCurrentSelection());
274 }
275 this->AnnotationLinkInternal->SetCurrentSelection(selection);
276 this->InvokeEvent(vtkCommand::SelectionChangedEvent, reinterpret_cast<void*>(selection));
277}
278
279//------------------------------------------------------------------------------
280void vtkDataRepresentation::Annotate(vtkView* view, vtkAnnotationLayers* annotations, bool extend)

Callers 3

SelectMethod · 0.95
SelectRowsMethod · 0.80
UpdateSelectionFunction · 0.80

Calls 4

InvokeEventMethod · 0.80
UnionMethod · 0.45
GetCurrentSelectionMethod · 0.45
SetCurrentSelectionMethod · 0.45

Tested by

no test coverage detected