DicomObjects.NET.8.48 Documentation
DicomObjects Namespace / DicomImageFusion Class / SetViewPlane Method / SetViewPlane(Plane,Boolean,Single) Method
Controls whether the view is set to axial, sagital, coronal, or left unchanged
Controls whether to recentre the view to point to the centre of the image volume
The zoom factor to use - see notes in remarks






In This Topic
    SetViewPlane(Plane,Boolean,Single) Method
    In This Topic
    Set the view plane for the image, to one of 3 pre-defined views, with optional reset of centre and zoom
    Syntax
    'Declaration
     
    
    Public Overloads Sub SetViewPlane( _
       ByVal Plane As Plane, _
       ByVal Recentre As System.Boolean, _
       ByVal Zoom As System.Single _
    ) 
    'Usage
     
    
    Dim instance As DicomImageFusion
    Dim Plane As Plane
    Dim Recentre As System.Boolean
    Dim Zoom As System.Single
     
    instance.SetViewPlane(Plane, Recentre, Zoom)
    public void SetViewPlane( 
       Plane Plane,
       System.bool Recentre,
       System.float Zoom
    )
    public procedure SetViewPlane( 
        Plane: Plane;
        Recentre: System.Boolean;
        Zoom: System.Single
    ); 
    public function SetViewPlane( 
       Plane : Plane,
       Recentre : System.boolean,
       Zoom : System.float
    );
    public: void SetViewPlane( 
       Plane Plane,
       System.bool Recentre,
       System.float Zoom
    ) 
    public:
    void SetViewPlane( 
       Plane Plane,
       System.bool Recentre,
       System.float Zoom
    ) 

    Parameters

    Plane
    Controls whether the view is set to axial, sagital, coronal, or left unchanged
    Recentre
    Controls whether to recentre the view to point to the centre of the image volume
    Zoom
    The zoom factor to use - see notes in remarks
    Remarks

    Zoom is relative to a "standard" zoom which is internally calculated to include the whole image within the visible display area. If Zoom is 0, then the Zoom of the image is unchanged.

    For simple usage to reset the view to be based on the centre point of the image volume, with a conventional anatomical viewpoint, use Recentre = true, and zoom = 1

    Requirements

    Target Platforms: .NET CLR 4.8 or higher

    See Also