|
void | OnEnable () |
|
void | OnDisable () |
|
void | OnScroll (PointerEventData eventData) |
|
void | OnPointerDown (PointerEventData eventData) |
|
void | OnPointerUp (PointerEventData eventData) |
|
void | OnPointerHover (PointerEventData eventData) |
|
Vector2 | uvToPixel (Vector2 uv) |
|
Vector3 | pixelTo3DPos (Vector2 pixel) |
|
Vector2 | imageUVtoLayerUV (Vector2 imageUV) |
|
void | Update () |
|
void | SetLevel (float newLevel) |
|
void | SetWindow (float newWindow) |
|
int | savedLayerForSeriesUID (string seriesUID) |
|
void | LayerChanged (float newVal) |
|
void | SetDicom (DICOM2D dicom) |
|
void | ApplyScaleAndPosition () |
|
void | FlipHorizontal () |
|
void | FlipVertical () |
|
void | SetMask (Texture2D texture) |
|
void | ResetMask () |
|
Definition at line 10 of file DicomDisplayImage.cs.
Vector3 DicomDisplayImage.pixelTo3DPos |
( |
Vector2 |
pixel | ) |
|
|
inline |
Transform 2D pixel on current slice to 3D position
- Note
- This only works on slices at the moment, not in volumes.
Definition at line 143 of file DicomDisplayImage.cs.
void DicomDisplayImage.ResetMask |
( |
| ) |
|
|
inline |
int DicomDisplayImage.savedLayerForSeriesUID |
( |
string |
seriesUID | ) |
|
|
inline |
If a series was previously loaded, reload the last shown layer:
Definition at line 351 of file DicomDisplayImage.cs.
void DicomDisplayImage.SetMask |
( |
Texture2D |
texture | ) |
|
|
inline |
Set an additional RGB texture which is drawn over the DICOM Can be used to draw annotations/labels, additional info etc. on the DICOM
Definition at line 478 of file DicomDisplayImage.cs.
Vector2 DicomDisplayImage.uvToPixel |
( |
Vector2 |
uv | ) |
|
|
inline |
Given a uv coordinate on the DicomDisplayImage (for example a mouse position), calculate which pixel was hit. This uses the Dicom's current displacement and zooming to calculate the pixel
Definition at line 129 of file DicomDisplayImage.cs.
The documentation for this class was generated from the following file: