|
Sweet Home 3D 4.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.eteks.sweethome3d.model.HomeEnvironment
public class HomeEnvironment
The environment attributes of a home.
Nested Class Summary | |
---|---|
static class |
HomeEnvironment.DrawingMode
The various modes used to draw home in 3D. |
static class |
HomeEnvironment.Property
The environment properties that may change. |
Constructor Summary | |
---|---|
HomeEnvironment()
Creates default environment. |
|
HomeEnvironment(int groundColor,
HomeTexture groundTexture,
int skyColor,
HomeTexture skyTexture,
int lightColor,
float wallsAlpha)
Creates home environment from parameters. |
|
HomeEnvironment(int groundColor,
HomeTexture groundTexture,
int skyColor,
int lightColor,
float wallsAlpha)
Creates home environment from parameters. |
Method Summary | |
---|---|
void |
addPropertyChangeListener(HomeEnvironment.Property property,
PropertyChangeListener listener)
Adds the property change listener in parameter to this environment. |
HomeEnvironment |
clone()
Returns a clone of this environment. |
int |
getCeillingLightColor()
Returns the color of ceiling lights. |
HomeEnvironment.DrawingMode |
getDrawingMode()
Returns the drawing mode of this environment. |
int |
getGroundColor()
Returns the ground color of this environment. |
HomeTexture |
getGroundTexture()
Returns the ground texture of this environment. |
int |
getLightColor()
Returns the light color of this environment. |
AspectRatio |
getPhotoAspectRatio()
Returns the preferred photo aspect ratio. |
int |
getPhotoHeight()
Returns the preferred photo height. |
int |
getPhotoQuality()
Returns the preferred photo quality. |
int |
getPhotoWidth()
Returns the preferred photo width. |
int |
getSkyColor()
Returns the sky color of this environment. |
HomeTexture |
getSkyTexture()
Returns the sky texture of this environment. |
float |
getSubpartSizeUnderLight()
Returns the size of subparts under home lights in this environment. |
AspectRatio |
getVideoAspectRatio()
Returns the preferred video aspect ratio. |
List<Camera> |
getVideoCameraPath()
Returns the preferred video camera path. |
int |
getVideoFrameRate()
Returns the preferred video frame rate. |
int |
getVideoHeight()
Returns the preferred video height. |
int |
getVideoQuality()
Returns preferred video quality. |
int |
getVideoWidth()
Returns the preferred video width. |
float |
getWallsAlpha()
Returns the walls transparency alpha factor of this environment. |
boolean |
isAllLevelsVisible()
Returns whether all levels should be displayed or not. |
boolean |
isObserverCameraElevationAdjusted()
Returns true if the observer elevation should be adjusted according
to the elevation of the selected level. |
void |
removePropertyChangeListener(HomeEnvironment.Property property,
PropertyChangeListener listener)
Removes the property change listener in parameter from this environment. |
void |
setAllLevelsVisible(boolean allLevelsVisible)
Sets whether all levels should be displayed or not and fires a PropertyChangeEvent . |
void |
setCeillingLightColor(int ceilingLightColor)
Sets the color of ceiling lights and fires a PropertyChangeEvent . |
void |
setDrawingMode(HomeEnvironment.DrawingMode drawingMode)
Sets the drawing mode of this environment and fires a PropertyChangeEvent . |
void |
setGroundColor(int groundColor)
Sets the ground color of this environment and fires a PropertyChangeEvent . |
void |
setGroundTexture(HomeTexture groundTexture)
Sets the ground texture of this environment and fires a PropertyChangeEvent . |
void |
setLightColor(int lightColor)
Sets the color that lights this environment and fires a PropertyChangeEvent . |
void |
setObserverCameraElevationAdjusted(boolean observerCameraElevationAdjusted)
Sets whether the observer elevation should be adjusted according to the elevation of the selected level and fires a PropertyChangeEvent . |
void |
setPhotoAspectRatio(AspectRatio photoAspectRatio)
Sets the preferred photo aspect ratio, and notifies listeners of this change. |
void |
setPhotoHeight(int photoHeight)
Sets the preferred photo height, and notifies listeners of this change. |
void |
setPhotoQuality(int photoQuality)
Sets preferred photo quality, and notifies listeners of this change. |
void |
setPhotoWidth(int photoWidth)
Sets the preferred photo width, and notifies listeners of this change. |
void |
setSkyColor(int skyColor)
Sets the sky color of this environment and fires a PropertyChangeEvent . |
void |
setSkyTexture(HomeTexture skyTexture)
Sets the sky texture of this environment and fires a PropertyChangeEvent . |
void |
setSubpartSizeUnderLight(float subpartSizeUnderLight)
Sets the size of subparts under home lights of this environment and fires a PropertyChangeEvent . |
void |
setVideoAspectRatio(AspectRatio videoAspectRatio)
Sets the preferred video aspect ratio, and notifies listeners of this change. |
void |
setVideoCameraPath(List<Camera> cameraPath)
Sets the preferred video camera path, and notifies listeners of this change. |
void |
setVideoFrameRate(int videoFrameRate)
Sets the preferred video frame rate, and notifies listeners of this change. |
void |
setVideoQuality(int videoQuality)
Sets the preferred video quality, and notifies listeners of this change. |
void |
setVideoWidth(int videoWidth)
Sets the preferred video width, and notifies listeners of this change. |
void |
setWallsAlpha(float wallsAlpha)
Sets the walls transparency alpha of this environment and fires a PropertyChangeEvent . |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public HomeEnvironment()
public HomeEnvironment(int groundColor, HomeTexture groundTexture, int skyColor, int lightColor, float wallsAlpha)
public HomeEnvironment(int groundColor, HomeTexture groundTexture, int skyColor, HomeTexture skyTexture, int lightColor, float wallsAlpha)
Method Detail |
---|
public void addPropertyChangeListener(HomeEnvironment.Property property, PropertyChangeListener listener)
listener
in parameter to this environment.
public void removePropertyChangeListener(HomeEnvironment.Property property, PropertyChangeListener listener)
listener
in parameter from this environment.
public boolean isObserverCameraElevationAdjusted()
true
if the observer elevation should be adjusted according
to the elevation of the selected level.
public void setObserverCameraElevationAdjusted(boolean observerCameraElevationAdjusted)
PropertyChangeEvent
.
public int getGroundColor()
public void setGroundColor(int groundColor)
PropertyChangeEvent
.
public HomeTexture getGroundTexture()
public void setGroundTexture(HomeTexture groundTexture)
PropertyChangeEvent
.
public int getSkyColor()
public void setSkyColor(int skyColor)
PropertyChangeEvent
.
public HomeTexture getSkyTexture()
public void setSkyTexture(HomeTexture skyTexture)
PropertyChangeEvent
.
public int getLightColor()
public void setLightColor(int lightColor)
PropertyChangeEvent
.
public int getCeillingLightColor()
public void setCeillingLightColor(int ceilingLightColor)
PropertyChangeEvent
.
public float getWallsAlpha()
public void setWallsAlpha(float wallsAlpha)
PropertyChangeEvent
.
wallsAlpha
- a value between 0 and 1, 0 meaning opaque and 1 invisible.public HomeEnvironment.DrawingMode getDrawingMode()
public void setDrawingMode(HomeEnvironment.DrawingMode drawingMode)
PropertyChangeEvent
.
public float getSubpartSizeUnderLight()
public void setSubpartSizeUnderLight(float subpartSizeUnderLight)
PropertyChangeEvent
.
public boolean isAllLevelsVisible()
public void setAllLevelsVisible(boolean allLevelsVisible)
PropertyChangeEvent
.
public int getPhotoWidth()
public void setPhotoWidth(int photoWidth)
public int getPhotoHeight()
public void setPhotoHeight(int photoHeight)
public AspectRatio getPhotoAspectRatio()
public void setPhotoAspectRatio(AspectRatio photoAspectRatio)
public int getPhotoQuality()
public void setPhotoQuality(int photoQuality)
public int getVideoWidth()
public void setVideoWidth(int videoWidth)
public int getVideoHeight()
public AspectRatio getVideoAspectRatio()
public void setVideoAspectRatio(AspectRatio videoAspectRatio)
public int getVideoQuality()
public void setVideoQuality(int videoQuality)
public int getVideoFrameRate()
public void setVideoFrameRate(int videoFrameRate)
public List<Camera> getVideoCameraPath()
public void setVideoCameraPath(List<Camera> cameraPath)
public HomeEnvironment clone()
clone
in class Object
|
Sweet Home 3D 4.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
![]() |
© Copyrights 2006-2013 eTeks - All rights reserved
Distributed under GNU General Public License |