@kitware/vtk.js 24.5.1 → 24.5.2
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/Base64.d.ts +4 -2
- package/Common/Core/CellArray.d.ts +2 -2
- package/Common/Core/DataArray.d.ts +2 -2
- package/Common/Core/Endian.d.ts +1 -1
- package/Common/Core/ImageHelper.d.ts +1 -1
- package/Common/Core/LookupTable.d.ts +1 -1
- 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 +1 -1
- 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 +1 -1
- package/Common/DataModel/DataSetAttributes/FieldData.d.ts +1 -1
- package/Common/DataModel/DataSetAttributes.d.ts +3 -3
- package/Common/DataModel/ImageData.d.ts +1 -1
- package/Common/DataModel/Line.d.ts +1 -1
- package/Common/DataModel/PiecewiseFunction.d.ts +2 -2
- package/Common/DataModel/Plane.d.ts +2 -2
- package/Common/DataModel/PointSet.d.ts +2 -2
- package/Common/DataModel/PolyData.d.ts +2 -2
- 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 +1 -1
- 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 +1 -1
- 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/XMLReader.d.ts +5 -5
- package/Interaction/Widgets/OrientationMarkerWidget.d.ts +6 -6
- package/Rendering/Core/AbstractMapper.d.ts +2 -2
- package/Rendering/Core/AbstractMapper3D.d.ts +1 -1
- package/Rendering/Core/AbstractPicker.d.ts +2 -2
- package/Rendering/Core/Actor.d.ts +1 -1
- package/Rendering/Core/Actor2D.d.ts +1 -1
- package/Rendering/Core/Camera.d.ts +2 -2
- package/Rendering/Core/CellPicker.d.ts +2 -2
- package/Rendering/Core/ColorTransferFunction.d.ts +1 -1
- package/Rendering/Core/Coordinate.d.ts +1 -1
- package/Rendering/Core/Glyph3DMapper.d.ts +1 -1
- package/Rendering/Core/ImageMapper.d.ts +1 -1
- package/Rendering/Core/ImageProperty.d.ts +1 -1
- package/Rendering/Core/ImageSlice.d.ts +1 -1
- package/Rendering/Core/Light.d.ts +2 -2
- package/Rendering/Core/Mapper.d.ts +1 -1
- package/Rendering/Core/Mapper2D.d.ts +1 -1
- package/Rendering/Core/Picker.d.ts +1 -1
- package/Rendering/Core/PointPicker.d.ts +1 -1
- package/Rendering/Core/Prop.d.ts +1 -1
- package/Rendering/Core/Prop3D.d.ts +1 -1
- package/Rendering/Core/Property.d.ts +2 -2
- package/Rendering/Core/Property2D.d.ts +2 -2
- package/Rendering/Core/RenderWindow.d.ts +2 -2
- package/Rendering/Core/RenderWindowInteractor.d.ts +1 -1
- package/Rendering/Core/Renderer.d.ts +1 -1
- package/Rendering/Core/ScalarBarActor.d.ts +2 -2
- package/Rendering/Core/Texture.d.ts +1 -1
- package/Rendering/Core/Viewport.d.ts +2 -2
- package/Rendering/Core/Volume.d.ts +1 -1
- package/Rendering/Core/VolumeMapper.d.ts +1 -1
- 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 +2 -2
- package/Rendering/Misc/RenderWindowWithControlBar.d.ts +1 -1
- package/Rendering/Misc/SynchronizableRenderWindow.d.ts +2 -2
- package/Rendering/Misc/TextureLODsDownloader.d.ts +3 -3
- package/Rendering/OpenGL/RenderWindow.d.ts +6 -6
- package/Rendering/SceneGraph/RenderPass.d.ts +1 -1
- package/Rendering/SceneGraph/ViewNode.d.ts +1 -1
- 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/WidgetRepresentation.d.ts +1 -1
- package/Widgets/Widgets3D/SphereWidget.d.ts +2 -2
- package/interfaces.d.ts +2 -2
- package/macros.d.ts +1 -1
- package/package.json +1 -1
- package/types.d.ts +1 -1
- package/tsconfig.json +0 -8
package/Common/Core/Base64.d.ts
CHANGED
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,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,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 './DataSetAttributes/FieldData';
|
|
3
|
+
import vtkDataArray from './../Core/DataArray';
|
|
4
4
|
|
|
5
5
|
export enum AttributeTypes {
|
|
6
6
|
SCALARS,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { CellType, Vector3 } from '
|
|
2
|
-
import vtkCellArray from '
|
|
1
|
+
import { CellType, Vector3 } from './../../types';
|
|
2
|
+
import vtkCellArray from './../Core/CellArray';
|
|
3
3
|
import vtkPointSet, { IPointSetInitialValues } from './PointSet';
|
|
4
4
|
|
|
5
5
|
/**
|
|
@@ -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,7 +1,7 @@
|
|
|
1
|
-
import HtmlDataAccessHelper from '
|
|
2
|
-
import HttpDataAccessHelper from '
|
|
3
|
-
import JSZipDataAccessHelper from '
|
|
4
|
-
import LiteHttpDataAccessHelper from '
|
|
1
|
+
import HtmlDataAccessHelper from './DataAccessHelper/HtmlDataAccessHelper';
|
|
2
|
+
import HttpDataAccessHelper from './DataAccessHelper/HttpDataAccessHelper';
|
|
3
|
+
import JSZipDataAccessHelper from './DataAccessHelper/JSZipDataAccessHelper';
|
|
4
|
+
import LiteHttpDataAccessHelper from './DataAccessHelper/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,4 +1,4 @@
|
|
|
1
|
-
import { vtkAlgorithm, vtkObject, vtkSubscription } from '
|
|
1
|
+
import { vtkAlgorithm, vtkObject, vtkSubscription } from './../../interfaces';
|
|
2
2
|
import HtmlDataAccessHelper from './DataAccessHelper/HtmlDataAccessHelper';
|
|
3
3
|
import HttpDataAccessHelper from './DataAccessHelper/HttpDataAccessHelper';
|
|
4
4
|
import JSZipDataAccessHelper from './DataAccessHelper/JSZipDataAccessHelper';
|
|
@@ -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 './ImageStream/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 {
|
|
@@ -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
|
interface IPLYReaderOptions {
|
|
8
8
|
binary?: boolean;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { mat4 } from "gl-matrix";
|
|
2
|
-
import vtkPolyData from '
|
|
3
|
-
import { vtkAlgorithm, vtkObject } from '
|
|
2
|
+
import vtkPolyData from './../../Common/DataModel/PolyData';
|
|
3
|
+
import { vtkAlgorithm, vtkObject } from './../../interfaces';
|
|
4
4
|
|
|
5
5
|
export enum FormatTypes {
|
|
6
6
|
ASCII,
|