VolumeSlice.d.ts 519 B

123456789101112131415161718192021222324252627282930313233
  1. import {
  2. Matrix3,
  3. Mesh,
  4. } from '../../../src/Three';
  5. import { Volume } from './Volume';
  6. export class VolumeSlice {
  7. constructor( volume: Volume, index?: number, axis?: string );
  8. index: number;
  9. axis: string;
  10. canvas: HTMLCanvasElement;
  11. canvasBuffer: HTMLCanvasElement;
  12. ctx: CanvasRenderingContext2D;
  13. ctxBuffer: CanvasRenderingContext2D;
  14. mesh: Mesh;
  15. geometryNeedsUpdate: boolean;
  16. sliceAccess: number;
  17. jLength: number;
  18. iLength: number;
  19. matrix: Matrix3;
  20. repaint(): void;
  21. updateGeometry(): void;
  22. }