|
| Dictionary< VisionPort, String > | Strings [get, set] |
| |
| Dictionary< VisionPort, Boolean > | Booleans [get, set] |
| |
| Dictionary< VisionPort, int > | Integers [get, set] |
| |
| Dictionary< VisionPort, double > | Reals [get, set] |
| |
| Dictionary< VisionPort, VisionImage > | Images [get, set] |
| |
| Dictionary< VisionPort, VisionImage > | ColorImages [get, set] |
| |
| Dictionary< VisionPort, VisionShape > | Shapes [get, set] |
| |
| Dictionary< VisionPort, VisionPoint > | Points [get, set] |
| |
| Dictionary< VisionPort, VisionOrigin > | Origins [get, set] |
| |
| Dictionary< VisionPort, VisionSize > | Sizes [get, set] |
| |
| Dictionary< VisionPort, VisionRect > | Rects [get, set] |
| |
| Dictionary< VisionPort, VisionCircle > | Circles [get, set] |
| |
| Dictionary< VisionPort, VisionPolygon > | Polygons [get, set] |
| |
| Dictionary< VisionPort, VisionBlob > | Blobs [get, set] |
| |
| Dictionary< VisionPort, VisionFontData > | FontsData [get, set] |
| |
| Dictionary< VisionPort, List< String > > | StringLists [get, set] |
| |
| Dictionary< VisionPort, List< Boolean > > | BooleanLists [get, set] |
| |
| Dictionary< VisionPort, List< int > > | IntegerLists [get, set] |
| |
| Dictionary< VisionPort, List< double > > | RealLists [get, set] |
| |
| Dictionary< VisionPort, List< VisionImage > > | ImageLists [get, set] |
| |
| Dictionary< VisionPort, List< VisionImage > > | ColorImageLists [get, set] |
| |
| Dictionary< VisionPort, List< VisionShape > > | ShapeLists [get, set] |
| |
| Dictionary< VisionPort, List< VisionPoint > > | PointLists [get, set] |
| |
| Dictionary< VisionPort, List< VisionOrigin > > | OriginLists [get, set] |
| |
| Dictionary< VisionPort, List< VisionRect > > | RectLists [get, set] |
| |
| Dictionary< VisionPort, List< VisionPolygon > > | PolygonLists [get, set] |
| |
| Dictionary< VisionPort, List< VisionBlob > > | BlobLists [get, set] |
| |
| Dictionary< VisionPort, List< VisionFontData > > | FontDataLists [get, set] |
| |
| Dictionary< VisionPort, VisionRange1D > | Ranges1D [get, set] |
| |
| Dictionary< VisionPort, List< VisionRange1D > > | Range1DLists [get, set] |
| |
| Dictionary< VisionPort, VisionTolerance > | Tolerances [get, set] |
| |
| Dictionary< VisionPort, List< VisionTolerance > > | ToleranceLists [get, set] |
| |
| Dictionary< VisionPort, VisionColor > | Colors [get, set] |
| |
| Dictionary< VisionPort, List< VisionColor > > | ColorLists [get, set] |
| |
| Dictionary< VisionPort, VisionLineSegment > | LineSegments [get, set] |
| |
| Dictionary< VisionPort, List< VisionLineSegment > > | LineSegmentLists [get, set] |
| |
| Dictionary< VisionPort, VisionWideLineSegment > | WideLineSegments [get, set] |
| |
| Dictionary< VisionPort, List< VisionWideLineSegment > > | WideLineSegmentLists [get, set] |
| |
| Dictionary< VisionPort, VisionPoint3D > | Points3D [get, set] |
| |
| Dictionary< VisionPort, List< VisionPoint3D > > | Point3DLists [get, set] |
| |
| Dictionary< VisionPort, VisionPlane > | Planes [get, set] |
| |
| Dictionary< VisionPort, VisionPointCloud > | PointClouds [get, set] |
| |
| Dictionary< VisionPort, VisionEdgel > | Edgels [get, set] |
| |
| Dictionary< VisionPort, List< VisionEdgel > > | EdgelLists [get, set] |
| |
| Dictionary< VisionPort, VisionAngleRange > | AngleRanges [get, set] |
| |
| Dictionary< VisionPort, VisionContour > | Contours [get, set] |
| |
| Dictionary< VisionPort, List< VisionContour > > | ContourLists [get, set] |
| |
| Dictionary< VisionPort, VisionRectRange > | RectRanges [get, set] |
| |
| Dictionary< VisionPort, List< VisionRectRange > > | RectRangeLists [get, set] |
| |
| Dictionary< VisionPort, VisionContourModel > | ContourModels [get, set] |
| |
| Dictionary< VisionPort, VisionMultiResContourModel > | MultiResContourModels [get, set] |
| |
| Dictionary< VisionPort, List< VisionMultiResContourModel > > | MultiResContourModelLists [get, set] |
| |
| Dictionary< VisionPort, VisionCorrelationModel > | CorrelationModels [get, set] |
| |
| Dictionary< VisionPort, List< VisionCorrelationModel > > | CorrelationModelLists [get, set] |
| |
| Dictionary< VisionPort, VisionGreyScaleTemplateModel > | GreyScaleTemplateModels [get, set] |
| |
| Dictionary< VisionPort, VisionWideCircularArc > | WideCircularArcs [get, set] |
| |
| Dictionary< VisionPort, VisionCircleCorrelationModel > | CircleCorrelationModels [get, set] |
| |
| Dictionary< VisionPort, VisionColorTemplateModel > | ColorTemplateModels [get, set] |
| |
| Dictionary< VisionPort, VisionPatternFindModel > | PatternFindModels [get, set] |
| |
| Dictionary< VisionPort, List< VisionPatternFindModel > > | PatternFindModelLists [get, set] |
| |
| Dictionary< VisionPort, VisionPatternSortModelLibrary > | PatternSortModelLibraries [get, set] |
| |
This class is used as a response to a VisionMultipleDataRequest
This class is composed of a Dictionary for each data type present in the VisionMultipleDataRequest
Each Dictionary has a VisionPort Key and an associated value type.
Inside each Dictionary you can find the data instance request associated with the respective VisionPort key.
...
// Create the VisionPorts
VisionPortPath imagePort = new VisionPortPath( ... );
VisionPortPath realPort = new VisionPortPath( ... );
VisionPortPath integerPort = new VisionPortPath( ... );
// Create the VisionMultipleDataRequest
VisionMultipleDataRequest multipleDataRequest = new VisionMultipleDataRequest();
multipleDataRequest.Images.Add(this.imagePort);
multipleDataRequest.Reals.Add(this.realPort);
multipleDataRequest.Integers.Add(this.integerPort);
this.visionDevice.GetMultipleDataPortValue(multipleDataRequest, CompletionHandlerFactory.Success<VisionMultipleData>((multipleData) =>
{
// Set the image if it is present in the multipleData structure
VisionImage visionImage = multipleData.Images[this.imagePort];
if (visionImage != null)
{
Bitmap bmp = visionImage.asBitmap();
if (bmp != null)
{
this.imagePictureBox.Image = bmp;
}
}
// Set the Real data received
double real = multipleData.Reals[this.realPort];
this.realValueTextBox.Text = real.ToString();
// Set the Integer data received
int integer = multipleData.Integers[this.integerPort];
this.integerValueTextBox.Text = integer.ToString();
}));