Leadtools.Medical3D Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.03.01
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 value ranges from -180 to 180.
yRotation
Y-rotation angle. Possible value ranges from -90 to 90.
zRotation
Z-rotation angle. Possible value ranges from 0 to 360.
Zoom
The camera zooming. Possible value ranges from 1 to 190. Default value is 128.
xOffset
X-offset.
yOffset
Y-offset.
method
The camera projection method of viewing objects.
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 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 value ranges from -180 to 180.
yRotation
Y-rotation angle. Possible value ranges from -90 to 90.
zRotation
Z-rotation angle. Possible value ranges from 0 to 360.
Zoom
The camera zooming. Possible value ranges from 1 to 190. Default value is 128.
xOffset
X-offset.
yOffset
Y-offset.
method
The camera projection method of viewing objects.

Requirements

Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family

See Also

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