Package com.eteks.sweethome3d.j3d

Examples of com.eteks.sweethome3d.j3d.HomePieceOfFurniture3D$LightSelectionListener


        // Write 3D furniture
        i = 0;
        for (HomePieceOfFurniture piece : home.getFurniture()) {
          if (piece.isVisible()) {
            // Create a not alive new piece to be able to explore its coordinates without setting capabilities
            HomePieceOfFurniture3D pieceNode = new HomePieceOfFurniture3D(piece, home, true, true);
            writer.writeNode(pieceNode);
          }
        }
        // Write 3D rooms
        i = 0;
View Full Code Here


              final float pieceHeight = normalizedPiece.getHeight();
              if (waitingComponent != null) {
                // Generate icons in an other thread to avoid blocking EDT during offscreen rendering
                iconsCreationExecutor.execute(new Runnable() {
                    public void run() {
                      setIcon(createIcon(new HomePieceOfFurniture3D(normalizedPiece, null, true, true),
                          pieceWidth, pieceDepth, pieceHeight));
                      waitingComponent.repaint();
                    }
                  });
              } else {
                setIcon(createIcon(new HomePieceOfFurniture3D(normalizedPiece, null, true, true),
                    pieceWidth, pieceDepth, pieceHeight));
              }
            }
       
            public void modelError(Exception ex) {
View Full Code Here

TOP

Related Classes of com.eteks.sweethome3d.j3d.HomePieceOfFurniture3D$LightSelectionListener

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.