Package com.eteks.sweethome3d.model

Examples of com.eteks.sweethome3d.model.CatalogLight


              pieceWidth, pieceDepth, pieceHeight, pieceElevation, pieceMovable,
              opening.getWallThickness(), opening.getWallDistance(), opening.getSashes(),
              pieceModelRotation, pieceCreator, pieceResizable, pieceDeformable, piece.isTexturable(),
              piecePrice, pieceValueAddedTaxPercentage);
        } else if (piece instanceof CatalogLight) {
          CatalogLight light = (CatalogLight)piece;
          piece = new CatalogLight(pieceId, pieceName, pieceDescription,
              pieceIcon, light.getPlanIcon(), pieceModel,
              pieceWidth, pieceDepth, pieceHeight, pieceElevation, pieceMovable, light.getLightSources(),
              pieceModelRotation, pieceCreator, pieceResizable, pieceDeformable, piece.isTexturable(),
              piecePrice, pieceValueAddedTaxPercentage);
        } else {
          if (doorOrWindow != null && doorOrWindow) {
            piece = new CatalogDoorOrWindow(pieceId, pieceName, pieceDescription,
View Full Code Here


          wallThicknessPercentage, wallDistancePercentage, sashes, modelRotation, creator,
          resizable, deformable, texturable, price, valueAddedTaxPercentage);
    } else {
      LightSource [] lightSources = getLightSources(resource, index, width, depth, height);
      if (lightSources != null) {
        return new CatalogLight(id, name, description, icon, planIcon, model,
            width, depth, height, elevation, movable, lightSources, modelRotation, creator,
            resizable, deformable, texturable, price, valueAddedTaxPercentage);
      } else {
        return new CatalogPieceOfFurniture(id, name, description, icon, planIcon, model,
            width, depth, height, elevation, movable, modelRotation, creator,
View Full Code Here

            doorOrWindow.getWallDistance(), doorOrWindow.getSashes(),
            doorOrWindow.getModelRotation(), doorOrWindow.getCreator(),
            doorOrWindow.isResizable(), doorOrWindow.isDeformable(), doorOrWindow.isTexturable(),
            doorOrWindow.getPrice(), doorOrWindow.getValueAddedTaxPercentage());
      } else if (piece instanceof CatalogLight) {
        CatalogLight light = (CatalogLight)piece;
        piece = new CatalogLight(light.getId(), suffixedName,
            light.getDescription(), light.getIcon(), light.getPlanIcon(), light.getModel(),
            light.getWidth(), light.getDepth(), light.getHeight(), light.getElevation(),
            light.isMovable(), light.getLightSources(),
            light.getModelRotation(), light.getCreator(),
            light.isResizable(), light.isDeformable(), light.isTexturable(),
            light.getPrice(), light.getValueAddedTaxPercentage());
      } else {
        piece = new CatalogPieceOfFurniture(piece.getId(), suffixedName,
            piece.getDescription(), piece.getIcon(), piece.getPlanIcon(), piece.getModel(),
            piece.getWidth(), piece.getDepth(), piece.getHeight(), piece.getElevation(),
            piece.isMovable(), piece.getModelRotation(), piece.getCreator(),
View Full Code Here

TOP

Related Classes of com.eteks.sweethome3d.model.CatalogLight

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.