public TransparencyDialog()
        {
            //
              // Required for Windows Form Designer support
              //
              InitializeComponent();

              //
              // TODO: Add any constructor code after InitializeComponent call
              //
              myView = null;
        }
    public TransparencyDialog()
    {
      //
      // Required for Windows Form Designer support
      //
      InitializeComponent();

      //
      // TODO: Add any constructor code after InitializeComponent call
      //
      myView = null;
    }
Ejemplo n.º 3
0
		public MaterialDlg( OCCTProxy theView )
		{
			this.InitializeComponent();

            if ( theView == null )
            {
                MessageBox.Show( "Fatal Error during the graphic initialisation", "Error!" );
            }

            View = theView;

            SetInitialState();
		}
Ejemplo n.º 4
0
        public MaterialDlg(OCCTProxy theView)
        {
            this.InitializeComponent();

            if (theView == null)
            {
                MessageBox.Show("Fatal Error during the graphic initialisation", "Error!");
            }

            View = theView;

            SetInitialState();
        }
Ejemplo n.º 5
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.º 6
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.º 7
0
    public Form2()
    {
      //
      // Required for Windows Form Designer support
      //
      InitializeComponent();

      //
      // Create OCCT proxy object
      //
      myOCCTProxy = new OCCTProxy();
      myCurrentMode = CurrentAction3d.CurAction3d_Nothing;
      myCurrentPressedKey = CurrentPressedKey.CurPressedKey_Nothing;
      myDegenerateModeIsOn = true;
      IsRectVisible = false;
    }
Ejemplo n.º 8
0
        public Form2()
        {
            //
            // Required for Windows Form Designer support
            //
            InitializeComponent();

            //
            // Create OCCT proxy object
            //
            myOCCTProxy          = new OCCTProxy();
            myCurrentMode        = CurrentAction3d.CurAction3d_Nothing;
            myCurrentPressedKey  = CurrentPressedKey.CurPressedKey_Nothing;
            myDegenerateModeIsOn = true;
            IsRectVisible        = false;
        }
Ejemplo n.º 9
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.º 10
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.º 11
0
 public void SetContext(OCCTProxy View)
 {
     this.myOCCTProxy.SetAISContext(View);
 }
Ejemplo n.º 12
0
 public void SetContext(OCCTProxy View)
 {
   this.myOCCTProxy.SetAISContext(View);
 }