DicomObjects.NET.8.48 Documentation
DicomObjects Namespace / IProjection Interface / 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 (IProjection)
    In This Topic
    Rotate view around a defined axis and based on a DicomViewer if available
    Syntax
    'Declaration
     
    
    Sub Rotate( _
       ByVal Angle As System.Single, _
       ByVal Axis As System.Windows.Media.Media3D.Vector3D, _
       Optional ByVal Viewer As DicomViewer _
    ) 
    'Usage
     
    
    Dim instance As IProjection
    Dim Angle As System.Single
    Dim Axis As System.Windows.Media.Media3D.Vector3D
    Dim Viewer As DicomViewer
     
    instance.Rotate(Angle, Axis, Viewer)
    void Rotate( 
       System.float Angle,
       System.Windows.Media.Media3D.Vector3D Axis,
       DicomViewer Viewer
    )
    procedure Rotate( 
        Angle: System.Single;
        Axis: System.Windows.Media.Media3D.Vector3D;
        Viewer: DicomViewer
    ); 
    function Rotate( 
       Angle : System.float,
       Axis : System.Windows.Media.Media3D.Vector3D,
       Viewer : DicomViewer
    );
    void Rotate( 
       System.float Angle,
       System.Windows.Media.Media3D.Vector3D Axis,
       DicomViewer* Viewer
    ) 
    void Rotate( 
       System.float Angle,
       System.Windows.Media.Media3D.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.8 or higher

    See Also