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

Method UpdateCriticalTimeArray

Filters/Temporal/vtkCriticalTime.cxx:382–399  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

380
381//------------------------------------------------------------------------------
382int vtkCriticalTime::vtkCriticalTimeInternals::UpdateCriticalTimeArray(
383 vtkDataObject* input, vtkDataObject* output)
384{
385 if (input->IsA("vtkDataSet"))
386 {
387 return this->UpdateCriticalTimeArray(
388 vtkDataSet::SafeDownCast(input), vtkDataSet::SafeDownCast(output));
389 }
390
391 if (input->IsA("vtkCompositeDataSet"))
392 {
393 return this->UpdateCriticalTimeArray(
394 vtkCompositeDataSet::SafeDownCast(input), vtkCompositeDataSet::SafeDownCast(output));
395 }
396
397 vtkErrorWithObjectMacro(this->Self, << "Unsupported input type: " << input->GetClassName());
398 return 0;
399}
400
401//------------------------------------------------------------------------------
402int vtkCriticalTime::vtkCriticalTimeInternals::UpdateCriticalTimeArray(

Callers 1

ExecuteMethod · 0.80

Calls 15

GetCriticalTimeArrayMethod · 0.95
IsAMethod · 0.80
ExecuteFunction · 0.50
GetClassNameMethod · 0.45
TakeReferenceMethod · 0.45
NewIteratorMethod · 0.45
InitTraversalMethod · 0.45
IsDoneWithTraversalMethod · 0.45
GoToNextItemMethod · 0.45

Tested by

no test coverage detected