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

Method ForwardAttributesToDataSet

Filters/Temporal/vtkDataObjectMeshCache.cxx:495–509  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

493
494//------------------------------------------------------------------------------
495void vtkDataObjectMeshCache::ForwardAttributesToDataSet(
496 vtkDataSet* input, vtkDataSet* cache, vtkDataSet* outputDataSet)
497{
498 if (!input || !cache)
499 {
500 return;
501 }
502
503 for (const auto& attribute : this->OriginalIdsName)
504 {
505 this->ForwardAttributes(input, cache, outputDataSet, attribute.first, attribute.second);
506 }
507
508 outputDataSet->GetFieldData()->PassData(input->GetFieldData());
509}
510
511//------------------------------------------------------------------------------
512void vtkDataObjectMeshCache::ForwardAttributesToComposite(

Callers 2

CopyCacheToDataObjectMethod · 0.95

Calls 3

ForwardAttributesMethod · 0.95
PassDataMethod · 0.45
GetFieldDataMethod · 0.45

Tested by

no test coverage detected