MCPcopy Create free account
hub / github.com/Kitware/VTK / operator()

Method operator()

Testing/Core/vtkTestUtilities.cxx:434–462  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

432 }
433
434 void operator()(vtkIdType begin, vtkIdType end)
435 {
436 if (this->Processor.GetAbort())
437 {
438 return;
439 }
440
441 switch (this->Array1->GetNumberOfComponents())
442 {
443 case 1:
444 this->Impl<1>(begin, end); // Scalar
445 break;
446 case 2:
447 this->Impl<2>(begin, end); // 2D vector
448 break;
449 case 3:
450 this->Impl<3>(begin, end); // 3D vector
451 break;
452 case 4:
453 this->Impl<4>(begin, end); // Quaternion
454 break;
455 case 9:
456 this->Impl<9>(begin, end); // 3x3 matrix
457 break;
458 default:
459 this->Impl<vtkMath::DYNAMIC_VECTOR_SIZE()>(begin, end);
460 break;
461 }
462 }
463
464 template <int N>
465 void Impl(vtkIdType begin, vtkIdType end)

Callers

nothing calls this directly

Calls 2

GetAbortMethod · 0.80
GetNumberOfComponentsMethod · 0.45

Tested by

no test coverage detected