|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.kuka.nav.object.filter.Restriction
public abstract class Restriction
This is an abstract base class for all restrictions that serve to reduce the possible detections within a search space.
It also provides static helper functions to create the various specific restrictions.
| Constructor Summary | |
|---|---|
protected |
Restriction()
Creates a new search space restriction. |
| Method Summary | |
|---|---|
static ContourDistanceRestriction |
contourDistance()
Creates a new restriction that can be limited to detections within a minimum and maximum distance between searcher and detection contour. |
static ContourDistanceRestriction |
contourDistance(double min,
double max)
Creates a new restriction that is limited to detections within a minimum and maximum distance between searcher and detection contour. |
abstract Restriction |
copy()
|
static OrientationRestriction |
orientation(double start,
double end)
Creates a new restriction that limits the detections to ones whose orientation is within the given range of orientations relative to the searcher. |
static RectangleRestriction |
rectangle()
Creates a new restriction that can limit the search space to detections with a center that is in between a minimum and maximum relative offset. |
static RectangleRestriction |
rectangle(double minX,
double minY,
double maxX,
double maxY)
Creates a new restriction that limits the search space to detections with a centre that is in between a minimum and maximum relative offset. |
static RegionRestriction |
region(RegionRestriction.Region r)
Creates a new restriction that only searches in the given region. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected Restriction()
| Method Detail |
|---|
public abstract Restriction copy()
copy in interface com.kuka.parameters.IParameterpublic static RegionRestriction region(RegionRestriction.Region r)
r - The region to search.
public static ContourDistanceRestriction contourDistance()
public static ContourDistanceRestriction contourDistance(double min,
double max)
min - The minimum contour distance of detections.max - The maximum contour distance of detections.
public static RectangleRestriction rectangle()
public static RectangleRestriction rectangle(double minX,
double minY,
double maxX,
double maxY)
minX - The minimum X-offset of detections.minY - The minimum Y-offset of detections.maxX - The maximum X-offset of detections.maxY - The maximum Y-offset of detections.
public static OrientationRestriction orientation(double start,
double end)
start - The start of the range of angles for detections.end - The end of the range of angles for detections.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||