------------------------------------------------------------------------------
| 335 | |
| 336 | //------------------------------------------------------------------------------ |
| 337 | void vtkLabeledContourMapper::SetTextProperty(vtkTextProperty* tprop) |
| 338 | { |
| 339 | if (this->TextProperties->GetNumberOfItems() != 1 || |
| 340 | this->TextProperties->GetItemAsObject(0) != tprop) |
| 341 | { |
| 342 | this->TextProperties->RemoveAllItems(); |
| 343 | this->TextProperties->AddItem(tprop); |
| 344 | this->Modified(); |
| 345 | } |
| 346 | } |
| 347 | |
| 348 | //------------------------------------------------------------------------------ |
| 349 | void vtkLabeledContourMapper::SetTextProperties(vtkTextPropertyCollection* coll) |
no test coverage detected