|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Appearance
This interface serves to set the appearance of a Solid in a CityGML model.
| Nested Class Summary | |
|---|---|
static interface |
Appearance.Material
|
| Method Summary | |
|---|---|
void |
addTexture(Image img,
int stage)
Add a texture to the whole Solid |
boolean |
getEnabledBlending()
Gets if blending is enabled/disabled |
boolean |
getEnabledLighting()
Gets if lighting is enabled/disabled |
Appearance.Material |
getMaterial()
Gets the material of a Solid |
Image |
getTexture(int stage)
Get the texure of a solid in a concrete stage |
void |
setEnabledBlending(boolean value)
Enables/disables the blending in a solid |
void |
setEnabledLighting(boolean value)
Enables disables lighting in a solid |
void |
setMaterial(Appearance.Material mat)
Sets the material of a solid |
| Method Detail |
|---|
void setEnabledBlending(boolean value)
value - the value to setboolean getEnabledBlending()
void setEnabledLighting(boolean value)
value - the value to setboolean getEnabledLighting()
void setMaterial(Appearance.Material mat)
mat - the material to setAppearance.Material getMaterial()
void addTexture(Image img,
int stage)
img - the texturestage - the texture stageImage getTexture(int stage)
stage - the concrete stage
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||