@kitware/vtk.js 23.0.1 → 23.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Common/Core/CellArray.d.ts +2 -2
- package/Common/Core/DataArray.d.ts +2 -2
- package/Common/Core/Endian.d.ts +3 -1
- package/Common/Core/ImageHelper.d.ts +1 -1
- package/Common/Core/LookupTable.d.ts +2 -2
- package/Common/Core/Math.d.ts +1 -1
- package/Common/Core/MatrixBuilder.d.ts +1 -1
- package/Common/Core/Points.d.ts +2 -2
- package/Common/Core/PriorityQueue.d.ts +1 -1
- package/Common/Core/ProgressHandler.d.ts +1 -1
- package/Common/Core/ScalarsToColors.d.ts +3 -3
- package/Common/Core/StringArray.d.ts +1 -1
- package/Common/Core/VariantArray.d.ts +1 -1
- package/Common/DataModel/Box.d.ts +2 -2
- package/Common/DataModel/CardinalSpline1D.d.ts +2 -2
- package/Common/DataModel/Cell.d.ts +3 -3
- package/Common/DataModel/Cone.d.ts +2 -2
- package/Common/DataModel/Cylinder.d.ts +2 -2
- package/Common/DataModel/DataSet.d.ts +2 -2
- package/Common/DataModel/DataSetAttributes/FieldData.d.ts +1 -1
- package/Common/DataModel/DataSetAttributes.d.ts +3 -3
- package/Common/DataModel/ImageData.d.ts +2 -2
- package/Common/DataModel/KochanekSpline1D.d.ts +1 -1
- package/Common/DataModel/Line.d.ts +2 -2
- package/Common/DataModel/PiecewiseFunction.d.ts +2 -2
- package/Common/DataModel/Plane.d.ts +2 -2
- package/Common/DataModel/PointSet.d.ts +3 -3
- package/Common/DataModel/PolyData.d.ts +3 -3
- package/Common/DataModel/Polygon.d.ts +2 -2
- package/Common/DataModel/SelectionNode.d.ts +2 -2
- package/Common/DataModel/Sphere.d.ts +2 -2
- package/Common/DataModel/Spline1D.d.ts +1 -1
- package/Common/DataModel/Spline3D.d.ts +1 -1
- package/Common/DataModel/Triangle.d.ts +2 -2
- package/Common/Transform/LandmarkTransform.d.ts +2 -2
- package/Filters/General/AppendPolyData.d.ts +1 -1
- package/Filters/General/ImageCropFilter.d.ts +1 -1
- package/Filters/General/ImageOutlineFilter.d.ts +1 -1
- package/Filters/General/ImageSliceFilter.d.ts +1 -1
- package/Filters/General/ImageStreamline.d.ts +3 -3
- package/Filters/General/LineFilter.d.ts +1 -1
- package/Filters/General/OutlineFilter.d.ts +1 -1
- package/Filters/General/TriangleFilter.d.ts +1 -1
- package/Filters/General/TubeFilter.d.ts +2 -2
- package/Filters/Sources/Arrow2DSource.d.ts +2 -2
- package/Filters/Sources/ArrowSource.d.ts +2 -2
- package/Filters/Sources/CircleSource.d.ts +2 -2
- package/Filters/Sources/ConeSource.d.ts +2 -2
- package/Filters/Sources/CubeSource.d.ts +2 -2
- package/Filters/Sources/Cursor3D.d.ts +3 -3
- package/Filters/Sources/CylinderSource.d.ts +2 -2
- package/Filters/Sources/LineSource.d.ts +2 -2
- package/Filters/Sources/PlaneSource.d.ts +2 -2
- package/Filters/Sources/PointSource.d.ts +2 -2
- package/Filters/Sources/SphereSource.d.ts +2 -2
- package/Filters/Texture/TextureMapToPlane.d.ts +1 -1
- package/Filters/Texture/TextureMapToSphere.d.ts +1 -1
- package/IO/Core/DataAccessHelper.d.ts +4 -4
- package/IO/Core/HttpDataSetReader.d.ts +5 -5
- package/IO/Core/HttpSceneLoader.d.ts +5 -5
- package/IO/Core/ImageStream/DefaultProtocol.d.ts +1 -1
- package/IO/Core/ImageStream/ViewStream.d.ts +4 -4
- package/IO/Core/ImageStream.d.ts +3 -3
- package/IO/Core/WSLinkClient.d.ts +1 -1
- package/IO/Geometry/DracoReader.d.ts +5 -5
- package/IO/Geometry/PLYReader.d.ts +5 -5
- package/IO/Geometry/PLYWriter.d.ts +2 -2
- package/IO/Geometry/STLReader.d.ts +5 -5
- package/IO/Geometry/STLWriter.d.ts +2 -2
- package/IO/Misc/ElevationReader.d.ts +5 -5
- package/IO/Misc/ITKImageReader.d.ts +1 -1
- package/IO/Misc/ITKPolyDataReader.d.ts +1 -1
- package/IO/Misc/JSONNucleoReader.d.ts +5 -5
- package/IO/Misc/JSONReader.d.ts +1 -1
- package/IO/Misc/MTLReader.d.ts +6 -6
- package/IO/Misc/OBJReader.d.ts +5 -5
- package/IO/Misc/PDBReader.d.ts +5 -5
- package/IO/XML/XMLImageDataReader.d.ts +1 -1
- package/IO/XML/XMLPolyDataReader.d.ts +1 -1
- package/IO/XML/XMLReader.d.ts +5 -5
- package/Interaction/Manipulators/MouseRangeManipulator.js +55 -1
- package/Interaction/Widgets/OrientationMarkerWidget.d.ts +12 -10
- package/Rendering/Core/AbstractMapper.d.ts +2 -2
- package/Rendering/Core/AbstractMapper3D.d.ts +2 -2
- package/Rendering/Core/AbstractPicker.d.ts +4 -4
- package/Rendering/Core/Actor.d.ts +4 -4
- package/Rendering/Core/Actor2D.d.ts +5 -5
- package/Rendering/Core/AnnotatedCubeActor.d.ts +1 -1
- package/Rendering/Core/AxesActor.d.ts +1 -1
- package/Rendering/Core/Camera.d.ts +2 -2
- package/Rendering/Core/CellPicker.d.ts +5 -5
- package/Rendering/Core/ColorTransferFunction.d.ts +1 -1
- package/Rendering/Core/Coordinate.d.ts +2 -2
- package/Rendering/Core/Follower.d.ts +2 -2
- package/Rendering/Core/Glyph3DMapper.d.ts +2 -2
- package/Rendering/Core/ImageMapper.d.ts +3 -3
- package/Rendering/Core/ImageProperty.d.ts +2 -2
- package/Rendering/Core/ImageSlice.d.ts +4 -4
- package/Rendering/Core/Light.d.ts +2 -2
- package/Rendering/Core/Mapper.d.ts +5 -5
- package/Rendering/Core/Mapper2D.d.ts +4 -3
- package/Rendering/Core/Picker.d.ts +5 -5
- package/Rendering/Core/PixelSpaceCallbackMapper.d.ts +2 -2
- package/Rendering/Core/PointPicker.d.ts +3 -3
- package/Rendering/Core/Prop.d.ts +5 -5
- package/Rendering/Core/Prop3D.d.ts +2 -2
- package/Rendering/Core/Property.d.ts +2 -2
- package/Rendering/Core/Property2D.d.ts +2 -2
- package/Rendering/Core/RenderWindow.d.ts +4 -4
- package/Rendering/Core/RenderWindowInteractor.d.ts +2 -2
- package/Rendering/Core/Renderer.d.ts +12 -11
- package/Rendering/Core/ScalarBarActor.d.ts +3 -3
- package/Rendering/Core/Skybox.d.ts +1 -1
- package/Rendering/Core/SphereMapper.d.ts +1 -1
- package/Rendering/Core/StickMapper.d.ts +1 -1
- package/Rendering/Core/Texture.d.ts +1 -1
- package/Rendering/Core/Viewport.d.ts +4 -4
- package/Rendering/Core/Volume.d.ts +4 -4
- package/Rendering/Core/VolumeMapper.d.ts +2 -2
- package/Rendering/Core/VolumeProperty.d.ts +1 -1
- package/Rendering/Misc/CanvasView.d.ts +2 -2
- package/Rendering/Misc/FullScreenRenderWindow.d.ts +8 -8
- package/Rendering/Misc/GenericRenderWindow.d.ts +6 -6
- package/Rendering/Misc/RemoteView.d.ts +3 -3
- package/Rendering/Misc/RenderWindowWithControlBar.d.ts +2 -2
- package/Rendering/Misc/SynchronizableRenderWindow.d.ts +4 -3
- package/Rendering/Misc/TextureLODsDownloader.d.ts +4 -4
- package/Rendering/OpenGL/RenderWindow.d.ts +18 -18
- package/Rendering/SceneGraph/RenderPass.d.ts +2 -2
- package/Rendering/SceneGraph/ViewNode.d.ts +2 -2
- package/Rendering/SceneGraph/ViewNodeFactory.d.ts +1 -1
- package/Widgets/Manipulators/LineManipulator.d.ts +1 -1
- package/Widgets/Manipulators/PlaneManipulator.d.ts +1 -1
- package/Widgets/Manipulators/TrackballManipulator.d.ts +1 -1
- package/Widgets/Representations/ResliceCursorContextRepresentation.d.ts +1 -1
- package/Widgets/Representations/WidgetRepresentation.d.ts +1 -1
- package/interfaces.d.ts +4 -4
- package/macros.d.ts +1 -1
- package/package.json +1 -1
- package/types.d.ts +22 -1
- package/vtk.d.ts +7 -2
package/Common/Core/Endian.d.ts
CHANGED
package/Common/Core/Math.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Bounds, Extent, HSVColor, RGBAColor, RGBColor, Matrix, Matrix3x3, Range, Vector2, Vector3, Vector4 } from '
|
|
1
|
+
import { Bounds, Extent, HSVColor, RGBAColor, RGBColor, Matrix, Matrix3x3, Range, Vector2, Vector3, Vector4 } from '../../types';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
*
|
package/Common/Core/Points.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { vtkObject } from '
|
|
2
|
-
import { ColorMode } from '
|
|
3
|
-
import { Range } from '
|
|
1
|
+
import { vtkObject } from '../../interfaces' ;
|
|
2
|
+
import { ColorMode } from '../../Rendering/Core/Mapper';
|
|
3
|
+
import { Range } from '../../types' ;
|
|
4
4
|
|
|
5
5
|
export enum VectorMode {
|
|
6
6
|
MAGNITUDE,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Vector3 } from '
|
|
2
|
-
import vtkSpline1D, { ISpline1DInitialValues } from '
|
|
1
|
+
import { Vector3 } from '../../types';
|
|
2
|
+
import vtkSpline1D, { ISpline1DInitialValues } from './Spline1D';
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
export interface ICardinalSpline1DInitialValues extends ISpline1DInitialValues {}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { vtkObject } from '
|
|
2
|
-
import { Bounds, Vector3 } from '
|
|
3
|
-
import vtkPoints from '
|
|
1
|
+
import { vtkObject } from '../../interfaces' ;
|
|
2
|
+
import { Bounds, Vector3 } from '../../types';
|
|
3
|
+
import vtkPoints from '../Core/Points';
|
|
4
4
|
|
|
5
5
|
export interface ICellInitialValues {
|
|
6
6
|
bounds?: Bounds;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { vtkObject } from '
|
|
2
|
-
import vtkDataSetAttributes from '
|
|
1
|
+
import { vtkObject } from '../../interfaces' ;
|
|
2
|
+
import vtkDataSetAttributes from './DataSetAttributes';
|
|
3
3
|
|
|
4
4
|
export enum FieldDataTypes {
|
|
5
5
|
UNIFORM,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { vtkObject } from '
|
|
2
|
-
import { IFieldDataInitialValues, vtkFieldData } from '
|
|
3
|
-
import vtkDataArray from '
|
|
1
|
+
import { vtkObject } from '../../interfaces' ;
|
|
2
|
+
import { IFieldDataInitialValues, vtkFieldData } from '././FieldData';
|
|
3
|
+
import vtkDataArray from '../Core/DataArray';
|
|
4
4
|
|
|
5
5
|
export enum AttributeTypes {
|
|
6
6
|
SCALARS,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { mat3, mat4, ReadonlyVec3, vec3 } from 'gl-matrix';
|
|
2
|
-
import { Bounds, Extent, Vector3 } from '
|
|
3
|
-
import vtkDataSet, { IDataSetInitialValues } from '
|
|
2
|
+
import { Bounds, Extent, Vector3 } from '../../types';
|
|
3
|
+
import vtkDataSet, { IDataSetInitialValues } from './DataSet';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
*
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { Bounds } from '
|
|
2
|
-
import vtkPoints from '
|
|
3
|
-
import vtkDataSet, { IDataSetInitialValues } from '
|
|
1
|
+
import { Bounds } from '../../types';
|
|
2
|
+
import vtkPoints from '../Core/Points';
|
|
3
|
+
import vtkDataSet, { IDataSetInitialValues } from './DataSet';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
*
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { Vector3 } from '
|
|
2
|
-
import vtkCellArray from '
|
|
3
|
-
import vtkPointSet, { IPointSetInitialValues } from '
|
|
1
|
+
import { Vector3 } from '../../types';
|
|
2
|
+
import vtkCellArray from '../Core/CellArray';
|
|
3
|
+
import vtkPointSet, { IPointSetInitialValues } from './PointSet';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
*
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Vector3 } from '
|
|
2
|
-
import vtkCell, { ICellInitialValues } from '
|
|
1
|
+
import { Vector3 } from '../../types';
|
|
2
|
+
import vtkCell, { ICellInitialValues } from './Cell';
|
|
3
3
|
|
|
4
4
|
export interface ITriangleInitialValues extends ICellInitialValues {}
|
|
5
5
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { mat4 } from 'gl-matrix';
|
|
2
|
-
import { vtkObject } from '
|
|
3
|
-
import vtkPoints from '
|
|
2
|
+
import { vtkObject } from '../../interfaces';
|
|
3
|
+
import vtkPoints from '../Core/Points';
|
|
4
4
|
|
|
5
5
|
export enum Mode {
|
|
6
6
|
RIGID_BODY,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import vtkImageData from '
|
|
2
|
-
import { vtkAlgorithm, vtkObject } from '
|
|
3
|
-
import { Bounds, Extent, Vector2, Vector3 } from '
|
|
1
|
+
import vtkImageData from '../../Common/DataModel/ImageData';
|
|
2
|
+
import { vtkAlgorithm, vtkObject } from '../../interfaces';
|
|
3
|
+
import { Bounds, Extent, Vector2, Vector3 } from '../../types';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
*
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { vtkAlgorithm, vtkObject } from '
|
|
2
|
-
import { DesiredOutputPrecision } from '
|
|
1
|
+
import { vtkAlgorithm, vtkObject } from '../../interfaces';
|
|
2
|
+
import { DesiredOutputPrecision } from '../../Common/DataModel/DataSetAttributes';
|
|
3
3
|
|
|
4
4
|
export enum VaryRadius {
|
|
5
5
|
VARY_RADIUS_OFF,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { vtkAlgorithm, vtkObject } from '
|
|
2
|
-
import vtkPolyData from '
|
|
3
|
-
import { Bounds, Vector3 } from '
|
|
1
|
+
import { vtkAlgorithm, vtkObject } from '../../interfaces';
|
|
2
|
+
import vtkPolyData from '../../Common/DataModel/PolyData';
|
|
3
|
+
import { Bounds, Vector3 } from '../../types';
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { vec3 } from 'gl-matrix';
|
|
2
|
-
import { vtkAlgorithm, vtkObject } from '
|
|
3
|
-
import { Vector3 } from '
|
|
2
|
+
import { vtkAlgorithm, vtkObject } from '../../interfaces';
|
|
3
|
+
import { Vector3 } from '../../types';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
*
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import HtmlDataAccessHelper from '
|
|
2
|
-
import HttpDataAccessHelper from '
|
|
3
|
-
import JSZipDataAccessHelper from '
|
|
4
|
-
import LiteHttpDataAccessHelper from '
|
|
1
|
+
import HtmlDataAccessHelper from '././HtmlDataAccessHelper';
|
|
2
|
+
import HttpDataAccessHelper from '././HttpDataAccessHelper';
|
|
3
|
+
import JSZipDataAccessHelper from '././JSZipDataAccessHelper';
|
|
4
|
+
import LiteHttpDataAccessHelper from '././LiteHttpDataAccessHelper';
|
|
5
5
|
|
|
6
6
|
export function has(type: string): boolean;
|
|
7
7
|
export function get(type?: string, options?: object): HtmlDataAccessHelper | HttpDataAccessHelper | JSZipDataAccessHelper | LiteHttpDataAccessHelper
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { vtkAlgorithm, vtkObject, vtkSubscription } from '
|
|
2
|
-
import HtmlDataAccessHelper from '
|
|
3
|
-
import HttpDataAccessHelper from '
|
|
4
|
-
import JSZipDataAccessHelper from '
|
|
5
|
-
import LiteHttpDataAccessHelper from '
|
|
1
|
+
import { vtkAlgorithm, vtkObject, vtkSubscription } from '../../interfaces';
|
|
2
|
+
import HtmlDataAccessHelper from './DataAccessHelper/HtmlDataAccessHelper';
|
|
3
|
+
import HttpDataAccessHelper from './DataAccessHelper/HttpDataAccessHelper';
|
|
4
|
+
import JSZipDataAccessHelper from './DataAccessHelper/JSZipDataAccessHelper';
|
|
5
|
+
import LiteHttpDataAccessHelper from './DataAccessHelper/LiteHttpDataAccessHelper';
|
|
6
6
|
|
|
7
7
|
/**
|
|
8
8
|
*
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { vtkObject } from '
|
|
2
|
-
import vtkAnnotatedCubeActor from '
|
|
3
|
-
import vtkAxesActor from '
|
|
4
|
-
import vtkRenderer from '
|
|
5
|
-
import vtkRenderWindowInteractor from '
|
|
1
|
+
import { vtkObject } from '../../interfaces';
|
|
2
|
+
import vtkAnnotatedCubeActor from '../../Rendering/Core/AnnotatedCubeActor';
|
|
3
|
+
import vtkAxesActor from '../../Rendering/Core/AxesActor';
|
|
4
|
+
import vtkRenderer from '../../Rendering/Core/Renderer';
|
|
5
|
+
import vtkRenderWindowInteractor from '../../Rendering/Core/RenderWindowInteractor';
|
|
6
6
|
|
|
7
7
|
/**
|
|
8
8
|
*
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { vtkObject } from '
|
|
2
|
-
import { Size } from '
|
|
3
|
-
import vtkCamera from '
|
|
4
|
-
import DefaultProtocol from '
|
|
1
|
+
import { vtkObject } from '../../interfaces';
|
|
2
|
+
import { Size } from '../../types';
|
|
3
|
+
import vtkCamera from '../../Rendering/Core/Camera';
|
|
4
|
+
import DefaultProtocol from '././DefaultProtocol';
|
|
5
5
|
/**
|
|
6
6
|
*
|
|
7
7
|
*/
|
package/IO/Core/ImageStream.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { vtkObject } from '
|
|
2
|
-
import { Size } from '
|
|
3
|
-
import vtkViewStream from '
|
|
1
|
+
import { vtkObject } from '../../interfaces';
|
|
2
|
+
import { Size } from '../../types';
|
|
3
|
+
import vtkViewStream from '././ViewStream';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
*
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { vtkAlgorithm, vtkObject } from '
|
|
2
|
-
import HtmlDataAccessHelper from '
|
|
3
|
-
import HttpDataAccessHelper from '
|
|
4
|
-
import JSZipDataAccessHelper from '
|
|
5
|
-
import LiteHttpDataAccessHelper from '
|
|
1
|
+
import { vtkAlgorithm, vtkObject } from '../../interfaces';
|
|
2
|
+
import HtmlDataAccessHelper from '../Core/DataAccessHelper/HtmlDataAccessHelper';
|
|
3
|
+
import HttpDataAccessHelper from '../Core/DataAccessHelper/HttpDataAccessHelper';
|
|
4
|
+
import JSZipDataAccessHelper from '../Core/DataAccessHelper/JSZipDataAccessHelper';
|
|
5
|
+
import LiteHttpDataAccessHelper from '../Core/DataAccessHelper/LiteHttpDataAccessHelper';
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
interface IDracoReaderOptions {
|