|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.sunflow.core.Geometry
public class Geometry
This class represent a geometric object in its native object space. These
object are not rendered directly, they must be instanced via Instance.
This class performs all the bookkeeping needed for on-demand tesselation and
acceleration structure building.
| Constructor Summary | |
|---|---|
Geometry(PrimitiveList primitives)
Create a geometry from the specified primitive aggregate. |
|
Geometry(Tesselatable tesselatable)
Create a geometry from the specified tesselatable object. |
|
| Method Summary | |
|---|---|
boolean |
update(ParameterList pl,
SunflowAPI api)
Update this object given a list of parameters. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Geometry(Tesselatable tesselatable)
tesselatable - tesselation objectpublic Geometry(PrimitiveList primitives)
primitives - primitive list object| Method Detail |
|---|
public boolean update(ParameterList pl,
SunflowAPI api)
RenderObject
update in interface RenderObjectpl - list of parameters to read fromapi - reference to the current scene
true if the update is succesfull,
false otherwise
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||