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

Method SetExecutive

Common/ExecutionModel/vtkAlgorithm.cxx:920–937  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

918
919//------------------------------------------------------------------------------
920void vtkAlgorithm::SetExecutive(vtkExecutive* newExecutive)
921{
922 vtkExecutive* oldExecutive = this->Executive;
923 if (newExecutive != oldExecutive)
924 {
925 if (newExecutive)
926 {
927 newExecutive->Register(this);
928 vtkAlgorithmToExecutiveFriendship::SetAlgorithm(newExecutive, this);
929 }
930 this->Executive = newExecutive;
931 if (oldExecutive)
932 {
933 vtkAlgorithmToExecutiveFriendship::SetAlgorithm(oldExecutive, nullptr);
934 oldExecutive->UnRegister(this);
935 }
936 }
937}
938
939//------------------------------------------------------------------------------
940vtkTypeBool vtkAlgorithm::ProcessRequest(

Callers 6

GetExecutiveMethod · 0.95
TestTecplotReaderFunction · 0.80
vtkImageImportMethod · 0.80
mainFunction · 0.80
vtkImageCacheFilterMethod · 0.80
TestSMPPipelineContourFunction · 0.80

Calls 2

RegisterMethod · 0.45
UnRegisterMethod · 0.45

Tested by 2

TestTecplotReaderFunction · 0.64
TestSMPPipelineContourFunction · 0.64