コード例 #1
0
            public AOIAnalysisTab(HomeScreen _homeScreen)
            {
                homeScreen = _homeScreen;
                List <CheckBox>  checkboxListFaceTracking = new List <CheckBox>();
                TableLayoutPanel pnl_main_AOIAnalysis     = new TableLayoutPanel {
                    Dock = DockStyle.Fill, BackColor = Color.WhiteSmoke, Size = new Size(800, 800), AutoSizeMode = AutoSizeMode.GrowAndShrink
                };

                pnl_main_AOIAnalysis.Margin      = new Padding(0);
                pnl_main_AOIAnalysis.ColumnCount = 1;
                pnl_main_AOIAnalysis.RowCount    = 1;

                Accordion accParentfaceTracking = acc;

                acc.Insets         = new Padding(10);
                acc.ContentPadding = new Padding(10);
                acc.ContentMargin  = new Padding(0);
                acc.CheckBoxMargin = new Padding(0);


                /*Face Tracking Tab*/
                /**************************************************************************/
                FaceTrackingUI faceTrackingUI = new FaceTrackingUI(homeScreen);
                FaceTrackingBE ft             = new FaceTrackingBE(faceTrackingUI);

                accNestedaccParentfaceTracking = new Accordion()
                {
                    Dock = DockStyle.Fill, OpenOneOnly = true
                };
                checkboxListFaceTracking.Add(accNestedaccParentfaceTracking.Add(faceTrackingUI.pnl_trackingWithDefaultDetector, "Face Tracking (wtih default detector)"));
                checkboxListFaceTracking.Add(accNestedaccParentfaceTracking.Add(faceTrackingUI.pnl_trackingWithTrainedDetector, "Face Tracking (with trained detector)"));
                checkboxListFaceTracking.Add(accParentfaceTracking.Add(accNestedaccParentfaceTracking, "Face Tracking", "ToolTip 1"));
                /*End of Face Tracking*/



                /*Detect ROI */
                /**************************************************************************/
                DetectROIUI detectROIUI = new DetectROIUI(homeScreen);
                DetectROIBE droi        = new DetectROIBE(detectROIUI);

                accNestedaccParentdetectROI = new Accordion()
                {
                    Dock = DockStyle.Fill, OpenOneOnly = true
                };
                checkboxListFaceTracking.Add(accNestedaccParentdetectROI.Add(detectROIUI.pnl_preProcessGazeData, "Pre-Process Gaze Data"));
                checkboxListFaceTracking.Add(accNestedaccParentdetectROI.Add(detectROIUI.pnl_faceAsAOI, " Face as AOI"));
                checkboxListFaceTracking.Add(accParentfaceTracking.Add(accNestedaccParentdetectROI, "AOI Anaylse", "ToolTip 1"));
                /*End of Detect ROI*/

                /*Review Outcomes */
                /**************************************************************************/
                ReviewOutcomesUI reviewOutcomesUI = new ReviewOutcomesUI(homeScreen);
                ReviewOutcomesBE ro = new ReviewOutcomesBE(reviewOutcomesUI);

                accNestedaccParentreviewOutcomes = new Accordion()
                {
                    Dock = DockStyle.Fill, OpenOneOnly = true
                };
                checkboxListFaceTracking.Add(accNestedaccParentreviewOutcomes.Add(reviewOutcomesUI.pnl_visualizeTrackingResults, "Visualize Tracking"));
                checkboxListFaceTracking.Add(accNestedaccParentreviewOutcomes.Add(reviewOutcomesUI.pnl_findDetectionRatio, "Find AOIs Detection Ratio"));
                checkboxListFaceTracking.Add(accNestedaccParentreviewOutcomes.Add(reviewOutcomesUI.pnl_labelAOIMAnually, "Label AOIs Manually"));
                checkboxListFaceTracking.Add(accNestedaccParentreviewOutcomes.Add(reviewOutcomesUI.pnl_reanalyseAOI, "Re-analyse AOIs (considering manually labeled AOIs)"));
                checkboxListFaceTracking.Add(accParentfaceTracking.Add(accNestedaccParentreviewOutcomes, "Review Outcomes", "ToolTip 1"));

                /*End of Review Outcomes*/

                pnl_main_AOIAnalysis.Controls.Add(acc);
                Controls.Add(pnl_main_AOIAnalysis);
            }
コード例 #2
0
 public SummaryTab(HomeScreen _homeScreen)
 {
     homeScreen = _homeScreen;
     summaryUI  = new SummaryUI(homeScreen);
     summaryBE  = new SummaryBE(summaryUI);
 }
コード例 #3
0
            public SpeechAnalysisTab(HomeScreen _homeScreen)
            {
                homeScreen = _homeScreen;
                List <CheckBox> checkboxList = new List <CheckBox>();

                TableLayoutPanel pnl_main_speechAnalysis = new TableLayoutPanel {
                    Dock = DockStyle.Fill, BackColor = Color.WhiteSmoke, Size = new Size(800, 800), AutoSizeMode = AutoSizeMode.GrowAndShrink
                };

                pnl_main_speechAnalysis.Margin      = new Padding(0);
                pnl_main_speechAnalysis.ColumnCount = 1;
                pnl_main_speechAnalysis.RowCount    = 1;

                Accordion accParent = acc;

                acc.Insets         = new Padding(10);
                acc.ContentPadding = new Padding(10);
                acc.ContentMargin  = new Padding(0);
                acc.CheckBoxMargin = new Padding(0);

                /*Extract and Format Audio Tab*/
                /**************************************************************************/
                ExtractAndFormatAudioUI extractAndFormatAudioUI = new ExtractAndFormatAudioUI(homeScreen);
                ExtractAndFormatAudioBE efa = new ExtractAndFormatAudioBE(extractAndFormatAudioUI);

                checkboxList.Add(accParent.Add(extractAndFormatAudioUI.pnl_extractAndFormatAudio, "Extract and Format Audio", "ToolTip 1"));
                /*End of Extract and Format Audio*/


                /*Segment Audio*/
                /**************************************************************************/
                SegmentAudioUI segmentAudioUI = new SegmentAudioUI(homeScreen);
                SegmentAudioBE sa             = new SegmentAudioBE(segmentAudioUI);

                checkboxList.Add(accParent.Add(segmentAudioUI.pnl_SegmentAudio, "Segment Audio", "ToolTip 2"));
                /*End of Segment Audio*/

                /*Time Interval Specification (also,Synchronization for Multiple Recordings) Tab*/
                /**************************************************************************/
                SpecifyTimeIntervalUI specifyTimeIntervalUI = new SpecifyTimeIntervalUI(homeScreen);
                SpecifyTimeIntervalBE sti = new SpecifyTimeIntervalBE(specifyTimeIntervalUI);

                checkboxList.Add(accParent.Add(specifyTimeIntervalUI.pnl_specifyTimeInterval, "Time Interval Estimation (also, Syncronization for Multiple Recordings)", "ToolTip 3"));
                /*End of Time Interval Specification (also, Synchronization for Multiple Recordings) Tab*/

                /*Speech-Act Annotation Tab*/
                /**************************************************************************/
                SpeechActAnnotationUI speechActAnnotationUI = new SpeechActAnnotationUI(homeScreen);
                SpeechActAnnotationBE saa = new SpeechActAnnotationBE(speechActAnnotationUI);

                accNested = new Accordion()
                {
                    Dock = DockStyle.Fill, OpenOneOnly = true
                };
                checkboxList.Add(accNested.Add(speechActAnnotationUI.pnl_defineSpeechAct, "Define Speech-Acts"));
                checkboxList.Add(accNested.Add(speechActAnnotationUI.pnl_annotation, "Annotation"));
                checkboxList.Add(accParent.Add(accNested, "Speech Annotation", "ToolTip 4"));
                /*Speech-Act Annotation Tab*/

                pnl_main_speechAnalysis.Controls.Add(acc);
                Controls.Add(pnl_main_speechAnalysis);
                // Controls.Add(acc);
            }