C# Class ClearCanvas.ImageViewer.Graphics.MammographyImageSpatialTransform

Inheritance: ClearCanvas.ImageViewer.Graphics.ImageSpatialTransform
Show file Open project: jasper-yeh/ClearCanvas Class Usage Examples

Public Methods

Method Description
MammographyImageSpatialTransform ( IGraphic ownerGraphic, int rows, int columns, double pixelSpacingX, double pixelSpacingY, double pixelAspectRatioX, double pixelAspectRatioY, PatientOrientation patientOrientation, string laterality ) : System

Initializes a new instance of MammographyImageSpatialTransform with the specified image plane details.

Protected Methods

Method Description
CalculatePreTransform ( System.Drawing.Drawing2D.Matrix cumulativeTransform ) : void
MammographyImageSpatialTransform ( MammographyImageSpatialTransform source, ICloningContext context ) : System

Cloning constructor.

ResetCore ( ) : void

Private Methods

Method Description
GetCurrentPosteriorVector ( Vector3D imagePosterior, int sourceWidth, float adjustedSourceHeight, int rotation, float scaleX, float scaleY, bool flipX, bool flipY ) : Vector3D
GetEffectivePosteriorPatientOrientation ( string &row, string &column ) : void

Gets the effective posterior (or anterior) patient orientation after transforms have been applied.

GetNormativeOrientationVectors ( string laterality, Vector3D &headVector, Vector3D &leftVector, Vector3D &posteriorVector ) : void
GetPatientOrientationVectors ( PatientOrientation patientOrientation, Vector3D &headVector, Vector3D &leftVector, Vector3D &posteriorVector ) : void

Method Details

CalculatePreTransform() protected method

protected CalculatePreTransform ( System.Drawing.Drawing2D.Matrix cumulativeTransform ) : void
cumulativeTransform System.Drawing.Drawing2D.Matrix
return void

MammographyImageSpatialTransform() public method

Initializes a new instance of MammographyImageSpatialTransform with the specified image plane details.
public MammographyImageSpatialTransform ( IGraphic ownerGraphic, int rows, int columns, double pixelSpacingX, double pixelSpacingY, double pixelAspectRatioX, double pixelAspectRatioY, PatientOrientation patientOrientation, string laterality ) : System
ownerGraphic IGraphic
rows int
columns int
pixelSpacingX double
pixelSpacingY double
pixelAspectRatioX double
pixelAspectRatioY double
patientOrientation PatientOrientation
laterality string
return System

MammographyImageSpatialTransform() protected method

Cloning constructor.
protected MammographyImageSpatialTransform ( MammographyImageSpatialTransform source, ICloningContext context ) : System
source MammographyImageSpatialTransform The source object from which to clone.
context ICloningContext The cloning context object.
return System

ResetCore() protected method

protected ResetCore ( ) : void
return void