| 92 | } |
| 93 | |
| 94 | void SetFormattedString(int i, const char* resultString) |
| 95 | { |
| 96 | this->Self->TextMappers[i]->SetInput(resultString); |
| 97 | // Find the correct property type |
| 98 | int type = 0; |
| 99 | if (this->TypeArr) |
| 100 | { |
| 101 | type = this->TypeArr->GetValue(i); |
| 102 | } |
| 103 | vtkTextProperty* prop = this->Self->GetLabelTextProperty(type); |
| 104 | if (!prop) |
| 105 | { |
| 106 | prop = this->Self->GetLabelTextProperty(0); |
| 107 | } |
| 108 | this->Self->TextMappers[i]->SetTextProperty(prop); |
| 109 | } |
| 110 | |
| 111 | void operator()(const std::string& FormatString) |
| 112 | { |
nothing calls this directly
no test coverage detected