DicomObjects.NET.V8
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 Boolean, _
       ByVal Zoom As Single _
    ) 
    'Usage
     
    Dim instance As DicomImageFusion
    Dim Plane As Plane
    Dim Recentre As Boolean
    Dim Zoom As Single
     
    instance.SetViewPlane(Plane, Recentre, Zoom)
    public void SetViewPlane( 
       Plane Plane,
       bool Recentre,
       float Zoom
    )
    public:
    void SetViewPlane( 
       Plane Plane,
       bool Recentre,
       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.0 or higher

    See Also