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

Method WriteValues

IO/MINC/vtkMNIObjectWriter.cxx:250–260  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

248};
249
250int vtkMNIObjectWriter::WriteValues(vtkDataArray* array)
251{
252 auto aos = array->ToAOSDataArray();
253 vtkMNIObjectWriterFunctor functor;
254 if (!vtkArrayDispatch::DispatchByArray<vtkArrayDispatch::AOSArrays>::Execute(aos, functor, this))
255 {
256 vtkErrorMacro(<< "WriteValues: Array " << array->GetClassName() << " not supported.");
257 return 0;
258 }
259 return functor.Result;
260}
261
262//------------------------------------------------------------------------------
263int vtkMNIObjectWriter::WriteIdValue(vtkIdType value)

Callers 4

WritePointsMethod · 0.95
WriteNormalsMethod · 0.95
WriteColorsMethod · 0.95
WriteCellsMethod · 0.95

Calls 3

ToAOSDataArrayMethod · 0.80
ExecuteFunction · 0.50
GetClassNameMethod · 0.45

Tested by

no test coverage detected