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 As System.Windows.Media.Media3D.Point3D, _
ByVal As System.Windows.Media.Media3D.Vector3D, _
ByVal As System.Windows.Media.Media3D.Vector3D, _
ByVal As System.Single _
)
'Usage
Dim instance As DicomImage3D
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 ,
System.Windows.Media.Media3D.Vector3D ,
System.Windows.Media.Media3D.Vector3D ,
System.float
)
public procedure SetViewPlane(
: System.Windows.Media.Media3D.Point3D;
: System.Windows.Media.Media3D.Vector3D;
: System.Windows.Media.Media3D.Vector3D;
: System.Single
);
public function SetViewPlane(
: System.Windows.Media.Media3D.Point3D,
: System.Windows.Media.Media3D.Vector3D,
: System.Windows.Media.Media3D.Vector3D,
: System.float
);
public: void SetViewPlane(
System.Windows.Media.Media3D.Point3D ,
System.Windows.Media.Media3D.Vector3D ,
System.Windows.Media.Media3D.Vector3D ,
System.float
)
public:
void SetViewPlane(
System.Windows.Media.Media3D.Point3D ,
System.Windows.Media.Media3D.Vector3D ,
System.Windows.Media.Media3D.Vector3D ,
System.float
)
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
Requirements
Target Platforms: .NET CLR 4.8 or higher
See Also