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

Method AppendCellTypes

IO/HDF/vtkHDFWriter.cxx:1003–1011  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

1001
1002//------------------------------------------------------------------------------
1003bool vtkHDFWriter::AppendCellTypes(hid_t group, vtkUnstructuredGrid* input)
1004{
1005 if (!this->Impl->AddOrCreateDataset(group, "Types", H5T_STD_U8LE, input->GetCellTypes()))
1006 {
1007 vtkErrorMacro(<< "Can not create Types dataset when creating: " << this->FileName);
1008 return false;
1009 }
1010 return true;
1011}
1012
1013//------------------------------------------------------------------------------
1014bool vtkHDFWriter::AppendOffsets(hid_t group, vtkCellArray* input)

Callers 1

WriteDatasetToFileMethod · 0.95

Calls 2

AddOrCreateDatasetMethod · 0.80
GetCellTypesMethod · 0.45

Tested by

no test coverage detected