Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

Index

Constructors

constructor

Properties

active

active: boolean = false

closureMaterial

closureMaterial: Material = ...

Private constraint

constraint: "y" | "z" | "normal" = null

isSlicing

isSlicing: boolean = false

Private movePlaneRef

movePlaneRef: Vector3 = ...

Private movingPlane

movingPlane: boolean = false

Private movingStart

movingStart: PlanesIntersects = null

multiplier

multiplier: number = 10000

name

name: string = 'slice'

offsetClosureFromPlane

offsetClosureFromPlane: number = 0.01

Private originalMouse

originalMouse: Vector2 = null

Private originalOrientation

originalOrientation: Vector3 = null

Private originalPlanePoint

originalPlanePoint: Vector3 = null

Private originalPosition

originalPosition: Vector3 = null

Private originalQuaternion

originalQuaternion: Quaternion = null

Private originalYPoint

originalYPoint: Vector3 = null

Private originalZPoint

originalZPoint: Vector3 = null

Private overlayPlane

overlayPlane: PlaneHelper

Private overlayTool

overlayTool: Group

Private plane

plane: Plane = ...

Private planeHelper

planeHelper: Line

refNormal

refNormal: Vector3 = ...

service

showPlaneHelper

showPlaneHelper: boolean = true

showSliceTranslation

showSliceTranslation: boolean = true

showSliceYRotation

showSliceYRotation: boolean = true

showSliceZRotation

showSliceZRotation: boolean = false

Private subscriptions

subscriptions: Subscription[] = ...

three

Private toolOrientation

toolOrientation: Vector3 = ...

Private toolPosition

toolPosition: Vector3 = ...

xProp

xProp: string = 'x'

Private yPlane

yPlane: Plane = null

yProp

yProp: string = 'y'

Private zPlane

zPlane: Plane = null

Methods

activate

Private adjustActiveTool

  • adjustActiveTool(): void

Private adjustOverlayToolPosition

  • adjustOverlayToolPosition(): void

Private adjustOverlayToolZoom

  • adjustOverlayToolZoom(): void

canRegister

  • canRegister(): boolean

clearSlicing

  • clearSlicing(): void

Private createOverlayPlane

  • createOverlayPlane(): void

Private createOverlayTool

  • createOverlayTool(): void

deactivate

  • deactivate(): void

Private displaySliceOverlayPlane

  • displaySliceOverlayPlane(): void

Private displaySliceOverlayTool

  • displaySliceOverlayTool(): void

Private generateClosures

  • generateClosures(): void

generateObjectClosure

  • generateObjectClosure(object: Mesh, plane: Plane): Mesh[]

handlePlanesIntersects

Private hideClosures

  • hideClosures(): void

Private hideSliceOverlayPlane

  • hideSliceOverlayPlane(): void

Private hideSliceOverlayTool

  • hideSliceOverlayTool(): void

onActivate

  • onActivate(): void

onDeactivate

  • onDeactivate(): void

revertPlane

  • revertPlane(): void

Private round

  • round(v: Vector3): Vector3

Private setConstraint

  • setConstraint(constraint: "y" | "z" | "normal"): void

setPlane

  • setPlane(plane: "X" | "Y" | "Z" | Plane): void

Private setPlaneFromTool

  • setPlaneFromTool(): void

sliceOrientation

  • sliceOrientation(): Vector3

slicePosition

  • slicePosition(): Vector3

toggleSliceTool

  • toggleSliceTool(): void

toggleSlicing

  • toggleSlicing(value?: boolean): void

Generated using TypeDoc