Package | Description |
---|---|
com.eteks.sweethome3d.io |
Implements how to read and write
homes and
user preferences created in
model classes of Sweet Home 3D.
|
com.eteks.sweethome3d.j3d |
Contains various tool 3D classes and 3D home objects useful in
Swing package.
|
com.eteks.sweethome3d.model |
Describes model classes of Sweet Home 3D.
|
com.eteks.sweethome3d.viewcontroller |
Describes controller classes and view interfaces of Sweet Home 3D.
|
Modifier and Type | Method and Description |
---|---|
protected void |
HomeXMLExporter.writeTexture(XMLWriter writer,
HomeTexture texture,
java.lang.String attributeName)
Writes in XML the
texture object with the given writer . |
Modifier and Type | Method and Description |
---|---|
float |
TextureManager.getRotatedTextureHeight(HomeTexture texture)
Returns the height of the given texture once its rotation angle is applied.
|
float |
TextureManager.getRotatedTextureWidth(HomeTexture texture)
Returns the width of the given texture once its rotation angle is applied.
|
protected javax.media.j3d.TextureAttributes |
Object3DBranch.getTextureAttributes(HomeTexture texture)
Returns shared texture attributes matching transformation applied to the given texture.
|
protected javax.media.j3d.TextureAttributes |
Object3DBranch.getTextureAttributes(HomeTexture texture,
boolean scaled)
Returns shared texture attributes matching transformation applied to the given texture
and scaled if required.
|
protected javax.media.j3d.TextureAttributes |
Object3DBranch.getTextureAttributesFittingArea(HomeTexture texture,
float[][] areaPoints,
boolean invertY)
Returns texture attributes with a transformation scaled to fit the surface matching
areaPoints . |
Modifier and Type | Method and Description |
---|---|
HomeTexture |
Room.getCeilingTexture()
Returns the ceiling texture of this room.
|
HomeTexture |
Room.getFloorTexture()
Returns the floor texture of this room.
|
HomeTexture |
HomeEnvironment.getGroundTexture()
Returns the ground texture of this environment.
|
HomeTexture |
Wall.getLeftSideTexture()
Returns the left side texture of this wall.
|
HomeTexture |
Wall.getRightSideTexture()
Returns the right side texture of this wall.
|
HomeTexture |
HomeEnvironment.getSkyTexture()
Returns the sky texture of this environment.
|
HomeTexture |
HomeMaterial.getTexture()
Returns the texture of this material.
|
HomeTexture |
HomeFurnitureGroup.getTexture()
Returns
null . |
HomeTexture |
HomePieceOfFurniture.getTexture()
Returns the texture of this piece of furniture.
|
HomeTexture |
Baseboard.getTexture()
Returns the texture of this baseboard.
|
Modifier and Type | Method and Description |
---|---|
static Baseboard |
Baseboard.getInstance(float thickness,
float height,
java.lang.Integer color,
HomeTexture texture)
Returns an instance of this class matching the given parameters.
|
void |
Room.setCeilingTexture(HomeTexture ceilingTexture)
Sets the ceiling texture of this room.
|
void |
Room.setFloorTexture(HomeTexture floorTexture)
Sets the floor texture of this room.
|
void |
HomeEnvironment.setGroundTexture(HomeTexture groundTexture)
Sets the ground texture of this environment and fires a
PropertyChangeEvent . |
void |
Wall.setLeftSideTexture(HomeTexture leftSideTexture)
Sets the left side texture of this wall.
|
void |
Wall.setRightSideTexture(HomeTexture rightSideTexture)
Sets the right side texture of this wall.
|
void |
HomeEnvironment.setSkyTexture(HomeTexture skyTexture)
Sets the sky texture of this environment and fires a
PropertyChangeEvent . |
void |
HomeFurnitureGroup.setTexture(HomeTexture texture)
Sets the
texture of the furniture of this group. |
void |
HomePieceOfFurniture.setTexture(HomeTexture texture)
Sets the texture of this piece of furniture.
|
Constructor and Description |
---|
Baseboard(float thickness,
float height,
java.lang.Integer color,
HomeTexture texture)
Creates a baseboard.
|
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.
|
HomeEnvironment(java.lang.String id,
int groundColor,
HomeTexture groundTexture,
int skyColor,
HomeTexture skyTexture,
int lightColor,
float wallsAlpha)
Creates home environment from parameters.
|
HomeMaterial(java.lang.String name,
java.lang.Integer color,
HomeTexture texture,
java.lang.Float shininess)
Creates a material instance from parameters.
|
HomeMaterial(java.lang.String name,
java.lang.String key,
java.lang.Integer color,
HomeTexture texture,
java.lang.Float shininess)
Creates a material instance from parameters.
|
Modifier and Type | Method and Description |
---|---|
HomeTexture |
TextureChoiceController.getTexture()
Returns the texture displayed by view.
|
Modifier and Type | Method and Description |
---|---|
void |
TextureChoiceController.setTexture(HomeTexture texture)
Sets the texture displayed by view and fires a
PropertyChangeEvent . |
© Copyrights 2006-2023 Emmanuel PUYBARET / eTeks
Distributed under GNU General Public License