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

Method GetCurrentFlatIndex

Common/DataModel/vtkDataObjectTreeIterator.cxx:412–420  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

410
411//------------------------------------------------------------------------------
412unsigned int vtkDataObjectTreeIterator::GetCurrentFlatIndex()
413{
414 if (this->Reverse)
415 {
416 vtkErrorMacro("FlatIndex cannot be obtained when iterating in reverse order.");
417 return 0;
418 }
419 return this->CurrentFlatIndex;
420}
421
422//------------------------------------------------------------------------------
423vtkDataObjectTreeInternals* vtkDataObjectTreeIterator::GetInternals(vtkDataObjectTree* cd)

Callers 15

WriteCompositeDataSetMethod · 0.80
AddPerBlockFieldDataFunction · 0.80
CheckPerBlockFieldDataFunction · 0.80
SetDataSetMethod · 0.80
GetDataSetMethod · 0.80
operator==Method · 0.80
CopyStateMethod · 0.80
AdvanceToMethod · 0.80
GetFlatIndexFunction · 0.80
BlankCellsMethod · 0.80
GetDataSetMethod · 0.80
operator==Method · 0.80

Calls

no outgoing calls

Tested by 10

AddPerBlockFieldDataFunction · 0.64
CheckPerBlockFieldDataFunction · 0.64
TestConfigFunction · 0.64
TestConfigFunction · 0.64
prepareDisplayAttributeFunction · 0.64
prepareDisplayAttributeFunction · 0.64