|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object de.grogra.imp3d.gl20.GL20Resource de.grogra.imp3d.gl20.GL20ResourceShape de.grogra.imp3d.gl20.GL20ResourceShapeFrustum
public class GL20ResourceShapeFrustum
Field Summary |
---|
Constructor Summary | |
---|---|
GL20ResourceShapeFrustum()
|
Method Summary | |
---|---|
void |
applyGeometry()
tell this GL20ResourceShape that it should apply the
geometry to the GL20GfxServer |
void |
destroy()
destroy this GL20ResourceShapeFrustum |
float |
getBaseRadius()
get the base radius of this GL20ResourceShapeFrustum |
float |
getHeight()
get the height of this GL20ResourceShapeFrustum |
float |
getTopRadius()
get the top radius of this GL20ResourceShapeFrustum |
boolean |
isBaseClosed()
get if the base is closed or not for this GL20ResourceShapeFrustum |
boolean |
isTopClosed()
get if the top is closed or not for this GL20ResourceShapeFrustum |
boolean |
isUpToDate()
check if this GL20ResourceShapeFrustum is up to date. |
void |
setBaseClosed(boolean baseClosed)
set if the base is closed or not for this GL20ResourceShapeFrustum |
void |
setBaseRadius(float baseRadius)
set the base radius of this GL20ResourceShapeFrustum |
void |
setHeight(float height)
set the height of this GL20ResourceShapeFrustum |
void |
setTopClosed(boolean topClosed)
set if the top is closed or not for this GL20ResourceShapeFrustum |
void |
setTopRadius(float topRadius)
set the top radius of this GL20ResourceShapeFrustum |
void |
update()
update the state of this GL20ResourceShapeFrustum |
Methods inherited from class de.grogra.imp3d.gl20.GL20ResourceShape |
---|
getShader, getShapeTransformationMatrix, getWorldTransformationMatrix, setShader, setShapeTransformationMatrix, setWorldTransformationMatrix |
Methods inherited from class de.grogra.imp3d.gl20.GL20Resource |
---|
getResourceClass, getResourceClassType, getResourceType |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public GL20ResourceShapeFrustum()
Method Detail |
---|
public void applyGeometry()
GL20ResourceShape
that it should apply the
geometry to the GL20GfxServer
applyGeometry
in class GL20ResourceShape
public void destroy()
GL20ResourceShapeFrustum
destroy
in class GL20ResourceShape
GL20Resource
public final float getBaseRadius()
GL20ResourceShapeFrustum
public final float getHeight()
GL20ResourceShapeFrustum
public final float getTopRadius()
GL20ResourceShapeFrustum
public final boolean isBaseClosed()
GL20ResourceShapeFrustum
true
- the base is closedpublic final boolean isTopClosed()
GL20ResourceShapeFrustum
true
- the top is closedpublic boolean isUpToDate()
GL20ResourceShapeFrustum
is up to date.
isUpToDate
in class GL20ResourceShape
true
- this GL20ResourceShapeFrustum
is up to dateGL20Resource
public final void setBaseClosed(boolean baseClosed)
GL20ResourceShapeFrustum
baseClosed
- true
- the base is closedpublic final void setBaseRadius(float baseRadius)
GL20ResourceShapeFrustum
baseRadius
- the base radiuspublic final void setHeight(float height)
GL20ResourceShapeFrustum
height
- the heightpublic final void setTopClosed(boolean topClosed)
GL20ResourceShapeFrustum
topClosed
- true
- the top is closedpublic final void setTopRadius(float topRadius)
GL20ResourceShapeFrustum
topRadius
- the top radiuspublic void update()
GL20ResourceShapeFrustum
update
in class GL20ResourceShape
GL20Resource
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |