Beispiel #1
0
        public VisualizationManager()
        {
            MaxTesselationDivisions = 128;

            controller    = dynSettings.Controller;
            renderManager = new RenderManager(controller);
            //octree = new Octree.OctreeSearch.Octree(10000,-10000,10000,-10000,10000,-10000,10000000);

            controller.DynamoModel.WorkspaceClearing += Pause;
            controller.DynamoModel.WorkspaceCleared  += UnPauseAndUpdate;

            controller.DynamoModel.NodeAdded   += NodeAdded;
            controller.DynamoModel.NodeDeleted += NodeDeleted;

            controller.DynamoModel.DeletionStarted  += Pause;
            controller.DynamoModel.DeletionComplete += UnPauseAndUpdate;

            controller.DynamoModel.CleaningUp += Clear;

            UnPause(this, EventArgs.Empty);
        }
Beispiel #2
0
        public VisualizationManager(DynamoModel dynamoModel)
        {
            MaxTesselationDivisions = 128;

            this.dynamoModel = dynamoModel;
            renderManager    = new RenderManager(this, dynamoModel);
            //octree = new Octree.OctreeSearch.Octree(10000,-10000,10000,-10000,10000,-10000,10000000);

            dynamoModel.WorkspaceClearing += Pause;
            dynamoModel.WorkspaceCleared  += UnPauseAndUpdate;

            dynamoModel.NodeAdded   += NodeAdded;
            dynamoModel.NodeDeleted += NodeDeleted;

            dynamoModel.DeletionStarted  += Pause;
            dynamoModel.DeletionComplete += UnPauseAndUpdate;

            dynamoModel.CleaningUp += Clear;

            UnPause(this, EventArgs.Empty);
        }
        public VisualizationManager(DynamoModel dynamoModel)
        {
            MaxTesselationDivisions = 128;

            this.dynamoModel = dynamoModel;
            renderManager = new RenderManager(this, dynamoModel);
            //octree = new Octree.OctreeSearch.Octree(10000,-10000,10000,-10000,10000,-10000,10000000);

            dynamoModel.WorkspaceClearing += Pause;
            dynamoModel.WorkspaceCleared += UnPauseAndUpdate;

            dynamoModel.NodeAdded += NodeAdded;
            dynamoModel.NodeDeleted += NodeDeleted;

            dynamoModel.DeletionStarted += Pause;
            dynamoModel.DeletionComplete += UnPauseAndUpdate;

            dynamoModel.CleaningUp += Clear;

            UnPause(this, EventArgs.Empty);
        }
Beispiel #4
0
        public VisualizationManager()
        {
            MaxTesselationDivisions = 128;

            controller = dynSettings.Controller;
            renderManager = new RenderManager(controller);
            //octree = new Octree.OctreeSearch.Octree(10000,-10000,10000,-10000,10000,-10000,10000000);

            controller.DynamoModel.WorkspaceClearing += Pause;
            controller.DynamoModel.WorkspaceCleared += UnPauseAndUpdate;

            controller.DynamoModel.NodeAdded += NodeAdded;
            controller.DynamoModel.NodeDeleted += NodeDeleted;

            controller.DynamoModel.DeletionStarted += Pause;
            controller.DynamoModel.DeletionComplete += UnPauseAndUpdate;

            controller.DynamoModel.CleaningUp += Clear;

            UnPause(this, EventArgs.Empty);
        }