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

Method GetBrushLine

Views/Infovis/vtkParallelCoordinatesView.cxx:539–550  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

537
538//------------------------------------------------------------------------------
539void vtkParallelCoordinatesView::GetBrushLine(int line, vtkIdType& npts, vtkIdType const*& ptids)
540{
541 int cellNum = 0;
542 for (this->BrushData->GetLines()->InitTraversal();
543 this->BrushData->GetLines()->GetNextCell(npts, ptids); cellNum++)
544 {
545 if (cellNum == line)
546 {
547 return;
548 }
549 }
550}
551
552void vtkParallelCoordinatesView::Hover(unsigned long eventId)
553{

Callers 1

SelectDataMethod · 0.95

Calls 3

InitTraversalMethod · 0.45
GetLinesMethod · 0.45
GetNextCellMethod · 0.45

Tested by

no test coverage detected