Ejemplo n.º 1
0
 public AboutDialog()
 {
   //
   // Required for Windows Form Designer support
   //
   InitializeComponent();
   //
   // Create OCCT proxy object and get OCCT version
   //
   OCCTProxy t = new OCCTProxy();
   t.InitOCCTProxy();
   float version = t.GetOCCVersion();
   this.myVersion.Text = this.myVersion.Text + version;
 }
Ejemplo n.º 2
0
        public OCCViewer()
        {
            InitializeComponent();

            View = new OCCTProxy();
            View.InitOCCTProxy();
            if (!View.InitViewer(this.Handle))
            {
                MessageBox.Show("Fatal Error during the graphic initialisation", "Error!");
            }

            CurrentMode       = CurrentAction3d.CurAction3d_Nothing;
            CurrentPressedKey = CurrentPressedKey.CurPressedKey_Nothing;
            IsRectVisible     = false;
            DegenerateMode    = true;
        }
Ejemplo n.º 3
0
        public AboutDialog()
        {
            //
            // Required for Windows Form Designer support
            //
            InitializeComponent();
            //
            // Create OCCT proxy object and get OCCT version
            //
            OCCTProxy t = new OCCTProxy();

            t.InitOCCTProxy();
            float version = t.GetOCCVersion();

            this.myVersion.Text = this.myVersion.Text + version;
        }
Ejemplo n.º 4
0
        public OCCViewer()
        {
            InitializeComponent();

            View = new OCCTProxy();
            View.InitOCCTProxy();
            if ( !View.InitViewer( this.Handle ) )
            {
                MessageBox.Show( "Fatal Error during the graphic initialisation", "Error!" );
            }

            CurrentMode = CurrentAction3d.CurAction3d_Nothing;
            CurrentPressedKey = CurrentPressedKey.CurPressedKey_Nothing;
            IsRectVisible = false;
            DegenerateMode = true;
        }