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

Method UpdateVolume

Rendering/VolumeOpenGL2/vtkVolumeTexture.cxx:838–847  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

836
837//------------------------------------------------------------------------------
838void vtkVolumeTexture::UpdateVolume(vtkVolumeProperty* property)
839{
840 if (property->GetMTime() > this->UpdateTime.GetMTime())
841 {
842 int const newInterp = property->GetInterpolationType();
843 this->UpdateInterpolationType(newInterp);
844 }
845
846 this->UpdateTime.Modified();
847}
848
849//------------------------------------------------------------------------------
850void vtkVolumeTexture::UpdateInterpolationType(int interpolation)

Callers 1

UpdateInputsMethod · 0.80

Calls 3

GetMTimeMethod · 0.45
ModifiedMethod · 0.45

Tested by

no test coverage detected