Class ScrollAdaptorData

Store data required for scrolling

Hierarchy

  • ScrollAdaptorData

Index

Constructors

constructor

Properties

currentSlice

currentSlice: number = 0

spacinginDirection

spacinginDirection: number = null

totalSlices

totalSlices: number = 0

useSpecifiedSpacing

useSpecifiedSpacing: boolean = false

vdc

volumeBoxPoints

volumeBoxPoints: Vector[]

Methods

computeSpacing

  • computeSpacing(zVectorFromTransform: Vector, spacing: Vector): number
  • Parameters

    Returns number

updateCurrentandTotalSlicefromRP

  • Call this function with render parameters obtained with the image to get the current and total slices The function assumes that the adaptor has been constructed with VolumeDataContext so that volume box parameters are valid This function does not do anything during the scrolling operation itself, rather is helper function to get location in image before it is rendered

    Parameters

    Returns void