ICog3DDisplayV2Impl InterfaceCognex VisionPro 9.7
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.Internal
Assembly: Cognex.VisionPro3D.Graphic (in Cognex.VisionPro3D.Graphic.dll) Version: 73.0.0.0
Syntax

public interface ICog3DDisplayV2Impl : IDisposable

The ICog3DDisplayV2Impl type exposes the following members.

Methods

  NameDescription
Public methodAddGeometryGraphic
Adds a Cog3DGeometryGraphicBase to the display
Public methodAddVisionDataGraphic
Adds a Cog3DVisionDataGraphicBase to the display
Public methodClear
Clears the content of the screen
Public methodCreateGeometryGraphicsGroup
Creates a group for ICog3DShapeGraphic with the given name
Public methodCreateVisionDataGraphicsGroup
Creates a group for ICog3DVisionDataGraphic with the given name
Public methodDebugDump
Saves the content of the screen to the disk for debug purposes.
Public methodDisableDrawing
Disables refreshing the screen
Public methodDispose
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
(Inherited from IDisposable.)
Public methodEnableDrawing
Enables refreshing the screen
Public methodFitView
Zooms in/out to fit all the drawn objects into the view Does not change the camera's orientation.
Public methodRemoveGraphic
Removes the Cog3DGraphicBase object from the display
Public methodResetView
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
Public methodSaveAsImage
Renders the contents of the display to a PNG with the given resolution.
Public methodSetBackgroundColor
Sets the background color of the display
Public methodSetView
Change the camera's position and look direction in the 3-D space.
Public methodUpdate
Updates the screen. Forces redraw.
Public methodUpdateGeometryGraphic
Updates the Cog3DGeometryGraphicBase object on the display
Public methodUpdateVisionDataGraphic
Updates the Cog3DVisionDataGraphicBase object on the display
Top
Properties

  NameDescription
Public propertyCameraPosition
Gets the camera's current position in the 3D scene's world space name
Public propertyCameraTarget
Gets the camera's current target position in the 3D scene's world space name
Public propertyCameraUpDirection
Gets the camera's current up direction in the 3D scene's world space name
Public propertyDisplayMode
Gets or sets the rendering mode for the display
Public propertyIsDrawingEnabled
Returns whether the screen refresh is enabled or not
Public propertyMouseCoordinates
Gets the current mouse coordinates in the 3D scene's world space name
Top
Events

  NameDescription
Public eventMouseCoordinatesChanged
Event is fired when MouseCoordinates has changed
Top
See Also