MCPcopy Create free account
hub / github.com/Kitware/ParaView / BuildVTKDataStructures

Function BuildVTKDataStructures

Examples/Catalyst/CxxFullExample/FEAdaptor.cxx:95–106  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

93}
94
95void BuildVTKDataStructures(Grid& grid, Attributes& attributes, vtkCPInputDataDescription* idd)
96{
97 if (VTKGrid == nullptr)
98 {
99 // The grid structure isn't changing so we only build it
100 // the first time it's needed. If we needed the memory
101 // we could delete it and rebuild as necessary.
102 VTKGrid = vtkUnstructuredGrid::New();
103 BuildVTKGrid(grid);
104 }
105 UpdateVTKAttributes(grid, attributes, idd);
106}
107}
108
109namespace FEAdaptor

Callers 1

CoProcessFunction · 0.70

Calls 3

BuildVTKGridFunction · 0.70
UpdateVTKAttributesFunction · 0.70
NewFunction · 0.50

Tested by

no test coverage detected