Name | Description | |
---|---|---|
Viewport Constructor | Overloaded. |
The following tables list the members exposed by Viewport.
Name | Description | |
---|---|---|
Viewport Constructor | Overloaded. |
Name | Description | |
---|---|---|
AutoHideLabels | Gets or sets the auto hide labels flag. If true labels are hidden automatically when behind the model. | |
Background | Gets or sets the background settings. | |
Camera | Gets or sets the Camera settings. | |
CenterOfRotation | Gets the current center of rotation. | |
CoordinateSystemIcon | Gets or sets the coordinate system icon settings. | |
DisplayMode | Gets or sets the active display mode. | |
Grid | Gets the first planar grids settings. | |
Grids | Gets or sets the planar grids settings. | |
InitialView | Gets or sets the active initial view. | |
InstanceId | For internal use only. Gets the instance id for the logging. | |
Labels | Master label collection. | |
Legends | Gets or sets the legend objects. | |
Location | The coordinates of the upper-left corner of the viewport relative to the upper-left corner of its container. | |
Navigation | Gets or sets the Navigation settings for the Camera.navigationType.Walk and Camera.navigationType.Fly camera navigation modes. | |
OriginSymbol | Gets or sets the origin symbol settings. | |
Pan | Gets or sets the Pan settings. | |
Rotate | Gets or sets the Rotate settings. | |
SavedViews | Gets or sets the manager of the saved views. | |
ShowLabels | Labels visibility status. | |
ShowVertexIndices | If true, the model vertices are displayed. | |
ShowVertices | If true, the model vertices are displayed. | |
Size | The size of the viewport in pixels. | |
SortLabels | Sorts the Labels using the depth from the viewer. | |
ToolBar | Gets the first ToolBar settings in the active viewport. | |
ToolBars | Gets or sets the ToolBars settings. | |
VertexSize | Gets or sets the vertex visualization size (meaningful only if ShowVertices is true). | |
ViewCubeIcon | Gets or sets the view cube icon settings. | |
Zoom | Gets or sets the Zoom settings. |
Name | Description | |
---|---|---|
AdjustNearAndFarPlanes | Adjusts camera near and far planes based on model extents and on origin symbol, grid and shadow visibility status. | |
Clone | ||
CompareWithReferenceImage | Overloaded. Executes a 3D scene visual testing. | |
CompileBackground | Compiles the background, used by the designer. | |
CompileUserInterfaceElements | Compiles 3D user interface elements like the origin symbol, the bitmap background, the FEM restraint and load symbols, etc. | |
Contains | ||
CopyToClipboardRaster | Overloaded. Copies a raster image of the current viewport scene on the clipboard. | |
CreateReferenceImage | Create a bitmap for the image comparison. | |
Dispose | Overridden. | |
GetBitmapSizeToPrintInWorldUnits | Gets the size to print the viewport so that world units in the model correspond to world units on paper. | |
GetBounds | Gets the bounds rectangle in screen coordinates. | |
GetCameraFrustum | Gets the planes of the viewport camera frustum. | |
GetCameraRotation | Gets the devDept.Geometry.Quaternion that describes the orientation of the given view. | |
GetThumbnail | Gets a bitmap of the user inteferace element. | |
GetViewFrame | Gets the viewport bounds. | |
Invalidate | ||
IsCameraAnimating | Tells if the Camera is performing an animation. | |
OrientCamera | Orients the Camera between the two specified points. | |
PanCamera | Overloaded. Pans the view from one screen point to the other. | |
Project | Overloaded. Maps world coordinates to screen coordinates. | |
RenderToBitmap | Overloaded. Returns an image of the current ViewportLayout viewport scene. The image can be scaled even to a poster size one. | |
RestoreView | Restores the previously saved view. | |
RotateCamera | Overloaded. Rotates the view of the specified amount. | |
SaveView | Stores the current view. | |
ScaleForDPI | Scales the element for high DPI settings. | |
ScreenToPlane | Overloaded. Maps screen coordinates to world coordinates. | |
ScreenToViewport | Overloaded. Converts Screen coordinates (0 on top of control) to Viewport coordinates (0 on top of viewport) | |
ScreenToWorld | Overloaded. Maps screen coordinates to world coordinates. | |
SetView | Overloaded. Sets the view direction of the camera to the specified direction. | |
StopCameraAnimation | Stops the camera animation. | |
ToString | ||
UnProject | Overloaded. Maps viewport coordinates to world coordinates. | |
Update | ||
UpdateViewportLayout | Updates the viewport in both desing-time and run-time mode. If necessary adjust near and far planes to accomodate origin symbols of various sizes. | |
ViewportToCameraScreen | Converts Viewport coordinates (0 on top of viewport) to Camera Screen coordinates (0 on bottom of control) | |
ViewportToScreen | Converts Viewport coordinates (0 on top of viewport) to Screen coordinates (0 on top of control) | |
WorldToScreen | Overloaded. Maps world coordinates to screen coordinates. | |
WriteToFileRaster | Overloaded. Saves a raster image of the current viewport scene on disk. | |
ZoomCamera | Overloaded. Zooms the view of the specified amount. | |
ZoomFit | Overloaded. Fits the entire model in the viewport control's client area. | |
ZoomFitSelectedLeaves | Overloaded. Fits the selected entities, including the ones inside BlockReferences. | |
ZoomWindow | Zooms to the specified window. |
Name | Description | |
---|---|---|
DrawBackground | Draws the viewport background. | |
DrawForBitmap | ||
DrawLabels | Draws the labels. | |
DrawOverlay | Draws ovelaying UI elements. | |
DrawText | Overloaded. Draws a text on the ViewportLayout's client area. | |
FireLabelSelectionChanged | ||
GetNormal |
Name | Description | |
---|---|---|
LabelSelectionChanged | Occurs when label selection has changed. | |
UpdateGraphics | Occurs when graphics is updated. | |
ViewRestored | Occurs when a view is restored from the Viewport.SavedViewsManager. | |
ViewSaved | Occurs when a view is saved in the Viewport.SavedViewsManager. |