de.grogra.billboard
public class CakeBillboarder extends Billboarder
| Modifier and Type | Field and Description |
|---|---|
protected float |
centerHeight |
protected float |
centerWidth |
protected int |
invisibleLayer |
protected int |
visibleLayer |
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 and Description |
|---|
CakeBillboarder(java.io.File file,
MimeType mt) |
| Modifier and Type | Method and Description |
|---|---|
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.
|
angleOffset, beginAt, finalAction, getBBName, getLeadingZeros, graph, initialize, insertName, justRenderView, location, nextSide, nextSide, setDestination, transformationprotected float centerHeight
protected float centerWidth
protected int invisibleLayer
protected int visibleLayer
public CakeBillboarder(java.io.File file,
MimeType mt)
public void billboarding()
Billboarderbillboarding in class Billboarderpublic 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()
BillboardersetRunLater in class Billboarder