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

Method SetEntryString

Rendering/Annotation/vtkLegendBoxActor.cxx:453–465  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

451
452//------------------------------------------------------------------------------
453void 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//------------------------------------------------------------------------------
468void vtkLegendBoxActor::SetEntryColor(int i, double color[3])

Callers 8

SetEntryMethod · 0.95
ShallowCopyMethod · 0.95
RenderOpaqueGeometryMethod · 0.80
SetPlotLabelMethod · 0.80
PlaceAxesMethod · 0.80
PlaceAxesMethod · 0.80
PlaceAxesMethod · 0.80
TestXYPlotActorFunction · 0.80

Calls 3

GetInputMethod · 0.45
SetInputMethod · 0.45
ModifiedMethod · 0.45

Tested by 1

TestXYPlotActorFunction · 0.64