Drawable, Interactive, Measurable, Trackablepublic class TLineProfile extends TLine
| Modifier and Type | Field | Description |
|---|---|---|
protected int[] |
pixels |
|
protected int[] |
values |
end1, end1Rect, end2, end2Rect, lineattachedTo, coordsEditTrigger, coordsVisibleInMouseBox, enabled, isAdjusting, screenPt, stepEditTrigger, support, trackEditTrigger, worldPt, xyStringBuilder| Constructor | Description |
|---|---|
TLineProfile(double x1,
double y1,
double x2,
double y2) |
Constructs a TLineProfile with specified end points.
|
| Modifier and Type | Method | Description |
|---|---|---|
void |
draw(DrawingPanel panel,
java.awt.Graphics g) |
Override the draw method to get the profile data.
|
int[] |
getProfile() |
Gets the line profile.
|
protected void |
getProfileData(VideoPanel vidPanel) |
Gets the line profile data.
|
getX, getYfinalize, getClass, notify, notifyAll, wait, wait, waitclone, distance, distance, distance, distanceSq, distanceSq, distanceSq, hashCode, setLocationfindInteractive, getEnd1, getEnd2, getShape, setStroke, setXYaddPropertyChangeListener, addPropertyChangeListener, angle, angle, attachTo, center, cos, cos, detach, equals, getFrameNumber, getScreenPosition, getWorldPosition, getXMax, getXMin, getYMax, getYMin, isAdjusting, isAttached, isCoordsEditTrigger, isEnabled, isMeasured, isStepEditTrigger, isTrackEditTrigger, removePropertyChangeListener, removePropertyChangeListener, setAdjusting, setCoordsEditTrigger, setEnabled, setLocation, setPositionOnLine, setScreenPosition, setScreenPosition, setStepEditTrigger, setTrackEditTrigger, setWorldPosition, setX, setY, showCoordinates, sin, sin, translategetBounds, getColor, getStroke, isVisible, setColor, setHitRectCenter, setVisible, toStringpublic TLineProfile(double x1,
double y1,
double x2,
double y2)
x1 - x-component of line end 1y1 - y-component of line end 1x2 - x-component of line end 2y2 - y-component of line end 2public void draw(DrawingPanel panel, java.awt.Graphics g)
public int[] getProfile()
protected void getProfileData(VideoPanel vidPanel)
vidPanel - the video panel