|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.deegree.rendering.r3d.model.QualityModel<T>
T
- the qualitymodel typepublic class QualityModel<T extends QualityModelPart>
The GeometryQualityModel
defines a Quality level of a geometry model.
Field Summary | |
---|---|
protected PrototypeReference |
prototype
The prototype |
protected ArrayList<T> |
qualityModelParts
The geometries of this quality model |
Constructor Summary | |
---|---|
QualityModel()
Creates a GeometryQualityModel with an empty list of geometry patches |
|
QualityModel(ArrayList<T> qualityModelParts)
Creates a GeometryQualityModel with the given geometry patches |
|
QualityModel(PrototypeReference prototype)
Creates a GeometryQualityModel with the given geometry patches |
|
QualityModel(T qualityModelPart)
|
Method Summary | |
---|---|
boolean |
addQualityModelPart(T part)
|
boolean |
addQualityModelParts(List<T> parts)
|
PrototypeReference |
getPrototypeReference()
|
T |
getQualityModelPart(int index)
|
ArrayList<T> |
getQualityModelParts()
|
void |
setPrototype(PrototypeReference prototype)
|
long |
sizeOf()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected transient ArrayList<T extends QualityModelPart> qualityModelParts
protected transient PrototypeReference prototype
Constructor Detail |
---|
public QualityModel()
public QualityModel(ArrayList<T> qualityModelParts)
qualityModelParts
- public QualityModel(PrototypeReference prototype)
prototype
- to be renederedpublic QualityModel(T qualityModelPart)
qualityModelPart
- Method Detail |
---|
public final boolean addQualityModelPart(T part)
part
- to add to the geometries
public final boolean addQualityModelParts(List<T> parts)
parts
- to add to the quality model
public final T getQualityModelPart(int index)
index
-
null
if the index is out of bounds.public final ArrayList<T> getQualityModelParts()
null
public final PrototypeReference getPrototypeReference()
null
if no prototype was definedpublic final void setPrototype(PrototypeReference prototype)
prototype
- the prototype to setpublic long sizeOf()
sizeOf
in interface MemoryAware
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |