LEADTOOLS Medical (Leadtools.Medical3D assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.30
Medical3DCamera Constructor(Single,Single,Single,Single,Single,Single,Medical3DProjectionMethod)
See Also 
Leadtools.Medical3D Namespace > Medical3DCamera Class > Medical3DCamera Constructor : Medical3DCamera Constructor(Single,Single,Single,Single,Single,Single,Medical3DProjectionMethod)



xRotation
X-rotation angle. Possible values range from -180 to 180.
yRotation
Y-rotation angle. Possible values range from -90 to 90.
zRotation
Z-rotation angle. Possible values range from 0 to 360.
Zoom
The camera zooming. Possible values range from 1 to 190. Default value is 128.
xOffset
X-offset.
yOffset
Y-offset.
method
The camera projection method.
Initializes a new instance of the class Medical3DCamera with explicit parameters.

Syntax

Visual Basic (Declaration) 
Public Function New( _
   ByVal xRotation As Single, _
   ByVal yRotation As Single, _
   ByVal zRotation As Single, _
   ByVal Zoom As Single, _
   ByVal xOffset As Single, _
   ByVal yOffset As Single, _
   ByVal method As Medical3DProjectionMethod _
)
Visual Basic (Usage)Copy Code
Dim xRotation As Single
Dim yRotation As Single
Dim zRotation As Single
Dim Zoom As Single
Dim xOffset As Single
Dim yOffset As Single
Dim method As Medical3DProjectionMethod
 
Dim instance As New Medical3DCamera(xRotation, yRotation, zRotation, Zoom, xOffset, yOffset, method)
C# 
public Medical3DCamera( 
   float xRotation,
   float yRotation,
   float zRotation,
   float Zoom,
   float xOffset,
   float yOffset,
   Medical3DProjectionMethod method
)
C++/CLI 
public:
Medical3DCamera( 
   float xRotation,
   float yRotation,
   float zRotation,
   float Zoom,
   float xOffset,
   float yOffset,
   Medical3DProjectionMethod method
)

Parameters

xRotation
X-rotation angle. Possible values range from -180 to 180.
yRotation
Y-rotation angle. Possible values range from -90 to 90.
zRotation
Z-rotation angle. Possible values range from 0 to 360.
Zoom
The camera zooming. Possible values range from 1 to 190. Default value is 128.
xOffset
X-offset.
yOffset
Y-offset.
method
The camera projection method.

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7

See Also

Leadtools.Medical3D requires a Document or Medical toolkit license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features