------------------------------------------------------------------------------
| 61 | |
| 62 | //------------------------------------------------------------------------------ |
| 63 | void vtkImplicitSum::SetFunctionWeight(vtkImplicitFunction* f, double scale) |
| 64 | { |
| 65 | int loc = this->FunctionList->IndexOfFirstOccurrence(f); |
| 66 | if (loc < 0) |
| 67 | { |
| 68 | vtkWarningMacro("Function not found in function list"); |
| 69 | return; |
| 70 | } |
| 71 | |
| 72 | if (this->Weights->GetValue(loc) != scale) |
| 73 | { |
| 74 | this->Modified(); |
| 75 | this->Weights->SetValue(loc, scale); |
| 76 | this->CalculateTotalWeight(); |
| 77 | } |
| 78 | } |
| 79 | |
| 80 | //------------------------------------------------------------------------------ |
| 81 | void vtkImplicitSum::RemoveAllFunctions() |
nothing calls this directly
no test coverage detected