public class Pipe extends Object
Constructor and Description |
---|
Pipe() |
Modifier and Type | Method and Description |
---|---|
static int |
enrangeInteger(double value,
int mininum,
int maximum) |
static int |
enrangeInteger(float value,
int mininum,
int maximum) |
static List<Point3f> |
generateTriangles(double[][][] all_points,
double scale) |
static List<Point3f> |
generateTriangles(double[][][] all_points,
double scale,
List<Color3f> pointColorList,
List<Color3f> vertexColorList)
Accepts an arrays as that returned from methods generateJoints and
makeTube: first dimension is the list of points, second dimension is the
number of vertices defining the circular cross section of the tube, and
third dimension is the x,y,z of each vertex.
|
static Color3f[] |
getPointColors(double[] x_points,
double[] y_points,
double[] z_points,
Color3f flatColor,
ij.ImagePlus colorImage) |
static double[][][] |
makeTube(double[] px,
double[] py,
double[] pz,
double[] p_width_i,
int resample,
int parallels,
boolean do_resample,
Color3f flatColor,
ij.ImagePlus colorImage,
List<Color3f> outputColors) |
public static List<Point3f> generateTriangles(double[][][] all_points, double scale)
public static List<Point3f> generateTriangles(double[][][] all_points, double scale, List<Color3f> pointColorList, List<Color3f> vertexColorList)
public static double[][][] makeTube(double[] px, double[] py, double[] pz, double[] p_width_i, int resample, int parallels, boolean do_resample, Color3f flatColor, ij.ImagePlus colorImage, List<Color3f> outputColors)
public static final int enrangeInteger(float value, int mininum, int maximum)
public static final int enrangeInteger(double value, int mininum, int maximum)
Copyright © 2015–2021 Fiji. All rights reserved.