예제 #1
0
 public ClusterModule()
     : base("Cluster Module", 30)
 {
     tempClusters = new List<Cluster>();
     trackedClusters = new Dictionary<int,PersistedCluster>();
     trackedClusters.Add(0, new PersistedCluster() { ColorID = 0, IdentifyingAgent = -2 });
     trackedClusters.Add(1, new PersistedCluster() { ColorID = 1, IdentifyingAgent = -2 });
     trackedClusters.Add(2, new PersistedCluster() { ColorID = 2, IdentifyingAgent = -2 });
     trackedClusters.Add(3, new PersistedCluster() { ColorID = 3, IdentifyingAgent = -2 });
     analysis = new Analysis();
 }
예제 #2
0
 public AnalysisModule(string modulename, float fps)
 {
     ModuleName = modulename;
     TimePerFrame = (float)(1 / fps);
     analysis = new Analysis();
 }