DicomObjects.NET.V8
DicomObjects Namespace / DicomImage3D Class / Rotate Method
The angle to rotate, measured clockwise in degrees
The axis around which to rotate the view
Display parameters of this viewer instance to use for applying rotation



In This Topic
    Rotate Method (DicomImage3D)
    In This Topic
    Rotate view around a defined axis and based on a DicomViewer if available
    Syntax
    'Declaration
     
    Public Sub Rotate( _
       ByVal Angle As Single, _
       ByVal Axis As Vector3D, _
       Optional ByVal Viewer As DicomViewer _
    ) 
    'Usage
     
    Dim instance As DicomImage3D
    Dim Angle As Single
    Dim Axis As Vector3D
    Dim Viewer As DicomViewer
     
    instance.Rotate(Angle, Axis, Viewer)
    public void Rotate( 
       float Angle,
       Vector3D Axis,
       DicomViewer Viewer
    )
    public:
    void Rotate( 
       float Angle,
       Vector3D Axis,
       DicomViewer^ Viewer
    ) 

    Parameters

    Angle
    The angle to rotate, measured clockwise in degrees
    Axis
    The axis around which to rotate the view
    Viewer
    Display parameters of this viewer instance to use for applying rotation
    Remarks
    Viewer instance is used mainly for ImageFusion with 2D images, never used in 3D.
    Requirements

    Target Platforms: .NET CLR 4.0 or higher

    See Also