Trident Development Framework
Total Page:16
File Type:pdf, Size:1020Kb
Trident Development Framework Tom MacAdam Jim Covill Kathleen Svendsen Martec Limited Prepared By: Martec Limited 1800 Brunswick Street, Suite 400 Halifax, Nova Scotia B3J 3J8 Canada Contractor's Document Number: TR-14-85 (Control Number: 14.28008.1110) Contract Project Manager: David Whitehouse, 902-425-5101 PWGSC Contract Number: W7707-145679/001/HAL CSA: Malcolm Smith, Warship Performance, 902-426-3100 x383 The scientific or technical validity of this Contract Report is entirely the responsibility of the Contractor and the contents do not necessarily have the approval or endorsement of the Department of National Defence of Canada. Contract Report DRDC-RDDC-2014-C328 December 2014 © Her Majesty the Queen in Right of Canada, as represented by the Minister of National Defence, 2014 © Sa Majesté la Reine (en droit du Canada), telle que représentée par le ministre de la Défense nationale, 2014 Working together for a safer world Trident Development Framework Martec Technical Report # TR-14-85 Control Number: 14.28008.1110 December 2014 Prepared for: DRDC Atlantic 9 Grove Street Dartmouth, Nova Scotia B2Y 3Z7 Martec Limited tel. 902.425.5101 1888 Brunswick Street, Suite 400 fax. 902.421.1923 Halifax, Nova Scotia B3J 3J8 Canada email. [email protected] www.martec.com REVISION CONTROL REVISION REVISION DATE Draft Release 0.1 10 Nov 2014 Draft Release 0.2 2 Dec 2014 Final Release 10 Dec 2014 PROPRIETARY NOTICE This report was prepared under Contract W7707-145679/001/HAL, Defence R&D Canada (DRDC) Atlantic and contains information proprietary to Martec Limited. The information contained herein may be used and/or further developed by DRDC Atlantic for their purposes only. Complete use and disclosure limitations are contained in Contract W7707-145679/001/HAL, DRDC Atlantic. EXECUTIVE SUMMARY This report details work undertaken to develop the Next Generation Trident (NGT) skeleton application. The work included an evaluation of alternatives for the graphics and user interface components of the application, from which the Visualization Toolkit (VTK) and Microsoft’s PRISM were chosen, respectively. The technologies were then integrated to form the skeleton NGT application, which demonstrated the layout of the application as well as its performance in loading and visualizing an AVAST model, as well as other stress-test models. Finally, the complete list of features for the NGT was determined and presented as a series of related feature sets which can be used to carry out the remaining phases of the NGT implementation. TABLE OF CONTENTS 1.0 INTRODUCTION .........................................................................................................................................1 2.0 THE NGT GRAPHICS ENGINE.................................................................................................................2 2.1 DESIGN CONSIDERATIONS ...........................................................................................................................2 2.2 VTK OVER OPENGL/DIRECT3D .................................................................................................................4 2.3 VTK OVER TRIDENT VISUALIZER ...............................................................................................................4 2.4 VTK VS.COMMERCIAL GRAPHICS ENGINES................................................................................................5 2.5 LIMITATIONS ...............................................................................................................................................5 3.0 THE NGT USER INTERFACE FRAMEWORK.......................................................................................6 3.1 DESIGN CONSIDERATIONS ...........................................................................................................................6 3.2 WPF OVER WINDOWS FORMS OR MFC.......................................................................................................7 3.3 WPF OVER QT ............................................................................................................................................8 3.4 LIMITATIONS ...............................................................................................................................................8 4.0 THE NGT 1.0 SKELETON APPLICATION............................................................................................10 4.1 CHARACTERISTICS .....................................................................................................................................10 4.2 LIMITATIONS .............................................................................................................................................12 5.0 PRIORITIZED IMPLEMENTATION ORDER FOR NGT V1.0 ..........................................................13 5.1 FEATURE SET 1-‘FILES’ AND ‘LINKS’MODULES......................................................................................13 5.2 FEATURE SET 2–GENERATE/MODIFY MODULE........................................................................................13 5.3 FEATURE SET 3–BASIC ANALYSIS GENERATION AND VERIFICATION ......................................................14 5.4 FEATURE SET 4–RESULTS MODULE .........................................................................................................15 5.5 FEATURE SET 5–VERIFY MODULE ...........................................................................................................15 5.6 FEATURE SET 6–OPTIONS MODULE .........................................................................................................15 5.7 FEATURE SET 7–INQUIRE MODULE ..........................................................................................................16 5.8 FEATURE SET 8–ERASE/RESTORE MODULE .............................................................................................16 5.9 FEATURE SET 9– DISPLAY MODULE ..........................................................................................................17 6.0 CONCLUSIONS AND RECOMMENDATIONS.....................................................................................18 7.0 REFERENCES ............................................................................................................................................19 LIST OF FIGURES FIGURE 2-1: RESULTS OF VTK PERFORMANCE TESTS...............................................................................................3 FIGURE 4-1: THE NGT V1.0 SKELETON APPLICATION. ..........................................................................................10 LIST OF TABLES TABLE 4-1: THE FIVE MODULES OF THE NGT V1.0 SKELETON APPLICATION..........................................................11 Trident Development Framework 1 1.0 INTRODUCTION Previous work, undertaken under Task 5 – “Next Generation Trident Roadmap” of contract W7707-145679/001/HAL, documented the need to improve user interaction and/or usability shortcomings with the Trident software suite of applications [1]. The work identified, through user surveys, two main areas of focus – Trident’s graphical rendering capability, and its user interface (UI) framework. The Trident derived code PVAST, contained within the main Trident application, exhibits the same issues and is addressed as part of the Next Generation Trident (NGT) upgrade. In addition, the AVAST UI/front end application, currently independent of Trident, can also significantly benefit via incorporation of the new Trident and PVAST architecture, should it undergo future enhancements to address usability concerns. This task details the design and development of the skeleton framework for the NGT V1.0 application based on informed technology choices from a thorough evaluation of alternatives. This skeleton framework serves as the basis for all subsequent development tasks that will constitute the final NGT V1.0 application. This report also details the design considerations and decisions that underpinned the development of this framework as well as gives an overview of the framework deliverable. Finally, this task defined the scope and extent of the feature set that will be carried from the Current Generation Trident (CGT) to the NGT. These features were chosen based on priority towards yielding a version 1.0 release that provides the most functionality to an end user within a reasonable development timeframe. TR-14-85 Trident Development Framework 2 2.0 THE NGT GRAPHICS ENGINE The graphics engine of the NGT application refers to the subsystem responsible for rendering the finite element model graphically on the screen and allowing the user to interact with it for purposes of pre-processing and post-processing their analysis. The graphics engine chosen for the NGT application is the Visualization Toolkit (VTK, see [2]), an open source, freely available library developed and commercially supported by Kitware Inc. [3]. The various design considerations leading to this choice over the alternatives are given in the following sections. 2.1 DESIGN CONSIDERATIONS Results of the Trident user survey undertaken in Task 5 of this contract indicated that model rendering and interactivity were the leading concerns for users of the current-generation application. Specifically, the graphics subsystem was slow to render large models, and the lack of dynamic interaction with the model viewport made it more difficult to establish context when navigating the model and isolating features of interest.