------------------------------------------------------------------------------
| 374 | |
| 375 | //------------------------------------------------------------------------------ |
| 376 | void vtkLegendBoxActor::SetEntry(int i, vtkPolyData* symbol, const char* string, double color[3]) |
| 377 | { |
| 378 | if (i >= 0 && i < this->NumberOfEntries) |
| 379 | { |
| 380 | this->SetEntrySymbol(i, symbol); |
| 381 | this->SetEntryString(i, string); |
| 382 | this->SetEntryColor(i, color); |
| 383 | } |
| 384 | } |
| 385 | |
| 386 | //------------------------------------------------------------------------------ |
| 387 | void vtkLegendBoxActor::SetEntry(int i, vtkImageData* icon, const char* string, double color[3]) |