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

Method Query

Common/DataModel/vtkCellGrid.cxx:710–734  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

708}
709
710bool vtkCellGrid::Query(vtkCellGridQuery* query)
711{
712 if (!query)
713 {
714 return false;
715 }
716
717 bool ok = true;
718 if (!query->Initialize())
719 {
720 ok = false;
721 return ok;
722 }
723 do
724 {
725 query->StartPass();
726 for (const auto& cellType : this->Cells)
727 {
728 ok &= cellType.second->Query(query);
729 }
730 } while (query->IsAnotherPassRequired());
731 bool didFinalize = query->Finalize();
732 ok &= didFinalize;
733 return ok;
734}
735
736void vtkCellGrid::SetSchema(vtkStringToken name, vtkTypeUInt32 version)
737{

Callers 6

ComputeBoundsInternalMethod · 0.95
ComputeRangeInternalMethod · 0.95
ShallowCopyMethod · 0.45
DeepCopyMethod · 0.45
CopyStructureMethod · 0.45
EvaluateQueryFunction · 0.45

Calls 4

InitializeMethod · 0.45
StartPassMethod · 0.45
IsAnotherPassRequiredMethod · 0.45
FinalizeMethod · 0.45

Tested by

no test coverage detected