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

Method GetRedrawMTime

Rendering/Core/vtkActor.cxx:492–511  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

490
491//------------------------------------------------------------------------------
492vtkMTimeType vtkActor::GetRedrawMTime()
493{
494 vtkMTimeType mTime = this->GetMTime();
495 vtkMTimeType time;
496
497 vtkMapper* myMapper = this->GetMapper();
498 if (myMapper != nullptr)
499 {
500 time = myMapper->GetMTime();
501 mTime = (time > mTime ? time : mTime);
502 if (myMapper->GetNumberOfInputPorts() > 0 && myMapper->GetInput() != nullptr)
503 {
504 myMapper->GetInputAlgorithm()->Update();
505 time = myMapper->GetInput()->GetMTime();
506 mTime = (time > mTime ? time : mTime);
507 }
508 }
509
510 return mTime;
511}
512
513//------------------------------------------------------------------------------
514void vtkActor::PrintSelf(ostream& os, vtkIndent indent)

Callers 4

parseActor2DMethod · 0.45
parseActorMethod · 0.45
RenderMethod · 0.45
RenderMethod · 0.45

Calls 6

GetMTimeMethod · 0.95
GetMapperMethod · 0.80
GetNumberOfInputPortsMethod · 0.45
GetInputMethod · 0.45
UpdateMethod · 0.45
GetInputAlgorithmMethod · 0.45

Tested by

no test coverage detected