'Declaration Public Overloads Function GetPlaneSize( _ ByRef x1 As Integer, _ ByRef y1 As Integer, _ ByRef x2 As Integer, _ ByRef y2 As Integer, _ ByVal viewType As ImGearMprViewType, _ ByVal rotateAxes As Boolean _ ) As IImGearSize
'Usage Dim instance As ImGearMprProcessor Dim x1 As Integer Dim y1 As Integer Dim x2 As Integer Dim y2 As Integer Dim viewType As ImGearMprViewType Dim rotateAxes As Boolean Dim value As IImGearSize value = instance.GetPlaneSize(x1, y1, x2, y2, viewType, rotateAxes)
public IImGearSize GetPlaneSize( ref int x1, ref int y1, ref int x2, ref int y2, ImGearMprViewType viewType, bool rotateAxes )
public: IImGearSize* GetPlaneSize( ref int x1, ref int y1, ref int x2, ref int y2, ImGearMprViewType viewType, bool rotateAxes )
public: IImGearSize^ GetPlaneSize( int% x1, int% y1, int% x2, int% y2, ImGearMprViewType viewType, bool rotateAxes )
Parameters
- x1
- Start X coordinate of the plane.
- y1
- Start Y coordinate of the plane.
- x2
- End X coordinate of the plane.
- y2
- End Y coordinate of the plane.
- viewType
- Specifies on which view to perform calculation.
- rotateAxes
- Indicates whether to rotate axes, so vertical axis becomes horizontal and vise versa. Should be true when reconstructing sagittal view from coronal view, or axial and coronal views from saggital view; false otherwise.
Return Value
Expected size of the reconstructed view.