|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Drawable3D
This interface defines methods that DrawingPanel3D needs to properly display the drawable
Method Summary | |
---|---|
void |
draw(DrawingPanel3D panel,
java.awt.Graphics2D g,
int index)
Draws a given Object3D (indicated by its index). |
void |
drawQuickly(DrawingPanel3D panel,
java.awt.Graphics2D g)
Sketches the drawable |
Object3D[] |
getObjects3D(DrawingPanel3D _panel)
Returns an array of Objects3D to (sort according to its distance and) draw. |
void |
needsToProject(DrawingPanel _panel)
Tells the drawable that it should reproject its points because this panel has changed its projection parameters. |
Methods inherited from interface org.opensourcephysics.display.Drawable |
---|
draw |
Method Detail |
---|
Object3D[] getObjects3D(DrawingPanel3D _panel)
void draw(DrawingPanel3D panel, java.awt.Graphics2D g, int index)
void drawQuickly(DrawingPanel3D panel, java.awt.Graphics2D g)
void needsToProject(DrawingPanel _panel)
_panel
- the DrawingPanel that has changed or null if the drawable should update
its projection in all possible panels
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |