/// <summary> /// Creates a marker bundle node. /// </summary> /// <param name="name">Name of this marker bundle node</param> /// <param name="tracker">A marker tracker used to track this fiducial marker</param> /// <param name="supportingMarkerNodes">A list of marker nodes that will supplement /// the base marker array</param> /// <param name="markerConfigs">A list of configs that specify the fiducial marker /// (can be either an array or a single marker) to look for</param> public MarkerBundleNode(String name, IMarkerTracker tracker, List <MarkerNode> supportingMarkerNodes, params object[] markerConfigs) : base(name, tracker, markerConfigs) { supportingMarkers = new List <RelativeMarker>(); foreach (MarkerNode markerNode in supportingMarkerNodes) { RelativeMarker marker = new RelativeMarker(markerNode); supportingMarkers.Add(marker); } autoReconfigure = false; }
/// <summary> /// Creates a marker bundle node. /// </summary> /// <param name="name">Name of this marker bundle node</param> /// <param name="tracker">A marker tracker used to track this fiducial marker</param> /// <param name="supportingMarkerNodes">A list of marker nodes that will supplement /// the base marker array</param> /// <param name="markerConfigs">A list of configs that specify the fiducial marker /// (can be either an array or a single marker) to look for</param> public MarkerBundleNode(String name, IMarkerTracker tracker, List<MarkerNode> supportingMarkerNodes, params object[] markerConfigs) : base(name, tracker, markerConfigs) { supportingMarkers = new List<RelativeMarker>(); foreach (MarkerNode markerNode in supportingMarkerNodes) { RelativeMarker marker = new RelativeMarker(markerNode); supportingMarkers.Add(marker); } autoReconfigure = false; }