preparing release pom-trakem2-2.0.0, VectorString-2.0.0, TrakEM2_-1.0h
[trakem2.git] / TrakEM2_ / src / main / java / ini / trakem2 / display / Line3D.java
blobe1c91ec891b5823e65cbe381b27adde134886ac3
1 /**
3 TrakEM2 plugin for ImageJ(C).
4 Copyright (C) 2008-2009 Albert Cardona and Rodney Douglas.
6 This program is free software; you can redistribute it and/or
7 modify it under the terms of the GNU General Public License
8 as published by the Free Software Foundation (http://www.gnu.org/licenses/gpl.txt )
10 This program is distributed in the hope that it will be useful,
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 GNU General Public License for more details.
15 You should have received a copy of the GNU General Public License
16 along with this program; if not, write to the Free Software
17 Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
19 You may contact Albert Cardona at acardona at ini.phys.ethz.ch
20 Institute of Neuroinformatics, University of Zurich / ETH, Switzerland.
21 **/
23 package ini.trakem2.display;
25 import java.awt.Color;
26 import java.util.List;
28 import org.scijava.vecmath.Point3f;
30 import ini.trakem2.Project;
31 import ini.trakem2.vector.VectorString3D;
33 /** By definition, only ZDisplayable objects may implement Line3D. */
34 public interface Line3D {
36 public VectorString3D asVectorString3D();
37 @Override
38 public String toString();
39 public Project getProject();
40 public LayerSet getLayerSet();
41 public long getId();
42 public int length();
43 public Color getColor();
44 public List<Point3f> generateTriangles(double scale, int parallels, int resample);