Skip to content

Commit

Permalink
feat(splineROI): Add Cardinal, Linear, Catmull-Rom and B-Spline Splin…
Browse files Browse the repository at this point in the history
…e Tools (#898)

* feat(splineROI): spline ROI (Cardinal, Linear, Catmull-Rom and B-Spline)

* feat(splineROI): code review + fixed issues + point inside polygon

* feat(spline): control point preview

* code review

* feat(splineROI): moved all types to tools/types and updated example-info

* feat(splineROI): fixed wrong imports

* build:api

* feat(splineROI): used gl-matrix for calculating points on Cubic splines

* added SplineTypes enum to SplineROITool

* changes spline preview color + added actions as static props

* feat(splineROI): update-api

* reverted preview curve in red color
  • Loading branch information
lscoder authored Nov 28, 2023
1 parent a1bdeb0 commit b58c120
Show file tree
Hide file tree
Showing 45 changed files with 3,478 additions and 80 deletions.
9 changes: 9 additions & 0 deletions common/reviews/api/core.api.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,14 @@ import type { vtkObject } from '@kitware/vtk.js/interfaces';
import vtkPlane from '@kitware/vtk.js/Common/DataModel/Plane';
import type vtkVolume from '@kitware/vtk.js/Rendering/Core/Volume';

// @public (undocumented)
type AABB2 = {
minX: number;
maxX: number;
minY: number;
maxY: number;
};

// @public (undocumented)
type Actor = vtkActor;

Expand Down Expand Up @@ -2920,6 +2928,7 @@ declare namespace Types {
ViewportPreset,
Metadata,
OrientationVectors,
AABB2,
Point2,
Point3,
Point4,
Expand Down
Loading

0 comments on commit b58c120

Please sign in to comment.