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

Method SetIndexedLabels

Charts/Core/vtkScatterPlotMatrix.cxx:1974–1991  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

1972
1973//------------------------------------------------------------------------------
1974void vtkScatterPlotMatrix::SetIndexedLabels(vtkStringArray* labels)
1975{
1976 if (labels != this->Private->IndexedLabelsArray)
1977 {
1978 this->Private->IndexedLabelsArray = labels;
1979 this->Modified();
1980
1981 if (this->Private->BigChart)
1982 {
1983 vtkPlot* plot = this->Private->BigChart->GetPlot(0);
1984
1985 if (plot)
1986 {
1987 plot->SetIndexedLabels(labels);
1988 }
1989 }
1990 }
1991}
1992
1993//------------------------------------------------------------------------------
1994vtkStringArray* vtkScatterPlotMatrix::GetIndexedLabels() const

Callers 1

SetActivePlotMethod · 0.45

Calls 2

ModifiedMethod · 0.45
GetPlotMethod · 0.45

Tested by

no test coverage detected