MCPcopy Create free account
hub / github.com/Kitware/VTK / SetEntry

Method SetEntry

Rendering/Annotation/vtkLegendBoxActor.cxx:376–384  ·  view source on GitHub ↗

------------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

374
375//------------------------------------------------------------------------------
376void 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//------------------------------------------------------------------------------
387void vtkLegendBoxActor::SetEntry(int i, vtkImageData* icon, const char* string, double color[3])

Callers 2

TestLegendBoxActor2Function · 0.80
TestLegendBoxActorFunction · 0.80

Calls 4

SetEntrySymbolMethod · 0.95
SetEntryStringMethod · 0.95
SetEntryColorMethod · 0.95
SetEntryIconMethod · 0.95

Tested by 2

TestLegendBoxActor2Function · 0.64
TestLegendBoxActorFunction · 0.64