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

Method WriteValues

IO/Geometry/vtkGLTFWriterUtils.cxx:36–44  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

34};
35
36void vtkGLTFWriterUtils::WriteValues(vtkDataArray* ca, ostream& myFile)
37{
38 auto aos = ca->ToAOSDataArray();
39 if (!vtkArrayDispatch::DispatchByArray<vtkArrayDispatch::AOSArrays>::Execute(
40 aos, WriteValuesFunctor{}, myFile))
41 {
42 vtkGenericWarningMacro("Failed to write data array of type " << ca->GetClassName());
43 }
44}
45
46void vtkGLTFWriterUtils::WriteValues(vtkDataArray* ca, vtkBase64OutputStream* ostr)
47{

Callers

nothing calls this directly

Calls 3

ToAOSDataArrayMethod · 0.80
ExecuteFunction · 0.50
GetClassNameMethod · 0.45

Tested by

no test coverage detected