| 
					
				 | 
			
			
				@@ -123,7 +123,7 @@ export class VtkModel { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     this.gjMapper = vtkMapper.newInstance(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     this.gjActor.getProperty().setRepresentation(Representation.SURFACE); //面     
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     this.gjscalarBarActor = vtkScalarBarActor.newInstance(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    this.gjscalarBarActor.setGenerateTicks(this.generateTicks(4)); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    this.gjscalarBarActor.setGenerateTicks(this.generateTicks(2)); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     this.gjscalarBarActor.setDrawAboveRangeSwatch(true); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     this.gjscalarBarActor.setDrawNanAnnotation(false); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     this.gjscalarBarActor.setDrawAboveRangeSwatch(false); 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -279,7 +279,7 @@ export class VtkModel { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     // //箭头 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    // this.arrowActors = [];  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    this.arrowActors = [];  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     // const viewColors = [ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     //   [1, 0, 0], // sagittal 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     //   [0, 1, 0], // coronal 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -370,39 +370,57 @@ export class VtkModel { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     this.arrowActors = []; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     velocitys.forEach(velocity => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       velocity.points.forEach(point => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        // const initialValues = {  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        //   base:0, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        //   shape: 'arrow4points', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        //   center: [point.x,point.y,point.z], 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        //   width: 3,height:10,direction:[ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        //     velocity.vector[2], 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        //     velocity.vector[0], 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        //     velocity.vector[1] 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        //   ] }; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        // const vtk2d = vtk2DShape.newInstance(initialValues); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        const initialValues = { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          base: 0, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          center: [point.x, point.y, point.z], 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          height: 7, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          radius: 8, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          resolution: 3, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          direction: [ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        const initialValues = {  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          base:0, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          shape: 'triangle', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          center: [point.x,point.y,point.z], 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          direction:[ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             velocity.vector[0], 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             velocity.vector[1], 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             velocity.vector[2] 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          ] 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        }; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        const vtk2d = vtkConeSource.newInstance(initialValues); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          ], 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          height: 10.0, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          thickness: 1.5, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          width: 3, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+         }; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        const vtk2d = vtk2DShape.newInstance(initialValues); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+         
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        // const initialValues = { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //   // base: 0, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //   center: [point.x, point.y, point.z], 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //   // height: 4, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //   // radius: 8, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //   // resolution: 3, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //   height: 4.0, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //   radius: 1, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //   resolution: 6, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //   direction: [ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //     velocity.vector[0], 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //     velocity.vector[1], 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //     velocity.vector[2] 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //   ], 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //   capping: true, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        // }; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        // const vtk2d = vtkConeSource.newInstance(initialValues); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         const mapper = vtkMapper.newInstance(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         mapper.setInputConnection(vtk2d.getOutputPort()); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         const actor = vtkActor.newInstance(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         actor.setMapper(mapper); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          actor.getProperty().setColor(REA); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         this.arrowActors.push(actor); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         // this.renderer.addActor(actor); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       }) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     }); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    // this.renderWindow.render(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    for (let index = 0; index < this.arrowActors.length; index=index+30) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      let actor =this.arrowActors[index]; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      this.renderer.addActor(actor); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+     }; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    this.renderWindow.render(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   clearArrow() { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     if (this.arrowActors) { 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -636,6 +654,8 @@ export class VtkModel { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     this.renderer.addActor(this.gjscalarBarActor); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     this.renderer.removeActor(this.jgActor); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     this.renderer.removeActor(this.scalarBarActor); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    this.isSelectNode = false; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    this.isSelectPipe = false; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     this.wayClearShow(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     this.modelClearShow(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     this.isJg = true; //显示结果 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -645,7 +665,8 @@ export class VtkModel { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   clearModeAddJg() { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     this.renderer.addActor(this.jgActor); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     this.renderer.addActor(this.scalarBarActor); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    this.isSelectNode = false; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    this.isSelectPipe = false; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     this.renderer.removeActor(this.gjActor); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     this.renderer.removeActor(this.gjscalarBarActor) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     this.wayClearShow(); 
			 |