ImageVolume
Hierarchy
- ImageVolume
Implements
Index
Constructors
constructor
Parameters
props: IVolume
Returns ImageVolume
Properties
cancelLoading
Type declaration
Returns void
dimensions
Dimensions of the volume
direction
volume direction in world space
hasPixelSpacing
whether the metadata for the pixel spacing is not undefined
optionalimageData
volume image data
isPrescaled
Whether preScaling has been performed on the volume
optionalloadStatus
load status object for the volume
metadata
volume metadata
numVoxels
volume number of voxels
origin
volume origin, Note this is an opinionated origin for the volume
optionalreferencedVolumeId
optional reference volume id if the volume is derived from another volume
optionalscaling
volume scaling parameters if it contains scaled data
Type declaration
optionalPET?: { SUVbsaFactor?: number; SUVlbmFactor?: number; suvbwToSuvbsa?: number; suvbwToSuvlbm?: number }
optionalSUVbsaFactor?: number
optionalSUVlbmFactor?: number
optionalsuvbwToSuvbsa?: number
optionalsuvbwToSuvlbm?: number
optionalsizeInBytes
volume size in bytes
spacing
volume spacing in 3d world space
readonlyvolumeId
Read-only unique identifier for the volume
vtkOpenGLTexture
open gl texture for the volume
Accessors
publicimageIds
return the image ids for the volume if it is made of separated images
Returns string[]
updates the image ids
Parameters
newImageIds: string[]
Returns void
Methods
destroy
destroy the volume and make it unusable
Returns void
publicgetImageIdIndex
return the index of a given imageId
Parameters
imageId: string
imageId
Returns number
imageId index
publicgetImageURIIndex
return the index of a given imageURI
Parameters
imageURI: string
Returns number
imageURI index
publicgetScalarData
Return the scalar data for 3D volumes or the active scalar data (current time point) for 4D volumes
Returns VolumeScalarData
publicisDynamicVolume
return true if it is a 4D volume or false if it is 3D volume
Returns boolean
The base class for volume data. It includes the volume metadata and the volume data along with the loading status.