|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectde.grogra.ray2.radiosity.GroupListBuilder
public class GroupListBuilder
This Class creates a List of PatchGroups. Every object in the scene must be converted into patch groups.
| Constructor Summary | |
|---|---|
GroupListBuilder()
|
|
| Method Summary | |
|---|---|
void |
add(Shader shader,
Vector3d[] vertices)
Converts a list of vertices into a patch group. |
void |
add(Shader shader,
Vector3d[] vertices,
Color3f emitted)
Converts a list of vertices into a patch group. |
void |
add(Vector3d[] vertices,
Color3f emitted,
boolean visible)
Converts a list of vertices into a patch group. |
java.util.Vector<PatchGroup> |
getGroups()
Returns a list of patch groups. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public GroupListBuilder()
| Method Detail |
|---|
public void add(Shader shader,
Vector3d[] vertices)
shader - a surface shader.vertices - a list of vertices.
public void add(Shader shader,
Vector3d[] vertices,
Color3f emitted)
shader - a surface shader.vertices - a list of vertices.emitted - the emitted color.
public void add(Vector3d[] vertices,
Color3f emitted,
boolean visible)
vertices - a list of vertices.emitted - the emitted color.visible - if false, the patch group is not visiblepublic java.util.Vector<PatchGroup> getGroups()
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||