DicomObjects.NET.8.48 Documentation
DicomObjects Namespace / DicomImageFusion 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 System.Windows.Media.Media3D.Point3D, _
       ByVal Normal As System.Windows.Media.Media3D.Vector3D, _
       ByVal Up As System.Windows.Media.Media3D.Vector3D, _
       ByVal Zoom As System.Single _
    ) 
    'Usage
     
    
    Dim instance As DicomImageFusion
    Dim Centre As System.Windows.Media.Media3D.Point3D
    Dim Normal As System.Windows.Media.Media3D.Vector3D
    Dim Up As System.Windows.Media.Media3D.Vector3D
    Dim Zoom As System.Single
     
    instance.SetViewPlane(Centre, Normal, Up, Zoom)
    public void SetViewPlane( 
       System.Windows.Media.Media3D.Point3D Centre,
       System.Windows.Media.Media3D.Vector3D Normal,
       System.Windows.Media.Media3D.Vector3D Up,
       System.float Zoom
    )
    public procedure SetViewPlane( 
        Centre: System.Windows.Media.Media3D.Point3D;
        Normal: System.Windows.Media.Media3D.Vector3D;
        Up: System.Windows.Media.Media3D.Vector3D;
        Zoom: System.Single
    ); 
    public function SetViewPlane( 
       Centre : System.Windows.Media.Media3D.Point3D,
       Normal : System.Windows.Media.Media3D.Vector3D,
       Up : System.Windows.Media.Media3D.Vector3D,
       Zoom : System.float
    );
    public: void SetViewPlane( 
       System.Windows.Media.Media3D.Point3D Centre,
       System.Windows.Media.Media3D.Vector3D Normal,
       System.Windows.Media.Media3D.Vector3D Up,
       System.float Zoom
    ) 
    public:
    void SetViewPlane( 
       System.Windows.Media.Media3D.Point3D Centre,
       System.Windows.Media.Media3D.Vector3D Normal,
       System.Windows.Media.Media3D.Vector3D Up,
       System.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.8 or higher

    See Also