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

Method GetInternalInterpolator

Imaging/Core/vtkImageResize.cxx:925–940  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

923
924//------------------------------------------------------------------------------
925vtkAbstractImageInterpolator* vtkImageResize::GetInternalInterpolator()
926{
927 if (this->Interpolate)
928 {
929 return this->GetInterpolator();
930 }
931
932 if (!this->NNInterpolator)
933 {
934 vtkImageInterpolator* nn = vtkImageInterpolator::New();
935 nn->SetInterpolationModeToNearest();
936 this->NNInterpolator = nn;
937 }
938
939 return this->NNInterpolator;
940}
941
942//------------------------------------------------------------------------------
943vtkMTimeType vtkImageResize::GetMTime()

Callers 3

RequestUpdateExtentMethod · 0.95
RequestDataMethod · 0.95
ThreadedRequestDataMethod · 0.95

Calls 2

GetInterpolatorMethod · 0.95
NewFunction · 0.50

Tested by

no test coverage detected