|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectde.javagl.swogl.scene.DefaultView
public final class DefaultView
Default implementation of a View
| Constructor Summary | |
|---|---|
DefaultView()
Creates a new DefaultView |
|
| Method Summary | |
|---|---|
float |
getAspect()
Returns the current aspect ratio of this view |
float |
getFarClippingPlane()
Return the far plane of this view |
float |
getNearClippingPlane()
Return the near plane of this view |
java.awt.Rectangle |
getViewport()
Returns a copy of the current viewport of this view |
void |
setAspect(float newAspect)
Set the aspect ratio of this view |
void |
setFarClippingPlane(float far)
Set the far clipping plane of this view |
void |
setNearClippingPlane(float near)
Set the near clipping plane of this view |
void |
setViewport(java.awt.Rectangle viewport)
Set the viewport of this view |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DefaultView()
| Method Detail |
|---|
public void setAspect(float newAspect)
newAspect - The aspect ratiopublic float getAspect()
View
getAspect in interface Viewpublic void setNearClippingPlane(float near)
near - The near clipping planepublic float getNearClippingPlane()
View
getNearClippingPlane in interface Viewpublic void setFarClippingPlane(float far)
far - The near clipping planepublic float getFarClippingPlane()
View
getFarClippingPlane in interface Viewpublic java.awt.Rectangle getViewport()
View
getViewport in interface Viewpublic void setViewport(java.awt.Rectangle viewport)
viewport - The viewport
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||