de.grogra.billboard
public class GridBillboarder extends Billboarder
| Modifier and Type | Field and Description |
|---|---|
Point3d |
max |
Point3d |
min |
protected int |
steps |
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 |
|---|
GridBillboarder(java.io.File file,
MimeType mt) |
| Modifier and Type | Method and Description |
|---|---|
void |
beginAt(int side,
int step) |
void |
billboarding()
This method rendered each side of an object given in the view.
|
void |
griding(int step) |
void |
initialize(double distance,
double zOfsset,
boolean fourSides,
int steps)
Sets the camera on initial position.
|
void |
makeAllNames() |
protected void |
makeNames(int stopSide,
int stopStep) |
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, transformationpublic GridBillboarder(java.io.File file,
MimeType mt)
public void beginAt(int side,
int step)
public void billboarding()
Billboarderbillboarding in class Billboarderpublic void griding(int step)
public void initialize(double distance,
double zOfsset,
boolean fourSides,
int steps)
steps defined the number of slices has to be
create at every side of view. To reach an optimum coverage of all parts of the model
only odd numbers of slices will be generated. If an even number is given, this will be
reduced by one so the number is odd.distance - Distance between camera and the origin of the coordinates-systemzOfsset - The z-axis shift of the camerafourSides - If this is true all 4 sides of the model will be rendered by this. Otherwise
only the front and left-side will be rendered.steps - Odd number of slices for every side of view.public void makeAllNames()
protected void makeNames(int stopSide,
int stopStep)
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