DicomObjects.NET.8.48 Documentation
DicomObjects Namespace / DicomImageFusion 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 (DicomImageFusion)
    In This Topic
    Rotate view around a defined axis and based on a DicomViewer if available
    Syntax
    'Declaration
     
    
    Public Sub Rotate( _
       ByVal Angle As System.Single, _
       ByVal Axis As System.Windows.Media.Media3D.Vector3D, _
       Optional ByVal Viewer As DicomViewer _
    ) 
    'Usage
     
    
    Dim instance As DicomImageFusion
    Dim Angle As System.Single
    Dim Axis As System.Windows.Media.Media3D.Vector3D
    Dim Viewer As DicomViewer
     
    instance.Rotate(Angle, Axis, Viewer)
    public void Rotate( 
       System.float Angle,
       System.Windows.Media.Media3D.Vector3D Axis,
       DicomViewer Viewer
    )
    public procedure Rotate( 
        Angle: System.Single;
        Axis: System.Windows.Media.Media3D.Vector3D;
        Viewer: DicomViewer
    ); 
    public function Rotate( 
       Angle : System.float,
       Axis : System.Windows.Media.Media3D.Vector3D,
       Viewer : DicomViewer
    );
    public: void Rotate( 
       System.float Angle,
       System.Windows.Media.Media3D.Vector3D Axis,
       DicomViewer* Viewer
    ) 
    public:
    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.For a DicomImageFusion object, this passes the transformation on to all images in the collection which support IProjection
    Requirements

    Target Platforms: .NET CLR 4.8 or higher

    See Also