|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object de.grogra.billboard.Billboarder de.grogra.billboard.CakeBillboarder
public class CakeBillboarder
The object which has to be rendered will separate into cake-pieces.
Field Summary | |
---|---|
protected float |
centerHeight
|
protected float |
centerWidth
|
protected int |
invisibleLayer
|
protected int |
visibleLayer
|
Fields inherited from class de.grogra.billboard.Billboarder |
---|
angleOffset, appendfix, camera, countZero, currentSide, file, imageFolder, imgHeight, imgWidth, mt, MT_EXR, MT_JPG, MT_PJPG, MT_PNG, MT_X_EXR, pathAndFileName, prefix, RotationAngle, rotationPoint, sides, suffix, view3d |
Constructor Summary | |
---|---|
CakeBillboarder(java.io.File file,
MimeType mt)
|
Method Summary | |
---|---|
void |
billboarding()
This method rendered each side of an object given in the view. |
void |
cake()
Which pieces of the cake has to be chosen, depends on the actual side of the camera position. |
void |
cake(int side)
Rotates two HalfSpaces around z-axis. |
void |
setCenterDim(float centerWidth,
float centerHeight)
The center of the cake is a line which shows in positive z direction. |
void |
setLayer(int visible,
int invisible)
Defined which layer is for the visible and which for the invisible objects. |
protected void |
setRunLater()
When a Billboard-Render-Thread is finished, the implementation of this method will be executed later. |
Methods inherited from class de.grogra.billboard.Billboarder |
---|
angleOffset, beginAt, finalAction, getBBName, getLeadingZeros, graph, initialize, insertName, justRenderView, location, nextSide, nextSide, setDestination, transformation |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected float centerHeight
protected float centerWidth
protected int invisibleLayer
protected int visibleLayer
Constructor Detail |
---|
public CakeBillboarder(java.io.File file, MimeType mt)
Method Detail |
---|
public void billboarding()
Billboarder
billboarding
in class Billboarder
public void cake()
public void cake(int side)
#setLayer()
. From the top of view, it looks like a piece of a cake.
side
- Which two pieces will be visible.public void setCenterDim(float centerWidth, float centerHeight)
centerHeight
. All objects with a distance less then centerWidth
are visible too. So the center is a quasi cylinder.
centerWidth
- centerHeight
- public void setLayer(int visible, int invisible)
visible
- The Number of the visible layer in the 3D-viewinvisible
- The Number of the invisible layer in the 3D-viewprotected void setRunLater()
Billboarder
setRunLater
in class Billboarder
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |