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

Method SetInterpolation

Rendering/VolumeOpenGL2/vtkVolumeTexture.cxx:176–186  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

174
175//------------------------------------------------------------------------------
176void vtkVolumeTexture::SetInterpolation(int interpolation)
177{
178 this->InterpolationType = interpolation;
179
180 if (!this->StreamBlocks)
181 {
182 this->Texture->Activate();
183 this->Texture->SetMagnificationFilter(interpolation);
184 this->Texture->SetMinificationFilter(interpolation);
185 }
186}
187
188//------------------------------------------------------------------------------
189vtkVolumeTexture::VolumeBlock* vtkVolumeTexture::GetNextBlock()

Callers 6

SetInterpolationToFlatFunction · 0.80
SetInterpolationToPhongFunction · 0.80
SetInterpolationToPBRFunction · 0.80
DeepCopyMethod · 0.80

Calls 1

ActivateMethod · 0.45

Tested by

no test coverage detected