File: C:/Users/fred/anaconda3/Lib/site-packages/panel/dist/lib/models/vtk/util.d.ts
export declare const ARRAY_TYPES: {
uint8: Uint8ArrayConstructor;
int8: Int8ArrayConstructor;
uint16: Uint16ArrayConstructor;
int16: Int16ArrayConstructor;
uint32: Uint32ArrayConstructor;
int32: Int32ArrayConstructor;
float32: Float32ArrayConstructor;
float64: Float64ArrayConstructor;
};
export type DType = keyof typeof ARRAY_TYPES;
export declare const vtkns: any;
export declare function setup_vtkns(): void;
export type ColorMapper = {
palette: string[];
low: number;
high: number;
};
export declare const Interpolation: import("@bokehjs/core/kinds").Kinds.Enum<"fast_linear" | "linear" | "nearest">;
export type Interpolation = typeof Interpolation["__type__"];
export type Annotation = {
id: string;
viewport: number[];
fontSize: number;
fontFamily: string;
color: number[];
LowerLeft?: string;
LowerRight?: string;
UpperLeft?: string;
UpperRight?: string;
LowerEdge?: string;
RightEdge?: string;
LeftEdge?: string;
UpperEdge?: string;
};
export declare type CSSProperties = {
[key: string]: string;
};
export declare type VolumeType = {
buffer: string;
dims: number[];
dtype: DType;
spacing: number[];
origin: number[] | null;
extent: number[] | null;
};
export declare function applyStyle(el: HTMLElement, style: CSSProperties): void;
export declare function hexToRGB(color: string): number[];
export declare function rgbToHex(r: number, g: number, b: number): string;
export declare function vtkLutToMapper(vtk_lut: any): ColorMapper;
export declare function data2VTKImageData(data: VolumeType): any;
export declare function majorAxis(vec3: number[], idxA: number, idxB: number): number[];
export declare function cartesian_product(...arrays: any): any;
//# sourceMappingURL=util.d.ts.map