org.deegree.rendering.r3d.model.geometry
Class SimpleGeometryStyle
java.lang.Object
org.deegree.rendering.r3d.model.geometry.SimpleGeometryStyle
- All Implemented Interfaces:
- Serializable, MemoryAware
public class SimpleGeometryStyle
- extends Object
- implements MemoryAware, Serializable
The SimpleGeometryStyle
class TODO add class documentation here.
- Version:
- $Revision: 30126 $, $Date: 2011-03-22 11:11:00 +0100 (Tue, 22 Mar 2011) $
- Author:
- Rutger Bezema, last edited by: $Author: aschmitz $
- See Also:
- Serialized Form
Constructor Summary |
SimpleGeometryStyle()
set the colors to 0xAAAAAAFF, emmisive to 0 and the shininess to 20; |
SimpleGeometryStyle(int specularColor,
int ambientColor,
int diffuseColor,
int emmisiveColor,
float shininess)
|
SimpleGeometryStyle
public SimpleGeometryStyle()
- set the colors to 0xAAAAAAFF, emmisive to 0 and the shininess to 20;
SimpleGeometryStyle
public SimpleGeometryStyle(int specularColor,
int ambientColor,
int diffuseColor,
int emmisiveColor,
float shininess)
- Parameters:
specularColor
- ambientColor
- diffuseColor
- emmisiveColor
- shininess
-
getSpecularColor
public final int getSpecularColor()
- Returns:
- the specularColor
setSpecularColor
public final void setSpecularColor(int specularColor)
- Parameters:
specularColor
- the specularColor to set
getAmbientColor
public final int getAmbientColor()
- Returns:
- the ambientColor
setAmbientColor
public final void setAmbientColor(int ambientColor)
- Parameters:
ambientColor
- the ambientColor to set
getDiffuseColor
public final int getDiffuseColor()
- Returns:
- the diffuseColor
setDiffuseColor
public final void setDiffuseColor(int diffuseColor)
- Parameters:
diffuseColor
- the diffuseColor to set
getEmmisiveColor
public final int getEmmisiveColor()
- Returns:
- the emmisiveColor
setEmmisiveColor
public final void setEmmisiveColor(int emmisiveColor)
- Parameters:
emmisiveColor
- the emmisiveColor to set
getShininess
public final float getShininess()
- Returns:
- the shininess
setShininess
public final void setShininess(float shininess)
- Parameters:
shininess
- the shininess to set
toString
public String toString()
- Overrides:
toString
in class Object
sizeOf
public long sizeOf()
- Specified by:
sizeOf
in interface MemoryAware
- Returns:
- the bytes this style occupies
Copyright © 2011. All Rights Reserved.