------------------------------------------------------------------------------
| 451 | |
| 452 | //------------------------------------------------------------------------------ |
| 453 | void vtkLegendBoxActor::SetEntryString(int i, const char* string) |
| 454 | { |
| 455 | if (i >= 0 && i < this->NumberOfEntries) |
| 456 | { |
| 457 | if (this->TextMapper[i]->GetInput() && string && |
| 458 | (!strcmp(this->TextMapper[i]->GetInput(), string))) |
| 459 | { |
| 460 | return; |
| 461 | } |
| 462 | this->TextMapper[i]->SetInput(string); |
| 463 | this->Modified(); |
| 464 | } |
| 465 | } |
| 466 | |
| 467 | //------------------------------------------------------------------------------ |
| 468 | void vtkLegendBoxActor::SetEntryColor(int i, double color[3]) |