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

Function to_string

Common/Core/vtkArrayComponents.cxx:232–250  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

230}
231
232std::string to_string(vtkArrayComponents enumerant)
233{
234 switch (enumerant)
235 {
236 case AllComponents:
237 return "all components";
238 case Requested:
239 return "requested";
240 case L1Norm:
241 return "L₁ norm";
242 case L2Norm:
243 return "L₂ norm";
244 case LInfNorm:
245 return "L∞ norm";
246 default:
247 break;
248 }
249 return vtk::to_string(static_cast<int>(enumerant));
250}
251
252vtkSmartPointer<vtkAbstractArray> ComponentOrNormAsArray(vtkAbstractArray* array, int compOrNorm)
253{

Callers 15

handle_string_specifierFunction · 0.70
handle_integer_specifierFunction · 0.70
handle_default_specifierFunction · 0.70
ConvertFunction · 0.70
RegisterStateMethod · 0.70
UnRegisterStateMethod · 0.70
RegisterBlobMethod · 0.70
componentNameFunction · 0.70
ConvertFloatFunction · 0.70
ParseUDMDataMethod · 0.50

Calls

no outgoing calls

Tested by 15

TestXMLHyperTreeGridIOFunction · 0.40
GetActorFunction · 0.40
TestIOSSCatalystExodusFunction · 0.40
RunTestFunction · 0.40
TestPOpenFOAMReaderFunction · 0.40
TestDelimitedTextWriterFunction · 0.40
TestAMReXParticlesReaderFunction · 0.40