|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectedu.jhu.ece.iacl.jist.structures.fiber.Fiber
public class Fiber
The Class Fiber.
| Constructor Summary | |
|---|---|
Fiber()
Instantiates a new fiber. |
|
Fiber(XYZ[] chain)
Instantiates a new fiber. |
|
| Method Summary | |
|---|---|
boolean |
equals(Fiber a)
Equals. |
static Fiber[] |
fromVector(java.util.Vector<Fiber> vect)
From vector. |
XYZ[] |
getChain()
Gets the chain. |
RGB |
getColor()
Gets the color. |
int |
getLength()
Gets the length. |
double |
getMarker(int pt)
Gets the marker. |
int |
getseedPointIndex()
Gets the seed point index. |
int |
getseedPointIndex2()
Gets the seed point index2. |
XYZ[] |
getXYZChain()
Gets the xYZ chain. |
boolean |
intersects(Polygon p)
Intersects. |
double |
length(double resX,
double resY,
double resZ)
Length. |
static Fiber[] |
makeFibersInBounds(Fiber[] in,
int maxx,
int maxy,
int maxz)
Make fibers in bounds. |
void |
makeInBounds(int maxx,
int maxy,
int maxz)
Make in bounds. |
void |
read(LEFileReader fp,
int version)
Read. |
IntersectResult |
reportiIntersect(Polygon p)
Reporti intersect. |
static Fiber[] |
scaleForVisualization(Fiber[] in,
float xs,
float ys,
float zs)
Scale for visualization. |
Fiber |
scaleForVisualization(float xs,
float ys,
float zs)
Scale for visualization. |
void |
setMarkerPoint(double marker,
int pt)
Sets the marker point. |
CurvePath |
toCurvePath()
To curve path. |
java.lang.String |
toString()
|
boolean[][][] |
toVolume(int[] dims)
To volume. |
static void |
writeVTK(Fiber[] writeme,
java.lang.String filename)
Write vtk. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Fiber()
public Fiber(XYZ[] chain)
chain - the chain| Method Detail |
|---|
public void read(LEFileReader fp,
int version)
throws java.io.IOException
fp - the fpversion - the version
java.io.IOException - Signals that an I/O exception has occurred.public int getLength()
public XYZ[] getChain()
public RGB getColor()
public boolean intersects(Polygon p)
p - the p
public IntersectResult reportiIntersect(Polygon p)
p - the p
public void setMarkerPoint(double marker,
int pt)
marker - the markerpt - the ptpublic double getMarker(int pt)
pt - the pt
public XYZ[] getXYZChain()
public boolean equals(Fiber a)
a - the a
public int getseedPointIndex()
public int getseedPointIndex2()
public boolean[][][] toVolume(int[] dims)
dims - the dims
public java.lang.String toString()
toString in class java.lang.Objectpublic CurvePath toCurvePath()
public double length(double resX,
double resY,
double resZ)
resX - the res xresY - the res yresZ - the res z
public Fiber scaleForVisualization(float xs,
float ys,
float zs)
xs - the xsys - the yszs - the zs
public static Fiber[] scaleForVisualization(Fiber[] in,
float xs,
float ys,
float zs)
in - the inxs - the xsys - the yszs - the zs
public void makeInBounds(int maxx,
int maxy,
int maxz)
maxx - the maxxmaxy - the maxymaxz - the maxz
public static Fiber[] makeFibersInBounds(Fiber[] in,
int maxx,
int maxy,
int maxz)
in - the inmaxx - the maxxmaxy - the maxymaxz - the maxz
public static Fiber[] fromVector(java.util.Vector<Fiber> vect)
vect - the vect
public static void writeVTK(Fiber[] writeme,
java.lang.String filename)
writeme - the writemefilename - the filename
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||