@kitware/vtk.js
Version:
Visualization Toolkit for the Web
55 lines (46 loc) • 1.44 kB
TypeScript
import { vtkObject } from './../../interfaces';
import { Bounds } from './../../types';
import vtkLocator, { ILocatorInitialValues } from './Locator';
/**
*
*/
export interface IAbstractPointLocatorInitialValues
extends ILocatorInitialValues {
bounds?: Bounds;
numberOfBuckets: number;
}
export interface vtkAbstractPointLocator extends vtkLocator {
/**
* Set the bounds of this object.
* @param {Bounds} input
*/
setBounds(input: Bounds): void;
/**
* Get the bounds of this object.
* @returns {Bounds}
*/
getBounds(): Bounds;
}
// ----------------------------------------------------------------------------
// Static API
// ----------------------------------------------------------------------------
/**
* Method use to decorate a given object (publicAPI+model) with vtkAbstractPointLocator characteristics.
*
* @param publicAPI object on which methods will be bounds (public)
* @param model object on which data structure will be bounds (protected)
* @param {IAbstractPointLocatorInitialValues} [initialValues] (default: {})
*/
export function extend(
publicAPI: object,
model: object,
initialValues?: IAbstractPointLocatorInitialValues
): void;
// ----------------------------------------------------------------------------
/**
* vtkAbstractPointLocator
*/
export declare const vtkAbstractPointLocator: {
extend: typeof extend;
};
export default vtkAbstractPointLocator;