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

Method GetProcessEvents

Interaction/Widgets/vtkBorderWidget.cxx:312–330  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

310
311//------------------------------------------------------------------------------
312vtkTypeBool vtkBorderWidget::GetProcessEvents()
313{
314 auto representation = this->GetRepresentation();
315 if (representation)
316 {
317 auto borderRepresentation = vtkBorderRepresentation::SafeDownCast(representation);
318 if (borderRepresentation)
319 {
320 bool isRelativeLocation =
321 borderRepresentation->GetWindowLocation() != vtkBorderRepresentation::AnyLocation;
322
323 if (isRelativeLocation)
324 {
325 return false;
326 }
327 }
328 }
329 return this->Superclass::GetProcessEvents();
330}
331
332//------------------------------------------------------------------------------
333void vtkBorderWidget::PrintSelf(ostream& os, vtkIndent indent)

Callers 5

ProcessEventsHandlerMethod · 0.45
ProcessEventsHandlerMethod · 0.45
ProcessEventsHandlerMethod · 0.45
ProcessEventsHandlerMethod · 0.45

Calls 1

GetRepresentationMethod · 0.80

Tested by

no test coverage detected