Object Detection using Template

- Main Page
- Packages
- Classes
- Files

- File List

All Classes Namespaces Files Functions Variables
FoundedObject.java
Go to the documentation of this file.
1 package cz.vutbr.feec.novak68.rapidminer.tools;
2
3 import java.util.ArrayList;
4 import java.util.List;
5
6 import cz.vutbr.feec.novak68.tools.Coordinate;
7
12 public final class FoundedObject {
13 private final boolean founded;
14 public final List<Coordinate> coordinates = new ArrayList<Coordinate>();
15 public boolean isFounded(){return founded;}
16
17 public FoundedObject (){founded = false;}
18 public FoundedObject (Object ... foundedElements){
19 boolean myFounded = false;
20 for (Object object : foundedElements) {
21 if(object instanceof Coordinate){
22 coordinates.add((Coordinate)object);
23 myFounded = true;
24 }
25 }
26 founded = myFounded;
27 }
28 }
cz.vutbr.feec.novak68.rapidminer.tools.FoundedObject
Definition: FoundedObject.java:12
cz.vutbr.feec.novak68.rapidminer.tools.FoundedObject.FoundedObject
FoundedObject()
Definition: FoundedObject.java:17
cz.vutbr.feec.novak68.rapidminer.tools.FoundedObject.founded
final boolean founded
Definition: FoundedObject.java:13
cz.vutbr.feec.novak68.tools.Coordinate
Definition: Coordinate.java:15
cz.vutbr.feec.novak68.rapidminer.tools.FoundedObject.isFounded
boolean isFounded()
Definition: FoundedObject.java:15
cz.vutbr.feec.novak68.rapidminer.tools.FoundedObject.FoundedObject
FoundedObject(Object...foundedElements)
Definition: FoundedObject.java:18
cz.vutbr.feec.novak68.rapidminer.tools.FoundedObject.coordinates
final List< Coordinate > coordinates
Definition: FoundedObject.java:14