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

Method WriteArrayContents

IO/Export/vtkJSONDataSetWriter.cxx:341–351  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

339
340//------------------------------------------------------------------------------
341bool vtkJSONDataSetWriter::WriteArrayContents(vtkDataArray* input, const char* filePath)
342{
343 auto aos = input->ToAOSDataArray();
344 vtkJSONDataSetWriterFunctor functor;
345 if (!vtkArrayDispatch::DispatchByArray<vtkArrayDispatch::AOSArrays>::Execute(
346 aos, functor, this, filePath))
347 {
348 return false;
349 }
350 return true;
351}
352
353//------------------------------------------------------------------------------
354namespace

Callers 2

WriteArrayAsRAWMethod · 0.80
WriteDataMethod · 0.80

Calls 2

ToAOSDataArrayMethod · 0.80
ExecuteFunction · 0.50

Tested by

no test coverage detected