All files / core/src/types index.ts

0% Statements 0/0
0% Branches 0/0
0% Functions 0/0
0% Lines 0/0

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   
import type Cornerstone3DConfig from './Cornerstone3DConfig';
import type ICamera from './ICamera';
import type IEnabledElement from './IEnabledElement';
import type ICache from './ICache';
import type { IVolume } from './IVolume';
import type { VOI, VOIRange } from './voi';
import type DisplayArea from './displayArea';
import type ImageLoaderFn from './ImageLoaderFn';
import type IImageVolume from './IImageVolume';
import type IDynamicImageVolume from './IDynamicImageVolume';
import type VolumeLoaderFn from './VolumeLoaderFn';
import type IRegisterImageLoader from './IRegisterImageLoader';
import type IStreamingVolumeProperties from './IStreamingVolumeProperties';
import type CustomEventType from './CustomEventType';
import type { LocalVolumeOptions } from './../loaders/volumeLoader';
import type {
  IViewport,
  PublicViewportInput,
  ViewReferenceSpecifier,
  DataSetOptions,
  ReferenceCompatibleOptions,
  ViewReference,
  ViewPresentation,
  ViewPresentationSelector,
  ViewportInput,
} from './IViewport';
import type {
  VolumeActor,
  Actor,
  ActorEntry,
  ImageActor,
  ICanvasActor,
} from './IActor';
import type {
  IImageLoadObject,
  IVolumeLoadObject,
  IGeometryLoadObject,
} from './ILoadObject';
import type Metadata from './Metadata';
import type OrientationVectors from './OrientationVectors';
import type AABB2 from './AABB2';
import type AABB3 from './AABB3';
import type Point2 from './Point2';
import type Point3 from './Point3';
import type Point4 from './Point4';
import type { PointsXYZ } from './Point3';
import type Mat3 from './Mat3';
import type Plane from './Plane';
import type IStreamingImageVolume from './IStreamingImageVolume';
import type ViewportInputOptions from './ViewportInputOptions';
import type IImageData from './IImageData';
import type IImageCalibration from './IImageCalibration';
import type CPUIImageData from './CPUIImageData';
import type { CPUImageData } from './CPUIImageData';
import type IImage from './IImage';
import type {
  PTScaling,
  Scaling,
  ScalingParameters,
} from './ScalingParameters';
import type StackViewportProperties from './StackViewportProperties';
import type VolumeViewportProperties from './VolumeViewportProperties';
import type IViewportId from './IViewportId';
import type FlipDirection from './FlipDirection';
import type ICachedImage from './ICachedImage';
import type ICachedVolume from './ICachedVolume';
import type IStackViewport from './IStackViewport';
import type IWSIViewport from './IWSIViewport';
import type IVolumeViewport from './IVolumeViewport';
import type ViewportPreset from './ViewportPreset';
 
// CPU types
import type CPUFallbackEnabledElement from './CPUFallbackEnabledElement';
import type CPUFallbackViewport from './CPUFallbackViewport';
import type CPUFallbackTransform from './CPUFallbackTransform';
import type CPUFallbackColormapData from './CPUFallbackColormapData';
import type CPUFallbackViewportDisplayedArea from './CPUFallbackViewportDisplayedArea';
import type { CPUFallbackColormapsData } from './CPUFallbackColormapsData';
import type CPUFallbackColormap from './CPUFallbackColormap';
import type TransformMatrix2D from './TransformMatrix2D';
import type CPUFallbackLookupTable from './CPUFallbackLookupTable';
import type CPUFallbackLUT from './CPUFallbackLUT';
import type CPUFallbackRenderingTools from './CPUFallbackRenderingTools';
import type { IVolumeInput, VolumeInputCallback } from './IVolumeInput';
import type { IStackInput, StackInputCallback } from './IStackInput';
import type * as EventTypes from './EventTypes';
import type IRenderingEngine from './IRenderingEngine';
import type ActorSliceRange from './ActorSliceRange';
import type ImageSliceData from './ImageSliceData';
import type IGeometry from './IGeometry';
import type {
  PublicContourSetData,
  ContourSetData,
  ContourData,
} from './ContourData';
import type { PublicSurfaceData, SurfaceData } from './SurfaceData';
import type { PublicMeshData, MeshData } from './MeshData';
import type ICachedGeometry from './ICachedGeometry';
import type { IContourSet } from './IContourSet';
import type { IContour } from './IContour';
import type { IMesh } from './IMesh';
import type RGB from './RGB';
import type { Memo, HistoryMemo } from '../utilities/historyMemo';
import type { VoxelManager } from '../utilities/VoxelManager';
import type RLEVoxelMap from '../utilities/RLEVoxelMap';
import type { ColormapPublic, ColormapRegistration } from './Colormap';
import type { ViewportProperties } from './ViewportProperties';
import type {
  PixelDataTypedArray,
  PixelDataTypedArrayString,
} from './PixelDataTypedArray';
import type { ImagePixelModule } from './ImagePixelModule';
import type { ImagePlaneModule } from './ImagePlaneModule';
import type { AffineMatrix } from './AffineMatrix';
export type {
  RetrieveStage,
  RetrieveOptions,
  RangeRetrieveOptions,
  StreamingRetrieveOptions,
  NearbyFrames,
  IRetrieveConfiguration,
  IImagesLoader,
} from './IRetrieveConfiguration';
import type { ImageLoadListener } from './ImageLoadListener';
import type { Color, ColorLUT } from './Color';
import type VideoViewportProperties from './VideoViewportProperties';
import type WSIViewportProperties from './WSIViewportProperties';
import type { IVideoViewport } from './IVideoViewport';
import type {
  InternalVideoCamera,
  VideoViewportInput,
} from './VideoViewportTypes';
import type { ISurface } from './ISurface';
import type BoundsIJK from './BoundsIJK';
import type { ImageVolumeProps } from './ImageVolumeProps';
import type { VolumeProps } from './VolumeProps';
import type { BoundsLPS } from './BoundsLPS';
// Sometimes the type is needed rather than the class, so import
// the type only here.
import type {
  IPointsManager,
  PolyDataPointConfiguration,
} from './IPointsManager';
import type IImageFrame from './IImageFrame';
import type {
  DicomDateObject,
  DicomTimeObject,
  GeneralSeriesModuleMetadata,
  ImagePlaneModuleMetadata,
  SopCommonModuleMetadata,
  ImagePixelModuleMetadata,
  PatientStudyModuleMetadata,
  TransferSyntaxMetadata,
} from './MetadataModuleTypes';
import type { IVoxelManager } from './IVoxelManager';
import type { IRLEVoxelMap, RLERun } from './IRLEVoxelMap';
import type ImageLoadRequests from './ImageLoadRequests';
import type { IBaseVolumeViewport } from './IBaseVolumeViewport';
import type ScrollOptions from './ScrollOptions';
import type JumpToSliceOptions from './JumpToSliceOptions';
 
import type GeometryLoaderFn from './GeometryLoaderFn';
 
import type { RenderingEngineModeType } from './RenderingEngineMode';
import type { VtkOffscreenMultiRenderWindow } from './VtkOffscreenMultiRenderWindow';
 
export type {
  // config
  Cornerstone3DConfig,
  //
  ICamera,
  IStackViewport,
  IVideoViewport,
  IWSIViewport,
  IVolumeViewport,
  IEnabledElement,
  ICache,
  IVolume,
  IViewportId,
  IImageVolume,
  ImageVolumeProps,
  IDynamicImageVolume,
  IRenderingEngine,
  ScalingParameters,
  PTScaling,
  IPointsManager,
  PolyDataPointConfiguration,
  Scaling,
  IStreamingImageVolume,
  IImage,
  IImageData,
  IImageCalibration,
  CPUIImageData,
  CPUImageData,
  EventTypes,
  ImageLoaderFn,
  VolumeLoaderFn,
  IRegisterImageLoader,
  IStreamingVolumeProperties,
  IViewport,
  ViewReference,
  DataSetOptions as ImageSetOptions,
  ViewPresentation,
  ViewPresentationSelector,
  ReferenceCompatibleOptions,
  ViewReferenceSpecifier,
  StackViewportProperties,
  VolumeViewportProperties,
  ViewportProperties,
  PublicViewportInput,
  VolumeActor,
  Actor,
  ActorEntry,
  ImageActor,
  ICanvasActor,
  IImageLoadObject,
  IVolumeLoadObject,
  IVolumeInput,
  VolumeInputCallback,
  IStackInput,
  StackInputCallback,
  ViewportPreset,
  //
  Metadata,
  OrientationVectors,
  AABB2,
  AABB3,
  Point2,
  Point3,
  PointsXYZ,
  Point4,
  Mat3,
  Plane,
  ViewportInputOptions,
  VideoViewportProperties,
  WSIViewportProperties,
  VOIRange,
  VOI,
  DisplayArea,
  FlipDirection,
  ICachedImage,
  ICachedVolume,
  // CPU fallback types
  CPUFallbackEnabledElement,
  CPUFallbackViewport,
  CPUFallbackTransform,
  CPUFallbackColormapData,
  CPUFallbackViewportDisplayedArea,
  CPUFallbackColormapsData,
  CPUFallbackColormap,
  TransformMatrix2D,
  CPUFallbackLookupTable,
  CPUFallbackLUT,
  CPUFallbackRenderingTools,
  //
  CustomEventType,
  ActorSliceRange,
  ImageSliceData,
  // Geometry
  IGeometry,
  IGeometryLoadObject,
  ICachedGeometry,
  // Contour
  PublicContourSetData,
  ContourSetData,
  ContourData,
  IContourSet,
  IContour,
  // Surface
  PublicSurfaceData,
  SurfaceData,
  ISurface,
  // Mesh
  PublicMeshData,
  MeshData,
  IMesh,
  // Color
  RGB,
  ColormapPublic,
  ColormapRegistration,
  // PixelData
  PixelDataTypedArray,
  PixelDataTypedArrayString,
  ImagePixelModule,
  ImagePlaneModule,
  AffineMatrix,
  ImageLoadListener,
  // video
  InternalVideoCamera,
  VideoViewportInput,
  BoundsIJK,
  BoundsLPS,
  Color,
  ColorLUT,
  VolumeProps,
  IImageFrame,
  DicomDateObject,
  DicomTimeObject,
  GeneralSeriesModuleMetadata,
  ImagePlaneModuleMetadata,
  SopCommonModuleMetadata,
  ImagePixelModuleMetadata,
  PatientStudyModuleMetadata,
  TransferSyntaxMetadata,
  LocalVolumeOptions,
  IVoxelManager,
  IRLEVoxelMap,
  RLERun,
  ViewportInput,
  ImageLoadRequests,
  IBaseVolumeViewport,
  GeometryLoaderFn,
  ScrollOptions,
  JumpToSliceOptions,
  Memo,
  HistoryMemo,
  VoxelManager,
  RLEVoxelMap,
  RenderingEngineModeType,
  VtkOffscreenMultiRenderWindow,
};