public final class PlaneDetectionConfiguration extends Object
Constructor and Description |
---|
PlaneDetectionConfiguration() |
Modifier and Type | Method and Description |
---|---|
void |
enableConvexHull()
Enables the computation of the convex hull of the detected plane.
|
EnumSet<PlaneFilter> |
getPlaneFilters()
Returns the set PlaneFilters.
|
boolean |
isConvexHullEnabled()
Returns if the tracker tries to calculate a convex hull.
|
void |
setPlaneFilter(EnumSet<PlaneFilter> planeFilters)
Use this to specify which types of planes should be detected.
|
void |
setPlaneFilter(PlaneFilter planeFilter)
Use this to specify which types of planes should be detected.
|
public void setPlaneFilter(EnumSet<PlaneFilter> planeFilters)
planeFilters
- the plane filter that should be applied when detecting planes.public void setPlaneFilter(PlaneFilter planeFilter)
planeFilter
- the plane filter that should be applied when detecting planes.public void enableConvexHull()
If this is not enabled, the Plane.getConvexHull method will always return an empty vector.
public EnumSet<PlaneFilter> getPlaneFilters()
public boolean isConvexHullEnabled()