public class TLineProfile extends TLine
| Modifier and Type | Field and Description |
|---|---|
protected int[] |
pixels |
protected int[] |
values |
end1, end1Rect, end2, end2Rect, linecolor, fillShape, hitRect, stroke, visiblecoordinateStrBuilder, coordsEditTrigger, coordsVisibleInMouseBox, enabled, screenPt, stepEditTrigger, support, trackEditTrigger, worldPt| Constructor and Description |
|---|
TLineProfile(double x1,
double y1,
double x2,
double y2)
Constructs a TLineProfile with specified end points.
|
| Modifier and Type | Method and 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.
|
findInteractive, getEnd1, getEnd2, getShape, setStroke, setXYgetBounds, getColor, getStroke, isVisible, setColor, setHitRectCenter, setVisible, toStringaddPropertyChangeListener, addPropertyChangeListener, angle, angle, center, cos, cos, equals, getFrameNumber, getScreenPosition, getWorldPosition, getXMax, getXMin, getYMax, getYMin, isCoordsEditTrigger, isEnabled, isMeasured, isStepEditTrigger, isTrackEditTrigger, removePropertyChangeListener, removePropertyChangeListener, setCoordsEditTrigger, setEnabled, setLocation, setPositionOnLine, setScreenPosition, setScreenPosition, setStepEditTrigger, setTrackEditTrigger, setX, setY, showCoordinates, sin, sin, translateclone, distance, distance, distance, distanceSq, distanceSq, distanceSq, hashCode, setLocationfinalize, getClass, notify, notifyAll, wait, wait, waitgetX, getYpublic 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