This is the interface for the 3D display implementation class. The Cog3DDisplayV2 user control holds
a ICog3DDisplayImpl member that represents the actual 3D engine implementation behind the scenes...
Namespace: Cognex.VisionPro3D.Implementation.InternalAssembly: Cognex.VisionPro3D.Graphic (in Cognex.VisionPro3D.Graphic.dll) Version: 73.0.0.0
Syntax
The ICog3DDisplayV2Impl type exposes the following members.
Methods
| Name | Description | |
|---|---|---|
| AddGeometryGraphic |
Adds a Cog3DGeometryGraphicBase to the display
| |
| AddVisionDataGraphic |
Adds a Cog3DVisionDataGraphicBase to the display
| |
| Clear |
Clears the content of the screen
| |
| CreateGeometryGraphicsGroup |
Creates a group for ICog3DShapeGraphic with the given name
| |
| CreateVisionDataGraphicsGroup |
Creates a group for ICog3DVisionDataGraphic with the given name
| |
| DebugDump |
Saves the content of the screen to the disk for debug purposes.
| |
| DisableDrawing |
Disables refreshing the screen
| |
| Dispose | Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. (Inherited from IDisposable.) | |
| EnableDrawing |
Enables refreshing the screen
| |
| FitView |
Zooms in/out to fit all the drawn objects into the view
Does not change the camera's orientation.
| |
| RemoveGraphic |
Removes the Cog3DGraphicBase object from the display
| |
| ResetView |
Resets the view to the default initial camera position and view direction.
Looking at the scene from the top along the Z axis in a way to fit the whole scene
| |
| SaveAsImage |
Renders the contents of the display to a PNG with the given resolution.
| |
| SetBackgroundColor |
Sets the background color of the display
| |
| SetView |
Change the camera's position and look direction in the 3-D space.
| |
| Update |
Updates the screen. Forces redraw.
| |
| UpdateGeometryGraphic |
Updates the Cog3DGeometryGraphicBase object on the display
| |
| UpdateVisionDataGraphic |
Updates the Cog3DVisionDataGraphicBase object on the display
|
Properties
| Name | Description | |
|---|---|---|
| CameraPosition |
Gets the camera's current position in the 3D scene's world space name
| |
| CameraTarget |
Gets the camera's current target position in the 3D scene's world space name
| |
| CameraUpDirection |
Gets the camera's current up direction in the 3D scene's world space name
| |
| DisplayMode |
Gets or sets the rendering mode for the display
| |
| IsDrawingEnabled |
Returns whether the screen refresh is enabled or not
| |
| MouseCoordinates |
Gets the current mouse coordinates in the 3D scene's world space name
|
Events
| Name | Description | |
|---|---|---|
| MouseCoordinatesChanged |
Event is fired when MouseCoordinates has changed
|
See Also