------------------------------------------------------------------------------
| 407 | |
| 408 | //------------------------------------------------------------------------------ |
| 409 | void vtkLegendBoxActor::SetEntrySymbol(int i, vtkPolyData* symbol) |
| 410 | { |
| 411 | if (i >= 0 && i < this->NumberOfEntries) |
| 412 | { |
| 413 | if (this->Symbol[i] == symbol) |
| 414 | { |
| 415 | return; |
| 416 | } |
| 417 | if (this->Symbol[i]) |
| 418 | { |
| 419 | this->Symbol[i]->Delete(); |
| 420 | } |
| 421 | this->Symbol[i] = symbol; |
| 422 | if (this->Symbol[i]) |
| 423 | { |
| 424 | this->Symbol[i]->Register(this); |
| 425 | } |
| 426 | this->Modified(); |
| 427 | } |
| 428 | } |
| 429 | |
| 430 | //------------------------------------------------------------------------------ |
| 431 | void vtkLegendBoxActor::SetEntryIcon(int i, vtkImageData* icon) |
no test coverage detected