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

Method ProcessGeneric

Filters/General/vtkAxisAlignedTransformFilter.cxx:733–747  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

731
732//----------------------------------------------------------------------------
733bool vtkAxisAlignedTransformFilter::ProcessGeneric(
734 vtkDataObject* inputDataObject, vtkDataObject* outputDataObject)
735{
736 vtkNew<vtkTransformFilter> transformFilter;
737
738 transformFilter->SetInputData(inputDataObject);
739 vtkNew<vtkTransform> transform;
740 this->GetTransform(transform);
741 transformFilter->SetTransform(transform);
742 transformFilter->Update();
743 vtkDataSet* transformedOutput = transformFilter->GetOutput();
744
745 outputDataObject->ShallowCopy(transformedOutput);
746 return true;
747}
748
749//----------------------------------------------------------------------------
750bool vtkAxisAlignedTransformFilter::ProcessImageData(

Callers 1

DispatchMethod · 0.95

Calls 6

GetTransformMethod · 0.95
SetInputDataMethod · 0.45
SetTransformMethod · 0.45
UpdateMethod · 0.45
GetOutputMethod · 0.45
ShallowCopyMethod · 0.45

Tested by

no test coverage detected