|
Sweet Home 3D 3.4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.media.j3d.SceneGraphObject
javax.media.j3d.Node
javax.media.j3d.Group
javax.media.j3d.BranchGroup
com.eteks.sweethome3d.j3d.Object3DBranch
com.eteks.sweethome3d.j3d.Ground3D
public class Ground3D
Root of a the 3D ground.
Field Summary |
---|
Fields inherited from class com.eteks.sweethome3d.j3d.Object3DBranch |
---|
DEFAULT_AMBIENT_COLOR, DEFAULT_COLOR, DEFAULT_MATERIAL, OUTLINE_COLORING_ATTRIBUTES, OUTLINE_LINE_ATTRIBUTES, OUTLINE_POLYGON_ATTRIBUTES |
Fields inherited from class javax.media.j3d.BranchGroup |
---|
ALLOW_DETACH |
Fields inherited from class javax.media.j3d.Group |
---|
ALLOW_CHILDREN_EXTEND, ALLOW_CHILDREN_READ, ALLOW_CHILDREN_WRITE, ALLOW_COLLISION_BOUNDS_READ, ALLOW_COLLISION_BOUNDS_WRITE |
Constructor Summary | |
---|---|
Ground3D(Home home,
float groundOriginX,
float groundOriginY,
float groundWidth,
float groundDepth,
boolean waitTextureLoadingEnd)
Creates a 3D ground for the given home . |
Method Summary | |
---|---|
void |
addAreaGeometry(Shape3D groundShape,
HomeTexture groundTexture,
java.awt.geom.Area area,
float elevation)
Adds to ground shape the geometry matching the given area. |
void |
update()
Updates ground coloring and texture attributes from home ground color and texture. |
Methods inherited from class com.eteks.sweethome3d.j3d.Object3DBranch |
---|
getMaterial, getShape, parseShape |
Methods inherited from class javax.media.j3d.BranchGroup |
---|
cloneNode, compile, detach, pickAll, pickAll, pickAllSorted, pickAllSorted, pickAny, pickAny, pickClosest, pickClosest |
Methods inherited from class javax.media.j3d.Group |
---|
addChild, getAllChildren, getAlternateCollisionTarget, getChild, getCollisionBounds, indexOfChild, insertChild, moveTo, numChildren, removeAllChildren, removeChild, removeChild, setAlternateCollisionTarget, setChild, setCollisionBounds |
Methods inherited from class javax.media.j3d.Node |
---|
cloneTree, cloneTree, cloneTree, cloneTree, cloneTree, cloneTree, duplicateNode, getBounds, getBoundsAutoCompute, getCollidable, getLocale, getLocalToVworld, getLocalToVworld, getParent, getPickable, setBounds, setBoundsAutoCompute, setCollidable, setPickable |
Methods inherited from class javax.media.j3d.SceneGraphObject |
---|
clearCapability, clearCapabilityIsFrequent, duplicateSceneGraphObject, getCapability, getCapabilityIsFrequent, getName, getUserData, isCompiled, isLive, setCapability, setCapabilityIsFrequent, setName, setUserData, toString, updateNodeReferences |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Ground3D(Home home, float groundOriginX, float groundOriginY, float groundWidth, float groundDepth, boolean waitTextureLoadingEnd)
home
.
Method Detail |
---|
public void update()
update
in class Object3DBranch
public void addAreaGeometry(Shape3D groundShape, HomeTexture groundTexture, java.awt.geom.Area area, float elevation)
|
Sweet Home 3D 3.4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
![]() |
? Copyrights 2006-2011 eTeks - All rights reserved
Distributed under GNU General Public License |