Volume.d.ts 852 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. import {
  2. Matrix3,
  3. } from '../../../src/Three';
  4. import { VolumeSlice } from './VolumeSlice.js';
  5. export class Volume {
  6. constructor( xLength?: number, yLength?: number, zLength?: number, type?:string, arrayBuffer?: ArrayLike<number> );
  7. xLength: number;
  8. yLength: number;
  9. zLength: number;
  10. data: ArrayLike<number>;
  11. spacing: number[];
  12. offset: number[];
  13. matrix: Matrix3;
  14. lowerThreshold: number;
  15. upperThreshold: number;
  16. sliceList: VolumeSlice[];
  17. getData( i: number, j: number, k: number ): number;
  18. access( i: number, j: number, k: number ): number;
  19. reverseAccess( index: number ): number[];
  20. map( functionToMap: Function, context: this ): this;
  21. extractPerpendicularPlane ( axis: string, RASIndex: number ): object;
  22. extractSlice( axis: string, index: number ): VolumeSlice;
  23. repaintAllSlices(): this;
  24. computeMinMax(): number[];
  25. }