IMcViewNDTranslation Property
|
|
Sets/gets translation of the center of view.
Namespace:
MediaCy.IQL.Display.ViewerND
Assembly:
MediaCy.IQL.Display.ViewerND (in MediaCy.IQL.Display.ViewerND.dll) Version: 10.0.6912.0
SyntaxProperty Translation As Object
Get
Set
Return Value
Type:
ObjectTranslation vector (x,y,z) as DOUBLEPOINT3D.
RemarksThe default center of view is set to 0,0,0. The translation is in world coordinates,
the range is visible zone is from -1 to 1.
Translation can also be changed interactively by <Shift>-<Left Mouse Click>-<drag>.
Examples
With McViewND1
Dim i As Long, d As Double
For i = -100 To 100
d = i / 100#
.Translation = Array(d, d, d)
DoEvents
Next i
End With
See Also