SPICE3DevicePrepareVectorGraphicList(IListVectorGraphicLayersWrapper, Int32, dmat4, GenericMarkerProfile, IDictionaryVectorGraphicPath, ValueTupleNullableDouble, Nullabledvec3, dvec3, IOPortCondition, NullableGuid, Int32, Int32, Int32, Boolean, Boolean, NullableGuid) Method |
Creates the commands lists internally. Prepared lists can be downloaded with [M:BaseScanController.SetList(???,System.Int32,System.Boolean,System.Boolean)].
Namespace: RAYLASE.MarkerPlugin.Devices.ScanController.SPICE3Assembly: RAYLASE.MarkerPlugin (in RAYLASE.MarkerPlugin.dll) Version: 2.19.0
Syntaxpublic override Guid PrepareVectorGraphicList(
IList<VectorGraphicLayersWrapper> layersWrappers,
int defaultPenNumber,
dmat4 modelMatrix,
GenericMarkerProfile markerProfile,
IDictionary<VectorGraphicPath, (double? Distance, dvec3? StopPosition)> pathMotfDistanceMap,
dvec3 scanControllerOffset,
IOPortCondition condition,
Guid? parentListGuid,
int pathOffset = 0,
int pathBatchSize = 2147483647,
int totalExecutions = 1,
bool repeatOnCard = false,
bool singleListMode = false,
Guid? listGuid = null
)
Parameters
- layersWrappers IListVectorGraphicLayersWrapper
[Missing <param name="layersWrappers"/> documentation for "M:RAYLASE.MarkerPlugin.Devices.ScanController.SPICE3.SPICE3Device.PrepareVectorGraphicList(System.Collections.Generic.IList{RAYLASE.Marker.VectorGraphicElement.VectorGraphicLayersWrapper},System.Int32,GlmSharp.dmat4,RAYLASE.Marker.Profile.Model.GenericMarkerProfile,System.Collections.Generic.IDictionary{RAYLASE.Marker.VectorGraphicElement.VectorGraphicPath,System.ValueTuple{System.Nullable{System.Double},System.Nullable{GlmSharp.dvec3}}},GlmSharp.dvec3,RAYLASE.Marker.Device.IOPortCondition,System.Nullable{System.Guid},System.Int32,System.Int32,System.Int32,System.Boolean,System.Boolean,System.Nullable{System.Guid})"]
- defaultPenNumber Int32
- The default pen number to be used if the first path given does not specify any.
- modelMatrix dmat4
- Model matrix, will be skipped if dmat4.Zero.
- markerProfile GenericMarkerProfile
- Profile for pens etc, will be skipped if dmat4.Zero. Each pen will be stored in a separate list, unless singleListMode is used.
- pathMotfDistanceMap IDictionaryVectorGraphicPath, ValueTupleNullableDouble, Nullabledvec3
- Dictionary containing path related motf informations.
- scanControllerOffset dvec3
- Offset from workspace to scanner origin.
- condition IOPortCondition
- Binning condition.
- parentListGuid NullableGuid
- The list ID of the parent. If set, the new list will be wrapped inside the parent list.
- pathOffset Int32 (Optional)
- Offset of the first command to be added to the list.
- pathBatchSize Int32 (Optional)
- Maximum number of commands to be added to the list.
- totalExecutions Int32 (Optional)
- Number of executions.
- repeatOnCard Boolean (Optional)
- If set, content will be looped on the card, otherwise the content will be appended repeat times to the list.
- singleListMode Boolean (Optional)
- If set, merges all content into a single list.
- listGuid NullableGuid (Optional)
-
If set, the specified content will replace the content of an existing list ( values not to be updated can be set no null ). Otherwise a new list
with a new GUID will be created.
Return Value
GuidGuid of the created list. Pass this Guid to
[M:BaseScanController.SetList(???,System.Int32,System.Boolean,System.Boolean)].
See Also