|
Sweet Home 3D 4.1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PieceOfFurniture
A piece of furniture.
Method Summary | |
---|---|
Integer |
getColor()
Returns the color of this piece of furniture. |
String |
getCurrency()
Returns the price currency, noted with ISO 4217 code, or null
if it has no price or default currency should be used. |
float |
getDepth()
Returns the depth of this piece of furniture. |
String |
getDescription()
Returns the description of this piece of furniture. |
float |
getElevation()
Returns the elevation of this piece of furniture. |
float |
getHeight()
Returns the height of this piece of furniture. |
Content |
getIcon()
Returns the icon of this piece of furniture. |
Content |
getModel()
Returns the 3D model of this piece of furniture. |
float[][] |
getModelRotation()
Returns the rotation 3 by 3 matrix of this piece of furniture that ensures its model is correctly oriented. |
String |
getName()
Returns the name of this piece of furniture. |
Content |
getPlanIcon()
Returns the icon of this piece of furniture displayed in plan or null . |
BigDecimal |
getPrice()
Returns the price of this piece of furniture or null . |
String |
getStaircaseCutOutShape()
Returns the shape used to cut out upper levels when they intersect with the piece like a staircase. |
BigDecimal |
getValueAddedTaxPercentage()
Returns the Value Added Tax percentage applied to the price of this piece of furniture. |
float |
getWidth()
Returns the width of this piece of furniture. |
boolean |
isBackFaceShown()
Returns true if the back face of the piece of furniture
model should be displayed. |
boolean |
isDeformable()
Returns true if this piece is deformable. |
boolean |
isDoorOrWindow()
Returns true if this piece of furniture is a door or a window. |
boolean |
isMovable()
Returns true if this piece of furniture is movable. |
boolean |
isResizable()
Returns true if this piece is resizable. |
boolean |
isTexturable()
Returns false if this piece should always keep the same color or texture. |
Method Detail |
---|
String getName()
String getDescription()
float getDepth()
float getHeight()
float getWidth()
float getElevation()
boolean isMovable()
true
if this piece of furniture is movable.
boolean isDoorOrWindow()
true
if this piece of furniture is a door or a window.
As this method existed before DoorOrWindow interface,
you shouldn't rely on the value returned by this method to guess if a piece
is an instance of DoorOrWindow
class.
Content getIcon()
Content getPlanIcon()
null
.
Content getModel()
float[][] getModelRotation()
String getStaircaseCutOutShape()
boolean isBackFaceShown()
true
if the back face of the piece of furniture
model should be displayed.
Integer getColor()
boolean isResizable()
true
if this piece is resizable.
boolean isDeformable()
true
if this piece is deformable. The width, depth and height
of a deformable piece may change independently from each other.
boolean isTexturable()
false
if this piece should always keep the same color or texture.
BigDecimal getPrice()
null
.
BigDecimal getValueAddedTaxPercentage()
String getCurrency()
null
if it has no price or default currency should be used.
|
Sweet Home 3D 4.1 | |||||||||
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 |