pyvista.LookupTable.to_opacity_tf#
- LookupTable.to_opacity_tf( ) vtkPiecewiseFunction [ソース]#
このテーブルの不透明度伝達関数を返します.
- パラメータ:
- clampingbool,
optional
When zero range clamping is False, values returns 0.0 when a value is requested outside of the points specified.
Added in version 0.44.
- max_clip
float
, default: 0.998 The maximum value to clip the opacity to. This is useful for volume rendering to avoid the jarring effect of completely opaque values.
Added in version 0.45.
- clampingbool,
- 戻り値:
vtk.vtkPiecewiseFunction
カラーテーブルの不透明度の区分関数.
例
>>> import pyvista as pv >>> lut = pv.LookupTable() >>> tf = lut.to_opacity_tf() >>> tf <vtkmodules.vtkCommonDataModel.vtkPiecewiseFunction(...) at ...>