------------------------------------------------------------------------------
| 836 | |
| 837 | //------------------------------------------------------------------------------ |
| 838 | void 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 | //------------------------------------------------------------------------------ |
| 850 | void vtkVolumeTexture::UpdateInterpolationType(int interpolation) |
no test coverage detected