Skip to content

Commit ffe12a4

Browse files
committed
docs(colortransferfunctions): fix ts definition inheritance (inherit from ScalarsToColors)
1 parent 671642f commit ffe12a4

File tree

1 file changed

+2
-3
lines changed
  • Sources/Rendering/Core/ColorTransferFunction

1 file changed

+2
-3
lines changed

Sources/Rendering/Core/ColorTransferFunction/index.d.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
11
import vtkDataArray from '../../../Common/Core/DataArray';
2-
import { vtkObject } from '../../../interfaces';
2+
import vtkScalarsToColors from '../../../Common/Core/ScalarsToColors'
33
import { ColorSpace, Scale } from "./Constants";
44

55

6-
/* TODO: use VtkScalarsToColors instead of VtkObject */
7-
export interface vtkColorTransferFunction extends vtkObject {
6+
export interface vtkColorTransferFunction extends vtkScalarsToColors {
87
/**
98
* Add a point defined in RGB
109
* @param {Number} x The index of the point.

0 commit comments

Comments
 (0)