|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object de.grogra.imp3d.objects.PolygonsBase
public abstract class PolygonsBase
This abstract class can be used as superclass for user-defined polygonal data.
The method Polygonization.polygonize(de.grogra.graph.ContextDependent, de.grogra.graph.GraphState, de.grogra.imp3d.PolygonArray, int, float)
has to be
implemented.
Field Summary |
---|
Fields inherited from interface de.grogra.imp3d.Polygonization |
---|
COMPUTE_NORMALS, COMPUTE_UV |
Constructor Summary | |
---|---|
PolygonsBase()
|
Method Summary | |
---|---|
boolean |
dependsOnContext()
Determines whether this object actually depends on context. |
int |
getStamp()
|
void |
writeStamp(Cache.Entry cache,
GraphState gs)
Writes a stamp of the context into cache . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface de.grogra.imp3d.Polygonization |
---|
polygonize |
Constructor Detail |
---|
public PolygonsBase()
Method Detail |
---|
public boolean dependsOnContext()
ContextDependent
dependsOnContext
in interface ContextDependent
true
iff this object depends on contextpublic int getStamp()
public void writeStamp(Cache.Entry cache, GraphState gs)
ContextDependent
cache
. Based on
this stamp, a cache detects whether the context of this
object has changed or not.
writeStamp
in interface ContextDependent
cache
- a cache entry to write the stampgs
- the current graph state
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |