CogCADToRange PropertiesCognex VisionPro 9.8

The CogCADToRange type exposes the following members.

Properties

  NameDescription
Public propertyChangedEventSuspended
If nonzero, indicates that the raising of the Changed event has been suspended. This value is incremented when SuspendChangedEvent is called and decremented when ResumeAndRaiseChangedEvent is called.
(Inherited from CogSerializableChangedEventBase.)
Public propertyFileName
Gets or sets the CAD file name.
Public propertyHasChanged (Inherited from CogSerializableChangedEventBase.)
Public propertyProjection3DFromCAD3DTransform
Gets or sets the 3D Rotation transform. The 3D rotation transform that can be used at runtime to map the shape.
Public propertyRegion
Gets or sets the 3D box region.
Public propertyRotationMode
Gets or sets the rotation mode. The rotation mode specifies which property to use at runtime: either use the ViewingDirection or use the explicit Projection3DFromCAD3DTransform.
Public propertyScaleX
Gets or sets the x scale.
Public propertyScaleY
Gets or sets the y scale.
Public propertyScaleZ
Gets or sets the z scale.
Public propertyStateFlags
Returns the complete set of state flags supported on this object. The flags may be indexed by name as shown in the following C# code snippet: if (changedObject.StateFlags["Color"] & eventArgs.StateFlags) { ... }
(Inherited from CogSerializableChangedEventBase.)
Public propertyTimeout
A maximum execution time allowed for the operator to render the range image. This value only applies if TimeoutEnabled is true.
Public propertyTimeoutEnabled
If true, the Timeout property limits the execution time. If false then the Timeout property is ignored.
Public propertyViewingDirection
A Cog3DVect3 that holds the 3D viewing direction specified in CAD3D. The vector points towards the viewer. It provides another way to define the rotation between CAD3D space and Projection3D space. The full rotation is defined as follows:
  • First, construct a plane that passes through the z-axis of CAD3D and the viewing direction.
  • Next, imagine a rotation axis that passes through the origin of CAD3D, perpendicular to the plane.
  • Projection3D space is obtained by rotating CAD3D space - but not the cad-shape itself - around the rotation axis until the original z-axis of CAD3D is coincident with the viewing direction vector.
Top
See Also