The Higher Education and Research forge

Home My Page Projects Code Snippets Project Openings Complex Surface Machining Optimization
Summary Activity SCM

SCM Repository

authorJean-Max Redonnet <jean-max.redonnet@unniv-tlse3.fr>
Mon, 25 May 2020 16:19:56 +0000 (18:19 +0200)
committerJean-Max Redonnet <jean-max.redonnet@unniv-tlse3.fr>
Mon, 25 May 2020 16:19:56 +0000 (18:19 +0200)
src/org/ica/vtkviewer/model/VtkToolpath.java

index 3ab4429..14ddf16 100644 (file)
@@ -4,7 +4,7 @@ import java.beans.PropertyChangeEvent;
 import java.beans.PropertyChangeListener;
 
 import org.lgmt.dgl.vecmath.Point3d;
-import org.lgmt.jcam.toolpath.ToolPath;
+import org.lgmt.jcam.toolpath.Toolpath;
 
 import vtk.vtkActor;
 import vtk.vtkCellArray;
@@ -26,11 +26,11 @@ public class VtkToolpath extends VtkObject implements PropertyChangeListener {
        private vtkPolyData track;
        private vtkPolyDataMapper mapper;
        private vtkActor actor;
-       private ToolPath<? extends Point3d> toolpath;
+       private Toolpath<? extends Point3d> toolpath;
        private int startId; // first vtkPoint Id
        private int endId; // last VtkPoint Id
 
-       public VtkToolpath(ToolPath<? extends Point3d> toolpath, double width, Color4d color) {
+       public VtkToolpath(Toolpath<? extends Point3d> toolpath, double width, Color4d color) {
                super(toolpath);
                this.toolpath = toolpath;
                this.toolpath.addPropertyChangeListener(this);
@@ -60,7 +60,7 @@ public class VtkToolpath extends VtkObject implements PropertyChangeListener {
                actors.add(actor);
        }
 
-       public VtkToolpath(ToolPath<? extends Point3d> toolpath) {
+       public VtkToolpath(Toolpath<? extends Point3d> toolpath) {
                this(toolpath, 2.0, new Color4d(1.0, 0.0, 1.0));
        }