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

Method CopyStructure

Accelerators/Vtkm/DataModel/vtkmDataSet.cxx:101–110  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

99
100//------------------------------------------------------------------------------
101void vtkmDataSet::CopyStructure(vtkDataSet* ds)
102{
103 auto vtkmds = vtkmDataSet::SafeDownCast(ds);
104 if (vtkmds)
105 {
106 this->Initialize();
107 this->Internals->CellSet = vtkmds->Internals->CellSet;
108 this->Internals->Coordinates = vtkmds->Internals->Coordinates;
109 }
110}
111
112vtkIdType vtkmDataSet::GetNumberOfPoints()
113{

Callers 10

RequestDataMethod · 0.45
RequestDataMethod · 0.45
RequestDataMethod · 0.45
RequestDataMethod · 0.45
RequestDataMethod · 0.45
CopyDataSetStructureFunction · 0.45
RequestDataMethod · 0.45
RequestDataMethod · 0.45
RunVTKPipelineFunction · 0.45
RunVTKPipelineFunction · 0.45

Calls 1

InitializeMethod · 0.95

Tested by 2

RunVTKPipelineFunction · 0.36
RunVTKPipelineFunction · 0.36