|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.jinx.video.View3D
public class View3D
View implementation that sets OpenGL into a three dimensional drawing mode
with lighting enabled.
API Stability: Stable.
| Constructor Summary | |
|---|---|
View3D()
Same as View3D(null). |
|
View3D(Visible drawable)
Constructs a View3D for the given Visible. |
|
| Method Summary | |
|---|---|
void |
deinit(Context opt)
Deinitializes this View. |
Visible |
getVisible()
Provides the Visible object that should be rendered in the viewport. |
void |
init(Context opt)
Initializes this View. |
void |
setVisible(Visible drawable)
Sets the Visible for this View. |
void |
view(Context options,
java.awt.Rectangle viewport)
Prepares the view. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public View3D()
public View3D(Visible drawable)
drawable - the Visible to display in the view. This may be null.| Method Detail |
|---|
public void init(Context opt)
View
init in interface Viewopt - the Context object providing data on how rendering should
proceed.public void deinit(Context opt)
View
deinit in interface Viewopt - the Context object providing data on how rendering should
proceed.
public void view(Context options,
java.awt.Rectangle viewport)
View
view in interface Viewoptions - the Context object providing data on how rendering should
proceed.viewport - the rectangle within the window that this View will be
rendered into. NOTE: The origin in OpenGL is the lower left hand corner,
not the upper left hand corner.public Visible getVisible()
View
getVisible in interface Viewpublic void setVisible(Visible drawable)
drawable - the Visible.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||