Skip to content

Commit 4723a64

Browse files
committed
fix(GeometryRepresentationProxy): setOpacity types and intends
Fix parameter type for getOpacity/setOpacity. Replace all indentation spaces with tabspaces.
1 parent 9efcbca commit 4723a64

File tree

1 file changed

+22
-22
lines changed
  • Sources/Proxy/Representations/GeometryRepresentationProxy

1 file changed

+22
-22
lines changed

Sources/Proxy/Representations/GeometryRepresentationProxy/index.d.ts

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -2,34 +2,34 @@ import { RGBColor } from "../../../types";
22
import vtkAbstractRepresentationProxy from '../../Core/AbstractRepresentationProxy';
33

44
export interface vtkGeometryRepresentationProxy
5-
extends vtkAbstractRepresentationProxy {
5+
extends vtkAbstractRepresentationProxy {
66

7-
/**
8-
*
9-
* @param representation a string that describes what representation to use for the explicit geometry.
10-
* possible values are 'Surface with edges', 'Surface' (default), 'Wireframe',
11-
* and 'Points'.
12-
*/
13-
setRepresentation(representation: string): boolean;
14-
getRepresentation(): string;
7+
/**
8+
*
9+
* @param representation a string that describes what representation to use for the explicit geometry.
10+
* possible values are 'Surface with edges', 'Surface' (default), 'Wireframe',
11+
* and 'Points'.
12+
*/
13+
setRepresentation(representation: string): boolean;
14+
getRepresentation(): string;
1515

16-
// proxy property mappings
17-
getColor(): RGBColor;
18-
setColor(color: RGBColor): boolean;
16+
// proxy property mappings
17+
getColor(): RGBColor;
18+
setColor(color: RGBColor): boolean;
1919
getInterpolateScalarsBeforeMapping(): boolean;
2020
setInterpolateScalarsBeforeMapping(interpolateScalarsBeforeMapping: boolean): boolean;
21-
setOpacity(opacity: boolean): boolean;
22-
getOpacity(): boolean;
23-
setVisibility(visible: boolean): boolean;
24-
getVisibility(): boolean;
21+
getOpacity(): number;
22+
setOpacity(opacity: number): boolean;
23+
getVisibility(): boolean;
24+
setVisibility(visible: boolean): boolean;
2525
getPointSize(): number;
2626
setPointSize(pointSize: number): boolean;
27-
getUseShadow(): boolean;
28-
setUseShadow(lighting: boolean): boolean;
29-
getUseBounds(): boolean;
30-
setUseBounds(useBounds: boolean): boolean;
31-
getLineWidth(): number;
32-
setLineWidth(width: number): boolean;
27+
getUseShadow(): boolean;
28+
setUseShadow(lighting: boolean): boolean;
29+
getUseBounds(): boolean;
30+
setUseBounds(useBounds: boolean): boolean;
31+
getLineWidth(): number;
32+
setLineWidth(width: number): boolean;
3333
}
3434

3535
export default vtkGeometryRepresentationProxy;

0 commit comments

Comments
 (0)