public IfcOperationalSpacesNode(Core.VplControl hostCanvas) : base(hostCanvas) { IsResizeable = true; AddInputPortToNode("ModelInfo", typeof(object)); modelController = ModelController.Instance; control = new IFCViewerControl(); AddControlToNode(control); }
public IfcAccessibilityGraph(Core.VplControl hostCanvas) : base(hostCanvas) { IsResizeable = true; AddInputPortToNode("ModelInfo", typeof(ModelInfo)); modelController = ModelController.Instance; control = new IFCViewerControl(); AddControlToNode(control); }
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; }
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); }