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

Method GetIndiceEntry

Common/DataModel/vtkHyperTreeGridNonOrientedSuperCursor.cxx:523–536  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

521//------------------------------------------------------------------------------
522
523unsigned int vtkHyperTreeGridNonOrientedSuperCursor::GetIndiceEntry(unsigned int icursor)
524{
525 assert("pre: icursor != IndiceCentralCursor" && icursor != this->IndiceCentralCursor);
526 assert("pre: valid_icursor" && icursor < this->NumberOfCursors);
527
528 const long refId = icursor > this->IndiceCentralCursor
529 ? this->FirstCurrentNeighboorReferenceEntry + icursor - 1
530 : this->FirstCurrentNeighboorReferenceEntry + icursor;
531
532 assert("pre: valid_icursor" && 0 <= refId && refId < long(this->ReferenceEntries.size()));
533 assert("pre: valid_icursor" && this->ReferenceEntries[refId] < this->Entries.size());
534
535 return this->ReferenceEntries[refId];
536}
537
538//------------------------------------------------------------------------------
539

Callers 15

HasTreeMethod · 0.95
GetTreeMethod · 0.95
GetVertexIdMethod · 0.95
GetGlobalNodeIndexMethod · 0.95
GetInformationMethod · 0.95
GetOriginMethod · 0.95
GetBoundsMethod · 0.95
GetPointMethod · 0.95
SetMaskMethod · 0.95
IsMaskedMethod · 0.95
IsLeafMethod · 0.95
GetLevelMethod · 0.95

Calls 2

assertFunction · 0.50
sizeMethod · 0.45

Tested by

no test coverage detected