//Must be called on the MCT
//var pcsl = ...;
IReadOnlyList<CIMPointCloudFilter> updatedFilter = pcsl.GetFilters();
foreach (var filter in updatedFilter)
{
//There is either 0 or 1 of each
if (filter is CIMPointCloudReturnFilter returnFilter)
{
PointCloudFilterDefinition pcfl = PointCloudFilterDefinition.FromCIM(updatedFilter);
List<PointCloudReturnType> updatedReturnValues = pcfl.ReturnValues;
}
if (filter is CIMPointCloudValueFilter classCodesFilter)
{
// do something
}
if (filter is CIMPointCloudBitFieldFilter classFlagsFilter)
{
// do something
}
}