Eyeshot 10 WPF API Reference
Viewport Class Methods


WPF Assembly > devDept.Eyeshot Namespace : Viewport Class

For a list of all members of this type, see Viewport members.

Public Methods
 NameDescription
Public Method Adjusts camera near and far planes based on model extents and on origin symbol, grid and shadow visibility status.  
Public Method  
Public MethodOverloaded.  Executes a 3D scene visual testing.  
Public Method Compiles the background, used by the designer.  
Public Method Compiles 3D user interface elements like the origin symbol, the bitmap background, the FEM restraint and load symbols, etc.  
Public Method  
Public MethodOverloaded.  Copies a raster image of the current viewport scene on the clipboard.  
Public Method Create a bitmap for the image comparison.  
Public MethodOverridden.   
Public Method Gets the size to print the viewport so that world units in the model correspond to world units on paper.  
Public MethodOverridden.   
Public Method Gets the planes of the viewport camera frustum.  
Public MethodGets the devDept.Geometry.Quaternion that describes the orientation of the given view.  
Public MethodOverridden.  Gets a bitmap of the user inteferace element.  
Public Method Gets active viewport grid object  
Public Method Gets the viewport bounds.  
Public Method  
Public Method Tells if the Camera is performing an animation.  
Public Method Orients the Camera between the two specified points.  
Public MethodOverloaded.  Pans the view from one screen point to the other.  
Public MethodOverloaded.  Maps world coordinates to screen coordinates.  
Public MethodOverloaded. Returns an image of the current ViewportLayout viewport scene. The image can be scaled even to a poster size one.  
Public Method Restores the previously saved view.  
Public MethodOverloaded. Sets the view direction as the normal of the plane under the mouse cursor.  
Public Method Stores the current view.  
Public MethodOverloaded.  Maps screen coordinates to world coordinates.  
Public MethodOverloaded.  Converts Screen coordinates (0 on top of control) to Viewport coordinates (0 on top of viewport)  
Public MethodOverloaded.  Maps screen coordinates to world coordinates.  
Public MethodOverloaded. Sets the view direction of the camera to the specified direction.  
Public Method Stops the camera animation.  
Public Method  
Public MethodOverloaded.  Maps viewport coordinates to world coordinates.  
Public MethodOverridden.   
Public Method 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.  
Public Method Converts Viewport coordinates (0 on top of viewport) to Camera Screen coordinates (0 on bottom of control)  
Public Method Converts Viewport coordinates (0 on top of viewport) to Screen coordinates (0 on top of control)  
Public MethodOverloaded.  Maps world coordinates to screen coordinates.  
Public MethodOverloaded. Saves a raster image of the current viewport scene on disk.  
Public MethodOverloaded.  Zooms the view of the specified amount.  
Public MethodOverloaded.  Fits the entire model in the viewport control's client area.  
Public MethodOverloaded.  Fits the selected entities, including the ones inside BlockReferences.  
Public Method Zooms to the specified window.  
Top
Protected Methods
 NameDescription
Protected Internal MethodDraws the viewport background.  
Protected MethodOverridden.   
Protected Internal Method Draws the labels.  
Protected Internal Method Draws ovelaying UI elements.  
Protected Internal MethodOverloaded. Draws a text on the ViewportLayout's client area.  
Protected Internal Method  
Protected Method  
Top
See Also

Reference

Viewport Class
devDept.Eyeshot Namespace