# Display 3D $ Functions

The Display 3D WebPage element has the following published $ functions:

Function | Property Parameters (with Data Type) | Description
--- | --- | ---
$WebPages.WebPage.Display3D.BackView | N/A | Changes the view to display the point cloud on the X and Z-axes, in a Y-axis direction. In other words, this view shows the point cloud "from the back side", and the orientation on-screen is as if looking at the inspected part facing from camera-to-laser behind the 3D vision system.
$WebPages.WebPage.Display3D.BottomView | N/A | Change the view to display the point cloud on the Y-axis and a reverse X-axis, in a Z-axis direction. In other words, this view shows the point cloud "from the bottom", with the perspective aimed toward the camera sensor.
$WebPages.WebPage.Display3D.CancelEditGraphic | N/A | Cancels edits made to a graphic. If there are multiple buttons with Edit Graphic commands on a WebPage, a single button with the Cancel Edit Graphic function will work with all of the Edit Graphic buttons.
$WebPages.WebPage.Display3D.EditGraphic | address: String | This function is tied to a specific In-Sight Vision Tool Controls Functions graphic, typically for editing a Region of Interest (ROI). When configuring the Edit Graphic function, the address property must be specified, which defines which ROI control the graphic corresponds to, such as: $WebPages.WebPage.Display3D.EditGraphic("/is3d/app/sheets/Tasks_Task_InSightToolBlock/cells/Region"); Note: The address property string contains sections that may vary, based on the names given to various pieces of the job (i.e. these properties can be renamed by the user).
$WebPages.WebPage.Display3D.EnableHeightColoring | bool | Enables or disables the Z-Axis Height Color Map and the Color Map Legend, indicating the height of the point cloud points on the Z-axis, relative to the top and bottom Z-threshold values.
$WebPages.WebPage.Display3D.EndEditGrapic | N/A | Accepts any changes made to a graphic, and saves the changes to the vision system. If there are multiple buttons with Edit Graphic functions on a WebPage, a single button with the End Edit Graphic function will work with all of the Edit Graphic buttons.
$WebPages.WebPage.Display3D.FitView | N/A | Fits the 3D point cloud to the display. The point cloud will automatically scale to be maximally displayed in the viewer. The original aspect ratio of the point cloud is also maintained, therefore it may not fill the viewer completely.
$WebPages.WebPage.Display3D.FrontView | N/A | Changes the view to display the point cloud on the Z-axis and a reverse X-axis, in a reverse Y-axis direction. In other words, this view shows the point cloud "from the front", and the orientation on-screen is as if looking at the inspected part facing from camera-to-laser in front of the 3D vision system.
$WebPages.WebPage.Display3D.IsEditingInProgress | bool | Checks if graphic editing is currently in progress on the Display3D element.
$WebPages.WebPage.Display3D.IsometricView | N/A | Changes the view to isometric, with all three coordinate axes appearing equally foreshortened, and the angle between any two of them being 120 degrees. This is the default perspective.
$WebPages.WebPage.Display3D.LambertLighting | bool | Enables or disables ambient directional Lambert lighting. When set to True, Lambert lighting is enabled. When set to False, lighting on the 3D scene is cast from the Z-axis instead.
$WebPages.WebPage.Display3D.LeftView | N/A | Changes the view to display the point cloud on the Y and Z-axes, in a reverse X-axis direction (in other words, shows the point cloud "from the left").
$WebPages.WebPage.Display3D.RightView | N/A | Changes the view to display the point cloud on the Z-axis and a reverse Y-axis, in an X-axis direction (in other words, shows the point cloud "from the right").
$WebPages.WebPage.Display3D.StatusBarVisible | bool | Specifies whether the bottom status bar of the Display3D element is shown or hidden if the job is Online. Hiding the status bar with False can be useful if you do not need the coordinate information displayed for the mouse cursor's current location on-screen.
$WebPages.WebPage.Display3D.ToolbarVisible | bool | Specifies whether the top toolbar of the display is shown or hidden if the job is Online. Hiding the toolbar with False can be useful to save space on the web page if you plan to manipulate the point cloud view with custom Button controls instead of the default Display3D toolbar buttons.
$WebPages.WebPage.Display3D.TopView | N/A | Changes the view to display the point cloud on the X and Y axes, in a reverse Z-axis direction. In other words, this view shows the point cloud "from the top", from the perspective of the camera sensor.

These published functions can be assigned, for example, to Button WebPage controls to manipulate the point cloud view even if the toolbar of the Display3D element is turned off.