Load a CogShapeModelCollection from a CVL archive.
Namespace: Cognex.VisionProAssembly: Cognex.VisionPro.Core (in Cognex.VisionPro.Core.dll) Version: 87.0.0.0
public static ICogShapeModelCollection LoadShapeModelsFromCVLFile(
string fileName,
ICogImage shapeImage,
bool propagateEvents
)
public static ICogShapeModelCollection LoadShapeModelsFromCVLFile(
string fileName,
ICogImage shapeImage,
bool propagateEvents
)
Public Shared Function LoadShapeModelsFromCVLFile (
fileName As String,
shapeImage As ICogImage,
propagateEvents As Boolean
) As ICogShapeModelCollection
Public Shared Function LoadShapeModelsFromCVLFile (
fileName As String,
shapeImage As ICogImage,
propagateEvents As Boolean
) As ICogShapeModelCollection
public:
static ICogShapeModelCollection^ LoadShapeModelsFromCVLFile(
String^ fileName,
ICogImage^ shapeImage,
bool propagateEvents
)
public:
static ICogShapeModelCollection^ LoadShapeModelsFromCVLFile(
String^ fileName,
ICogImage^ shapeImage,
bool propagateEvents
)
Parameters
- fileName
- Type: System String
The name of the source file.
- shapeImage
- Type: Cognex.VisionPro ICogImage
An image whose coordinate space tree aids in the determination of handedness.
- propagateEvents
- Type: System Boolean
If true, return a CogShapeModelPropCollection. Otherwise return a ShapeModelCollection.
Return Value
Type:
ICogShapeModelCollectionA shape model collection corresponding to the specified CVL archive.