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

Method SetParameter

Filters/Statistics/vtkOrderStatistics.cxx:149–167  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

147
148//------------------------------------------------------------------------------
149bool vtkOrderStatistics::SetParameter(
150 const char* parameter, int vtkNotUsed(index), vtkVariant value)
151{
152 if (!strcmp(parameter, "NumberOfIntervals"))
153 {
154 this->SetNumberOfIntervals(value.ToInt());
155
156 return true;
157 }
158
159 if (!strcmp(parameter, "QuantileDefinition"))
160 {
161 this->SetQuantileDefinition(value.ToInt());
162
163 return true;
164 }
165
166 return false;
167}
168
169//------------------------------------------------------------------------------
170void vtkOrderStatistics::Learn(

Callers

nothing calls this directly

Calls 2

SetQuantileDefinitionMethod · 0.95
ToIntMethod · 0.45

Tested by

no test coverage detected