Public Member Functions | |
void | addEllipse (float x, float y, float xVar, float yVar, int color) |
void | addPoint (float x, float y, int color) |
void | draw (Canvas c, int step) |
MultiEllipse (float z) | |
void | setColor (int color) |
void | setColor (int color, int start, int end) |
Private Attributes | |
ArrayList< Integer > | colors |
ArrayList< float[]> | data |
float | z |
More efficient way to draw a lot of ellipses / points. have to be on the same height (z-coordinate). cannot be animated (-> setColor doesn't do anything)
Definition at line 12 of file MultiEllipse.java.
edu.tum.cs.ias.knowrob.vis.items.MultiEllipse.MultiEllipse | ( | float | z | ) | [inline] |
Definition at line 17 of file MultiEllipse.java.
void edu.tum.cs.ias.knowrob.vis.items.MultiEllipse.addEllipse | ( | float | x, |
float | y, | ||
float | xVar, | ||
float | yVar, | ||
int | color | ||
) | [inline] |
Definition at line 24 of file MultiEllipse.java.
void edu.tum.cs.ias.knowrob.vis.items.MultiEllipse.addPoint | ( | float | x, |
float | y, | ||
int | color | ||
) | [inline] |
Definition at line 29 of file MultiEllipse.java.
void edu.tum.cs.ias.knowrob.vis.items.MultiEllipse.draw | ( | Canvas | c, |
int | step | ||
) | [inline] |
c | the canvas to draw to |
step | the animation step/frame to draw (0-based index) |
Implements edu.tum.cs.ias.knowrob.vis.DrawableAnimated.
Definition at line 42 of file MultiEllipse.java.
void edu.tum.cs.ias.knowrob.vis.items.MultiEllipse.setColor | ( | int | color | ) | [inline] |
Reimplemented from edu.tum.cs.ias.knowrob.vis.items.ItemBase.
Definition at line 35 of file MultiEllipse.java.
void edu.tum.cs.ias.knowrob.vis.items.MultiEllipse.setColor | ( | int | color, |
int | start, | ||
int | end | ||
) | [inline] |
Reimplemented from edu.tum.cs.ias.knowrob.vis.items.ItemBase.
Definition at line 39 of file MultiEllipse.java.
ArrayList<Integer> edu.tum.cs.ias.knowrob.vis.items.MultiEllipse.colors [private] |
Definition at line 14 of file MultiEllipse.java.
ArrayList<float[]> edu.tum.cs.ias.knowrob.vis.items.MultiEllipse.data [private] |
Definition at line 13 of file MultiEllipse.java.
float edu.tum.cs.ias.knowrob.vis.items.MultiEllipse.z [private] |
Definition at line 15 of file MultiEllipse.java.