------------------------------------------------------------------------------
| 905 | |
| 906 | //------------------------------------------------------------------------------ |
| 907 | vtkExecutive* vtkAlgorithm::GetExecutive() |
| 908 | { |
| 909 | // Create the default executive if we do not have one already. |
| 910 | if (!this->HasExecutive()) |
| 911 | { |
| 912 | vtkExecutive* e = this->CreateDefaultExecutive(); |
| 913 | this->SetExecutive(e); |
| 914 | e->Delete(); |
| 915 | } |
| 916 | return this->Executive; |
| 917 | } |
| 918 | |
| 919 | //------------------------------------------------------------------------------ |
| 920 | void vtkAlgorithm::SetExecutive(vtkExecutive* newExecutive) |