public IfcOperationalSpacesNode(Core.VplControl hostCanvas) : base(hostCanvas)
        {
            IsResizeable = true;

            AddInputPortToNode("ModelInfo", typeof(object));

            modelController = ModelController.Instance;

            control = new IFCViewerControl();
            AddControlToNode(control);
        }
Пример #2
0
        public IfcAccessibilityGraph(Core.VplControl hostCanvas) : base(hostCanvas)
        {
            IsResizeable = true;

            AddInputPortToNode("ModelInfo", typeof(ModelInfo));

            modelController = ModelController.Instance;

            control = new IFCViewerControl();
            AddControlToNode(control);
        }
Пример #3
0
        public IfcViewerNode(Core.VplControl hostCanvas) : base(hostCanvas)
        {
            // Init UI
            IsResizeable = true;

            AddInputPortToNode("Model", typeof(ModelInfo));
            AddOutputPortToNode("SelectedElements", typeof(ModelInfo));

            ifcViewerControl = new IFCViewerControl();
            AddControlToNode(ifcViewerControl);

            _controller = ModelController.Instance;

            ifcViewerControl.onElementMouseDown += OnElementMouseDown;
        }
Пример #4
0
        public IfcViewerNode(Core.VplControl hostCanvas) : base(hostCanvas)
        {
            IsResizeable = true;

            AddInputPortToNode("Model", typeof(object), false);
            AddOutputPortToNode("FilteredElements", typeof(object));

            UserControl usercontrol = new UserControl();
            Grid        grid        = new Grid();

            usercontrol.Content = grid;

            IFCViewerControl ifcViewerControl = new IFCViewerControl();

            AddControlToNode(ifcViewerControl);
        }