Beispiel #1
0
 public InternalLabeler(LabelerConfig config)
     : base(config)
 {
     _persistent2DLabels = new Dictionary<string, Label2D>();
     _persistent3DLabels = new Dictionary<string, Label3D>();
     Config.DefaultColor = new Color(0.7f, 0.7f, 0.7f, 0.8f);
     Config.Cleared += Config_Cleared;
 }
Beispiel #2
0
 public InternalLabeler(LabelerConfig config)
     : base(config)
 {
     persistent2DLabels  = new Dictionary <string, Label2D>();
     persistent3DLabels  = new Dictionary <string, Label3D>();
     Config.DefaultColor = new Color(0.7f, 0.7f, 0.7f, 0.8f);
     Config.Cleared     += new EventHandler(Config_Cleared);
 }
Beispiel #3
0
        public GearsetSettings()
        {
            Enabled      = true;
            ShowOverlays = true;
#if WINDOWS
            InspectorConfig = new Components.InspectorConfig();
            LoggerConfig    = new Components.LoggerConfig();
#endif
            DataSamplerConfig = new Components.DataSamplerConfig();
            PlotterConfig     = new Components.PlotterConfig();
            TreeViewConfig    = new Components.TreeViewConfig();
            LabelerConfig     = new Components.LabelerConfig();
            LineDrawerConfig  = new Components.LineDrawerConfig();
            AlerterConfig     = new Components.AlerterConfig();
#if WINDOWS
            FinderConfig = new Components.FinderConfig();
#endif

            // IMPORTANT:
            // NEW CONFIG INSTANCES SHOULD BE ADDED IN THE LOAD METHOD BELOW.
            DepthBufferEnabled = true;
            saveFrequency      = 5;
        }
        public GearsetSettings()
        {
            Enabled      = true;
            ShowOverlays = true;
#if WINDOWS || LINUX || MONOMAC
            InspectorConfig = new Components.InspectorConfig();
#endif
            ProfilerConfig       = new ProfilerConfig();
            DataSamplerConfig    = new Components.DataSamplerConfig();
            PlotterConfig        = new Components.PlotterConfig();
            TreeViewConfig       = new Components.TreeViewConfig();
            LabelerConfig        = new Components.LabelerConfig();
            LineDrawerConfig     = new Components.LineDrawerConfig();
            AlerterConfig        = new Components.AlerterConfig();
            LoggerConfig         = new Components.LoggerConfig();
            FinderConfig         = new Components.FinderConfig();
            MemoryMonitorConfig  = new MemoryMonitorConfig();
            CommandConsoleConfig = new Components.CommandConsoleConfig();

            // IMPORTANT:
            // NEW CONFIG INSTANCES SHOULD BE ADDED IN THE LOAD METHOD BELOW.
            DepthBufferEnabled = true;
            saveFrequency      = 5;
        }