|
@@ -80,6 +80,8 @@ export class VtkModel {
|
|
|
this.mapper.setInputData(this.polyData);
|
|
|
this.actor.setMapper(this.mapper);
|
|
|
|
|
|
+
|
|
|
+
|
|
|
//点数据
|
|
|
this.actor2 = vtkActor.newInstance();
|
|
|
this.actor2.getProperty().setRepresentation(Representation.POINTS); //点
|
|
@@ -145,6 +147,15 @@ export class VtkModel {
|
|
|
this.wayActors = [];
|
|
|
|
|
|
|
|
|
+ //管道位置数据
|
|
|
+ // this.actorpipsite = vtkActor.newInstance();
|
|
|
+ // this.actorpipsite.getProperty().setRepresentation(Representation.POINTS); //点
|
|
|
+ // this.actorpipsite.getProperty().setColor(WHITE);
|
|
|
+ // this.actorpipsite.getProperty().setPointSize(2);
|
|
|
+ // this.actorpipsite.setMapper(this.mapper);
|
|
|
+ // vtkmodel.selectObj
|
|
|
+
|
|
|
+
|
|
|
}
|
|
|
waysInit(ways) {
|
|
|
this.renderWindowWith.resize();
|