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

Method GetGeometry

IO/IOSS/vtkIOSSReaderInternal.cxx:1873–1886  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1871}
1872
1873vtkSmartPointer<vtkPoints> vtkIOSSReaderInternal::GetGeometry(
1874 const std::string& blockname, const DatabaseHandle& handle)
1875{
1876 auto region = this->GetRegion(handle);
1877 auto group_entity = GetNodeBlock(region, blockname);
1878
1879 if (!group_entity)
1880 {
1881 return nullptr;
1882 }
1883 vtkLogScopeF(TRACE, "GetGeometry(%s)[file=%s]", blockname.c_str(),
1884 this->GetRawFileName(handle, true).c_str());
1885 return vtkIOSSUtilities::GetMeshModelCoordinates(group_entity, &this->Cache);
1886}
1887
1888bool vtkIOSSReaderInternal::GetGeometry(
1889 vtkUnstructuredGrid* grid, const std::string& blockname, const DatabaseHandle& handle)

Callers 12

GetEntityMeshMethod · 0.95
GetCGNSDataSetsMethod · 0.95
GetMeshMethod · 0.95
ReadUniformDataMethod · 0.45
ReadUnstructuredGridMethod · 0.45
RequestStructuredGridMethod · 0.45
RequestImageDataMethod · 0.45
RequestDataMethod · 0.45
WriteCompositeDataSetMethod · 0.45
CreateGeometryMethod · 0.45
GetOriginAndSpacingMethod · 0.45

Calls 11

GetRegionMethod · 0.95
GetRawFileNameMethod · 0.95
GetMeshModelCoordinatesFunction · 0.85
get_propertyMethod · 0.80
assertFunction · 0.50
GetNumberOfPointsFunction · 0.50
GetNumberOfCellsFunction · 0.50
c_strMethod · 0.45
SetPointsMethod · 0.45
SetExtentMethod · 0.45
GetNumberOfPointsMethod · 0.45

Tested by

no test coverage detected