DicomObjects.NET.V8
DicomObjects Namespace / DicomImage3D Class / SetViewPlane Method / SetViewPlane(Point3D,Vector3D,Vector3D,Single) Method
The coordinates of the centre of the plane
A vector defining the direction of view
The direction to be "up" in the resulting view.
The zoom factor to use - see notes in remarks



In This Topic
    SetViewPlane(Point3D,Vector3D,Vector3D,Single) Method
    In This Topic
    Set the view plane for the image, based on centre of the plane, the direction of view, and the "Up" direction.
    Syntax
    'Declaration
     
    Public Overloads Sub SetViewPlane( _
       ByVal Centre As Point3D, _
       ByVal Normal As Vector3D, _
       ByVal Up As Vector3D, _
       ByVal Zoom As Single _
    ) 
    'Usage
     
    Dim instance As DicomImage3D
    Dim Centre As Point3D
    Dim Normal As Vector3D
    Dim Up As Vector3D
    Dim Zoom As Single
     
    instance.SetViewPlane(Centre, Normal, Up, Zoom)
    public void SetViewPlane( 
       Point3D Centre,
       Vector3D Normal,
       Vector3D Up,
       float Zoom
    )
    public:
    void SetViewPlane( 
       Point3D Centre,
       Vector3D Normal,
       Vector3D Up,
       float Zoom
    ) 

    Parameters

    Centre
    The coordinates of the centre of the plane
    Normal
    A vector defining the direction of view
    Up
    The direction to be "up" in the resulting view.
    Zoom
    The zoom factor to use - see notes in remarks
    Remarks

    All coordinates are in "real world" coordinates, measured in mm.

    Zoom is relative to a "standard" zoom which is internally calculated to include the whole image within the visible display area.

    Requirements

    Target Platforms: .NET CLR 4.0 or higher

    See Also