IMHOTEP Framework
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties Pages
Public Member Functions | Public Attributes | Properties | List of all members
DICOM2D Class Reference
Inheritance diagram for DICOM2D:
Inheritance graph
[legend]
Collaboration diagram for DICOM2D:
Collaboration graph
[legend]

Public Member Functions

 DICOM2D (DICOMSeries seriesInfo, int slice)
 
Texture2D getTexture2D ()
 
- Public Member Functions inherited from DICOM
 DICOM (DICOMSeries seriesInfo)
 
void setupTransformationMatrices ()
 
Vector3 transformPixelToPatientPos (Vector2 pixel, float layer=0)
 
Vector3 transformPatientPosToPixel (Vector3 pos)
 
Vector3 transformPatientPosToDiscretePixel (Vector3 pos)
 

Public Attributes

Color32[] colors
 

Properties

int slice [get, set]
 
SliceOrientation sliceOrientation [get, set]
 
- Properties inherited from DICOM
DICOMSeries seriesInfo [get, set]
 
int dimensions [get, set]
 
int texWidth [get, set]
 
int texHeight [get, set]
 
int texDepth [get, set]
 
int origTexWidth [get, set]
 
int origTexHeight [get, set]
 
int origTexDepth [get, set]
 
int texPaddingWidth [get, set]
 
int texPaddingHeight [get, set]
 
int texPaddingDepth [get, set]
 
Image image [get, set]
 
Vector3 origin [get, set]
 
Vector2 pixelSpacing [get, set]
 
Vector3 sliceOffset [get]
 
Vector3 directionCosineX [get, set]
 
Vector3 directionCosineY [get, set]
 
Vector3 sliceNormal [get, set]
 
Matrix4x4 pixelToPatient [get, set]
 
Matrix4x4 patientToPixel [get, set]
 

Additional Inherited Members

- Static Public Member Functions inherited from DICOM
static Color32 F2C (UInt32 value)
 

Detailed Description

DICOM Slice, may be part of a volume.

Definition at line 8 of file DICOM2D.cs.

Member Function Documentation

Texture2D DICOM2D.getTexture2D ( )
inline

Returns the image as a texture. If the texture does not already exist, this function creates it.

Definition at line 217 of file DICOM2D.cs.

Member Data Documentation

Color32 [] DICOM2D.colors

Raw color values

Definition at line 14 of file DICOM2D.cs.

Property Documentation

int DICOM2D.slice
getset

The slice this DICOM image represents.

Definition at line 11 of file DICOM2D.cs.

SliceOrientation DICOM2D.sliceOrientation
getset

Approximate slice orientation of the slices in this series. Returns coronal, saggital or transverse depending on which way the normal of the slices is facing.

Note
This is only an approximation. "Intermediate" orientations are "rounded" to the nearest orientation. This means that, for example, if a series is a transverse series then this function will correctly return "transverse". However, if it is slightly tilted away from the transverse orientation, this will still return transverse.

Definition at line 28 of file DICOM2D.cs.


The documentation for this class was generated from the following file: