environment model building tools
play

Environment Model Building Tools MSE Presentation 2 Esteban - PowerPoint PPT Presentation

Environment Model Building Tools MSE Presentation 2 Esteban Guillen Outline Action Items Project Plan Architecture Design Formal Specification Formal Inspection Checklist Test Plan Questions Demo (Terrain Builder)


  1. Environment Model Building Tools MSE Presentation 2 Esteban Guillen

  2. Outline � Action Items � Project Plan � Architecture Design � Formal Specification � Formal Inspection Checklist � Test Plan � Questions � Demo (Terrain Builder)

  3. Action Items � Added detail to use case diagram � Though more about searching � Identified features to be implemented

  4. New Use Case Diagram

  5. Searching � Libraries will be a hierarchy of directories searchable by a JTree � A preview window will show a selected library item as a 3D thump-nail

  6. Features to be Implemented EMB � Load Objects (search and preview) � Load Terrain (search and preview) � Move Objects � View in 3D � Save Model � Load Model

  7. EMB Building Surface

  8. Features to be Implemented EOB � Build from primitives (move, resize, set properties) � Build from saved objects � Search and Preview � View in 3D � Save (collection of primitives) � Load

  9. EOB Building Surface

  10. Features to be Implemented ETB � Modify Elevation � Set properties (texture mapping) � View in 3D � Save (elevation map, triangle coords) � Load

  11. ETB Building Surface

  12. Project Plan – Cost Estimate � Current Progress � 152 total hours (Phase 1 & 2) � 90 hours coding/debugging/testing � 62 hours documentation � 1200 SLOC � 25% of implemented features � 5 Documents

  13. Project Plan – Cost Estimate � Productivity � 1200 SLOC / 90 hours = 13.2 SLOC/hour � 5 Documents / 62 hours = .08 Docs/hour � Remaining Work � 1200 SLOC / .25 = 4800 SLOC � 4-5 Documents

  14. Project Plan – Cost Estimate � Remaining Effort � 3600 SLOC / (13.3 SLOC /hour) � = 270.7 hours or 39 days (7 hours per day) � 56 hours for documentation � = 8 days

  15. Project Plan – WBS � High level � Coding/debugging – 30 days � Testing – 9 days � Documentation – 8 days

  16. Project Plan - WBS � Deliverables for Presentation 3 � Action Items (documentation) � User Manual (documentation) � Component Design (documentation) � Source Code (development) � Assessment Evaluation (testing) � Project Evaluation (documentation) � References (documentation) � Technical Inspection Letters (documentation)

  17. Project Plan � Development (6/10 – 7/15) � ETB � EOB � EMB � Testing (7/16 – 7/28) � Documentation (7/29 – 8/10)

  18. Architecture Design – EMB Package Organization EMB Model EMB Application EMB View EMB Controller

  19. Architecture Design – EMB Application Package EMBApplication init()

  20. Architecture Design – EMB Controller Package EMBController save(f : File) open(f : File) parseXML() exportXML() setZoomFactor()

  21. Architecture Design – EMB View Package EMBView +xml 1 1 EMBXMLView +threeD EMBThreeDimensionalView 1 1 showXML() add(s : Shape3D) +canvas 1 1 EMBDrawingView +objectPrev 1 +terrainPrev 1 1 1 +builder 1 1 EMBObjectPreview EMBTerrainPreview EMBBuildingSurface addObject() addTerrain() paint() zoomOut() zoomIn() select(p : Point2d) +finder 1 1 1 1 +finder +view 1 1 +view 1 1 EMBObjectFinder EMBTerrainFinder EMBObjectView EMBTerrainView searchDB() searchDB() getCurrent() : EMBObject display(s : Shape3D) getCurrent() : EMBTerrain display(s : Shape3D) select() select()

  22. Architecture Design – EMB Model Package EMBEnvironment EMBObject EMBModel name : String name : String x : Double getData() : EMBEnvironment +environment writeXML() : String y : Double addObject(o : EMBObject) 1..n 1..n 1 1 1 1 addObject(o : EMBObject) z : Double addTerrain(t : EMBTerrain) n n addTerrain(t : EMBTerrain) length : Double +objects deleteObject(o : EMBObject) deleteObject(o : EMBObject) width : Double deleteTerrain(t : EMBTerrain) deleteTerrain(t : EMBTerrain) height : Double n n +objects +environments 1..n writeXML() : String 1..n addShape(s : EMBBasicShape) 1..n 1..n move(p : Point3d) 1 1 +terrain 1 1 EMBObjectLibrary 1 1 1 1 EMBTerrain EMBEnvironmentLibrary getData() : Set(EMBObject) +shapes 1..n 1..n name : String addData(o : EMBObject) EMBBasicShape getData() : Set(EMBEnvironment) getHeight(x : Double, z : Double) : Double addData(e : EMBEnvironment) name : String writeXML() : String x : Double y : Double +terrains 1..n 1..n z : Double writeXML() : String 1 1 EMBCone EMBTerrainLibrary EMBSphere height : Double radius : Double radius : Double EMBBox getData() : Set(EMBTerrain) EMBCylinder addData(t : EMBTerrain) length : Double height : Double width : Double radius : Double height : Double

  23. Architecture Design – EMB Loading a Terrain : EMBTerrainFinder : EMBObjectView : EMBTerrainPreview : EMBModel : EMBEnvironment : EMBBuildingSurface : EMBThreeDimensionalView : User select display select display addTerrain getCurrent addTerrain addTerrain paint add

  24. Architecture Design – EMB Loading an Object : EMBObjectFinder : EMBObjectView : EMBObjectPreview : EMBModel : EMBEnvironment : EMBBuildingSurface : EMBThreeDimensionalView : User select display select display addObject getCurrent addObject addObject paint add

  25. Architecture Design – EMB Saving an Environment Model : EMBController : EMBModel model : EMBEnvironment : EMBTerrain : EMBObject box1 : EMBBox sphere1 : EMBSphere : User save getData writeXML writeXML writeXML writeXML writeXML

  26. Architecture Design – EOB Package Organization EOB Model EOB Application EOB View EOB Controller

  27. Architecture Design – EOB Application Package EOBApplication init()

  28. Architecture Design – EOB Controller Package EOBController save(f : File) open(f : File) parseXML() exportXML() setZoomFactor()

  29. Architecture Design – EOB View Package EOBView +threeD 1 1 EOBXMLView 1 1 EOBThreeDimensionalView +xml showXML() add(s : Shape3D) +canvas 1 1 EOBDrawingView EOBFrontDrawingView 1 1 paint() +front +preview zoomOut() 1 1 zoomIn() EOBObjectPreview select(p : Point2d) 1 1 +top +side addObject() 1 1 EOBTopDrawingView EOBSideDrawingView paint() zoomOut() 1 1 +finder paint() zoomIn() +view zoomOut() EOBObjectFinder 1 1 select(p : Point2d) zoomIn() EOBObjectView select(p : Point2d) searchDB() getCurrent() : EOBObject display(s : Shape3D) select()

  30. Architecture Design – EOB Model Package EOBObject name : String EOBBasicShape x : Double y : Double name : String EOBModel z : Double x : Double +object +shapes y : Double width : Double getData() : EOBObject length : Double z : Double 1 1 1 1 1 1 addShape(s : EOBBasicShape) 1..n 1..n height : Double deleteShape(s : EOBBasicShape) writeXML() : String 1..n 1..n writeXML() : String move(p : Point3d) addShape(s : EOBBasicShape) EOBCone +objects deleteShape(s : EOBBasicShape) 1 1 height : Double radius : Double EOBObjectLibrary modify(h : Double, r : Double) getData() : Set(EOBObject) EOBBox addData(o : EOBBasicShape) length : Double EOBCylinder height : Double EOBSphere height : Double width : Double radius : Double radius : Double modify(l : Double, h : Double, w : Double) modify(r : Double) modfy(h : Double, r : Double)

  31. Architecture Design – EOB Adding Two Box Shapes : EOBObjectFinder : EOBObjectView : EOBObjectPreview : EOBModel : EOBObject : EOBFrontDrawingView : EOBSideDrawingView : EOBTopDrawingView : EOBThreeDimensionalView : User select display add getCurrent new box1 : EOBBox addShape addShape paint paint paint add add getCurrent new box2 : EOBBox addShape addShape paint paint paint add

  32. Architecture Design – EOB Modifying Box Shapes : EOBFrontDrawingView : EOBSideDrawingView : EOBTopDrawingView : EOBModel box1 : EOBBox box2 : EOBBox : User select getData move paint paint select getData modify paint paint

  33. Architecture Design – ETB Package Organization ETB Model ETB Application ETB View ETB Controller

  34. Architecture Design – ETB Application Package ETBApplication init()

  35. Architecture Design – ETB Controller Package ETBController save(f : File) open(f : File) parseXML() exportXML() setZoomFactor()

  36. Architecture Design – ETB View Package ETBView +xml 1 1 ETBXMLView +threeD 1 1 +canvas 1 1 ETBThreeDimensionalView ETBDrawingView showXML() add(s : Shape3D) 1 1 +builder +preview ETBBuildingSurface 1 1 ETBTerrainPreview paint() modify(p : Point2d) addTerrain() setElevation(h : Double) 1 1 +finder +view 1 1 ETBTerrainFinder ETBTerrainView searchDB() select() display(s : Shape3D) getCurrent() : ETBTerrain

  37. Architecture Design – ETB Model Package ETBTerrain ETBModel name : String +terrain 1 1 1 1 getData() : ETBTerrain writeXML() : String updatePoint(i : Integer, p : Point3d) +terrains 1..n 1..n 1 1 ETBTerrainLibrary getData() : Set(ETBTerrain) addData(t : ETBTerrain)

  38. Architecture Design – ETB Modifying Elevation : ETBBuildingSurface : ETBModel : ETBTerrain : User setElevation modify getData updatePoint

Recommend


More recommend