| Required. A mcMeasurementAttributeID enumeration, as described in settings. ID of the Attribute being requested. Only the following mcMeasurementAttributeID values will ever be seen.
mcmaidDependencies --- Default is mcmdfAssumedDependencies (mcmdfImageLuminance Or mcmdfFeatureData Or mcmdfIntensityCalib Or mcmdfSpatialCalib Or mcmdfAoi Or mcmdfUserData). If you return dependencies with the mcmdfOther flag OR'ed into the flags, then the UserIsValueStale method will be called on every McMeasure.Value access to allow you to determine if the measurement is currently stale.
The UserAttributes(mcmaidDependencies) call is made once only for each McMeasure object being serviced by an McUserMeasure instance. This call occurrs immediately after a new McMeasure is connected with the McUserMeasure object. This is the place to do any per-McMeasure intialization or event handling.
mcmaidDisconnectMeasure --- The UserAttributes(mcmaidDisconnectMeasure) call is made only once when an McMeasure instance is disconnecting from its McUserMeasure object. You should do any cleanup and free per-McMeasure memory storage or object references at this time. You do return anything.
mcmaidCanBeEnabled --- Default is True. You should return this as False if the measurement cannot be made for any reason (e.g., some required property has not yet been asssigned to; see for example, the CUserMeasureSortedIndices.cls sample file).
mcmaidAllowedParent --- Default is mcmpDescendentOfFeatures.
mcmaidCategories --- Default is mcmcfUserDefined. No matter what other category flags you return, mcmcfUserDefined is also OR'ed into the result.
mcmaidPerFeatureMeasurement --- Default is True for numeric measurements. If True (or the default), then the slowest moving dimension of the Variant filled by the ComputeValue method must be equal to the ancestor McFeatures.Count property.
mcmaidNofDimensions --- Default is 1. The number of dimensions of the array in the Variant returned by the ComputeValue method must agree with this number.
mcmaidShape --- Default is all dimensions variable. This implies that if the number of dimensions is greater than 1, that the results will be an array of Variants. The shape of the Variant returned by the ComputeValue method must be compatible with the array of dimension sizes returned by this call.
mcmaidResultMcObjectType --- Default is mcobjTypeREAL (64-bit IEEE real) for numeric results. This is always mcobjTypeUNKNOWN for non-numeric results, since the McMeasure.ValueMcObject is always Nothing for those measurements.
mcmaidResultType --- Default is mcmrtNumeric, but if you supply mcmrtMcPoints, mcmrtMcLines or mcmrtMcRegions, the ComputeValue must return an object of the corresponding type as the result of the measurement.
mcmaidIllustration --- Default is Nothing. If you supply this attribute it should be an 80 by 60 pixel illustration suitable for accompanying the UserDisplayName and UserDescription. The attribute is returned as a Picture object holding the illustration.
mcmaidDefaultRangeMin --- Default is minus some huge number. If you supply this number, return a Double value for the lowest value your measurement can take.
mcmaidDefaultRangeMax --- Default is some huge positive number. If you supply this number, return a Double value for the highest value your measurement can take.
|