GLG Toolkit 是Generic Logic 公司的一個圖表工具包,該工具包包含了:Visualization and HMI Toolkit 和GLG Widgets 兩個控件。
GLG Toolkit是為開發高級圖形的動態界面而設計的框架:不只是簡單的按鈕和選單,且是完全動畫的圖形對象,它能夠顯示動態數據和作出與用戶交互的反應。它不僅是一個能夠創建很多“漂亮的圖片”繪圖工具,而且它的圖形引擎允許開發人員從程式中定義圖形項目和與它們進行交互。我們唯一的目標就是實現應用程式開發,將一些比較低階的圖形透過轉化一個繁瑣的工作編碼程式,進而進行交互式設計成一個高階的行為。
圖形生成器(Graphics Builder)在GLG Toolkit裡面扮演著核心的角色。生成器允許開發人員來定義外觀界面的獨立功能,而且可以在任何時候,不觸及代碼下改變它,避免耗時的編譯鏈接週期(compile-link cycles)。它可方便地進入任何以及所有先進功能的GLG圖形項目,包括限制、二維和三維動態、自定義事件、視口(viewport)和圖像項目、分層和subdrawings、團體和項目層次結構。
該工具包在繪圖編輯器功能上和編程API之中保持洽當的平衡性。生成器允許開發人員去定義複雜的圖形對象之間的聯繫,同時留下屬於它自己的功能邏輯,像是較為易用的編程環境就是。編程API提供了在繪圖方面能夠以一個無縫的定義方式,接入高階資源,使代碼並不需要關注,它只在乎所屬的邏輯結構,至於是什麼樣子的接口相對而言就不重要了。
GLG工具包重新定義了“框架”的含義。通常一個框架是一個結構內附的應用程序,從而使整個應用程序已被寫入其內,而不是融入當地的編程環境。 GLG的工具包可作為雙方的框架(其中一個應用程序生成)以及本機組件(Motif, Gtk or Qt widget, MFC class, ActiveX control, Java bean等等),它可以很容易地插入您的應用程序框架。因此,對於圖形對象引擎內部組件,它仍然允許無限制地訪問。
如果直到運行時還不知道圖形的性質或項目數目,GLG’s Extended API 可用於動態的生成對象。對於在設計當下定義圖形和使用任何繪圖編輯器或有限的功能腳本而言,如果其他工具包是有限制性的,Toolkit’s Extended API提供了有能力的應用程序,可以使得創建繪圖在運行時,基於數據庫的查詢、配置文件或用戶輸入,添加或刪除圖形對象動態。
該工具包透過簡潔有力和內容豐富的API,在控制能力上完成了前所未有的高階等級。比較少用到的功能如果需要被真正提供出來,通常需要數百人的研發。由於一貫以資源為基礎的模式,使得所有屬性和資源訪問都能被獲取,並且利用相同的Get/Set資源做修改。在其他工具包,每個屬性有不同的訪問方法設置,所以如果一個對象有30個屬性,開發人員需要習慣於與 30個不同的功能。在GLG,甚至是由用戶自己定義屬性的創建訪問資源仍然具有相同的獲取 /設置資源的方法。所有的程序員需要了解的是一個給定的名稱資源,像是一個直觀的默認如FillColor,或任何自定義名稱給予資源的開發。
There are several editions of the GLG Toolkit, which differ in the functionality of the included GLG Graphics Builder:
- Limited Edition: A limited version of the Graphics Builder for editing individual pre-built widgets.
- Basic Edition: Extends the limited version with capabilities for creating drawings containing panels composed of multiple widgets. It also allows to create and add new graphical primitives, text labels and decorations to the widget drawings.
- Professional Edition: Provides functionality for creating elaborate 2D or 3D dynamic drawings and custom components.
- Enterprise Edition: Includes advanced functionality for creating and editing complex drawings, with an ability to add custom properties, tooltips and custom events to the objects in the drawing. It also includes sub-drawing and sub-window objects, as well as the OEM functionality for creating components for the HMI Configurator with public properties for simplified editing.
- HMI Configurator: This is a simplified version of the Builder for the end users.
The following table provides feature by feature comparison of the GLG Graphics Builder's editions:
GLG Builder Feature | Limited | Basic | Professional | Enterprise |
Creating Graphical Primitives and Shapes | * | * | * | |
Editing Geometry and Attributes | * | * | * | * |
Geometrical Dynamics | * | * | * | * |
Attribute Dynamics | Predefined | Predefined | Predefined and Some Custom |
All |
Resources, Tags and Alarms | * | * | * | * |
Prototyping and Animation | * | * | * | * |
Viewports, Groups and Container Objects | * | * | * | |
Transparent (Light) Viewports | * | * | ||
Custom Data Browser and Custom Run Mode Extensions | * | * | * | |
Constraints | * | * | ||
Alternative Resizing Policy and Coordinate Systems | * | * | ||
Series Objects | * | * | ||
Interaction Handlers | * | * | ||
3D Drawing Attributes, Lighting and Shading | * | * | ||
Native Interface Objects (sliders, buttons, scrollbars, etc.) | * | * | ||
Embedded Top Level Screens and Dialogs | * | * | ||
Copy and Paste Dynamics between objects | * | * | ||
Code Generator (C/C++ version) | * | * | ||
Adding, Deleting and Merging Polygon Points, Offset Dynamics |
* | |||
Reference Objects, SubDrawings, SubWindows and other advanced objects | * | |||
History Objects and Custom Graph Scrolling |
* | |||
Copy Types (strong, constrained, etc.) | * | |||
Custom Properties | * | |||
Actions, Custom Events and Commands, Object Tooltips | * | |||
Aliases | * | |||
Setting Resources of multiple objects inside a Group using a resource path | * | |||
Copy and Paste special objects (Rendering, Text Box, Plot, etc.) | * | |||
Highlighting Traced Properties in the Properties Dialog | * | |||
Support for the EXTENDED Save Format to export drawings to the older GLG versions |
* | |||
Scripting Access to the GLG Extended API to create objects via a GLG Script | * | |||
Support for Persistent Series | * | |||
Public Properties, Export Tags and the OEM Mode for creating components for the HMI Configurator | * |
The price of the GLG Toolkit differs depending on the development platform.
List of Supported Platforms
- Windows 11 / 10 / 8 / 7 / Vista / XP (32 and 64 bit)
- Linux
- x86 (32 bit)
- AMD64 (64 bit)
- Embedded Linux
- ARMv6 Raspberry Pi
- ARMv7 BeagleBone
- ARMv8 (64 bit) Jetson Nano
- Solaris (Sparc, 32 and 64 bit)
- HPUX
- PA-RISC, 32 and 64 bit
- Itanuim
- AIX (RS6000 and Power PC, 32 and 64 bit)
- All Java SE / Java EE Platforms for the Java version of the Toolkit
- All major browsers (Chrome, Firefox, Edge, Safari and mobile) for the Web deployment (JavaScript / React / Angular / Next.js) deployment.
Packages
GLG Toolkit Packages | |
GLG Toolkit for C/C++
|
Professional Edition,Standard API Enterprise Edition,Standard API Professional Edition,Intermediate API Enterprise Edition,Intermediate API Enterprise Edition,Extended API |
GLG Toolkit for Java
|
Professional Edition,Standard API Enterprise Edition,Standard API Professional Edition,Intermediate API Enterprise Edition,Intermediate API Enterprise Edition,Extended API |
GLG Toolkit for C# / .NET
Note: This configuration can also be used for VB.NET or CLI |
Professional Edition,Standard API Enterprise Edition,Standard API Professional Edition,Intermediate API Enterprise Edition,Intermediate API Enterprise Edition,ExtendedAPI |
GLG Toolkit for .NET / ActiveX
Note: This configuration can alsobe used for VB.NET or CLI The ActiveX control is available only as a 32 bit control. It can be used onboth Windows 32 bit and Windows64 bit |
Professional Edition,Standard API Enterprise Edition,Standard API Professional Edition,Intermediate API Enterprise Edition,Intermediate API Enterprise Edition,ExtendedAPI |
GLG Toolkit for Web / Mobile
unlimited number of data points |
Professional Edition,Standard API Enterprise Edition,Standard API Professional Edition,Intermediate API Enterprise Edition,Intermediate API Enterprise Edition,Extended API |
GLG Toolkit for ASP/JSP
|
Basic Edition,Extended API Professional Edition,Extended API Enterprise Edition,Extended API |
Additional Components for Custom Packages | |
Additional Widget Sets Available widget sets:
|
|
Graphics Builder | Basic Edition Professional Edition Enterprise Edition |
HMI Configurator Call for OEM quantity discounts |
|
Standard API Library for an additional platform Royalty-Free Deployment |
C/C++ Library Java Class Library C# Class Library ActiveX Control |
Intermediate API Library for an additional platform Includes Standard API and Intermediate API Royalty-Free Deployment |
C/C++ Library Java Class Library C# Class Library ActiveX Control |
Extended API Library Includes Standard, Intermediate and Extended API Royalty-Free Deployment for Java, C# and ActiveX Run-Time fees apply to the C/C++ Extended API |
C/C++ Library Java Class Library C# Class Library ActiveX Control |
GLG HTML5 JavaScript API Includes One Web Deployment License |
|
GLG Graphics Server for ASP.NET (on Windows) or JSP Includes One Web Deployment License |
|
Map Server Development License Includes integrated GIS Object for the GLG Graphics Builder and run-time API |
|
Editor Customization Kit Includes add-on modules allowing OEM vendors to customize the interface of the Graphics Builder and the HMI Configurator |
|
DXF Converter | |
Deployment | |
Stand-alone / Desktop Deployment | |
Additional Web Deployment License for GLG JavaScript Library Includes: |
|
Additional Web Deployment License Includes: |
|
Additional Web Server License Includes: |
GLG Toolkit 相關軟體
GLG Widgets - Royalty Free Components
一個入門級配置的GLG工具包,包含一個或多個專用界面工具集(widget set),它提供自定義組件的應用程序,如撥號、儀表、圖表、航空電子儀表和過程控制工具集。這些組件可以作為個人專用界面工具集或合併到自定義的儀表板 和模擬控制面板,包含多個小附件。每個附件可以更新實時數據,並且可以採取用戶輸入。 根據不同的編程環境,GLG工具集可能被部署為一個 C/C++或MFC類別, Java Bean, ActiveX Control 或 Qt/Gtk/Motif Widget。
Visualization and HMI Toolkit - With Royalty-Free Cross-Platform Vector Graphics Engine
該工具包包含動態圖形生成器,無論是從頭開始,或從提供的選擇集的預建組件,它都能用於創建圖形交互。動態行為和圖形對像的資料界面都暴露給應用程序的邏 輯層,使它可以使用命名資源和標籤的機制,因此可以申請從了解低級別的細節基本的圖形開始做起。 屏幕上的圖形可以在各種不同的編程環境和平台被部署於免版稅。部署選項包括為多樣化的Windows和Unix/Linux平台做跨平台的C/C++資料 庫、Java類別資料庫的Java部署以及一個 ActiveX控制項C#和VB.NET。 Java版本的工具包可用於客戶端的網絡部署,而GLG圖形伺服器(GLG Graphics Server)可用於基於 AJAX的伺服器端Web部署。
HMI Configurator - Simplified HMI Editor for the End-User
HMI Configurator是一個簡化HML界面編輯器,供最終用戶使用。雖然GLG圖形生成器可用於由一個應用程序開發人員或系統集成商,以建立詳細的視 覺元素與複雜的動力學,HMI Configurator的目標是讓最終用戶以最少的學習曲線且具有易於使用的編輯器,來編寫自定義顯示器和使用圖書館預構建的組件。
AJAX Graphics Server - AJAX Dynamic Graphics for JSP Servlets
GLG圖形服務器提供了一個"thin-client "伺服器端解決方案,使AJAX應用程序不需要繁瑣的圖形編程就可以顯示動態圖形。在客戶端它並不需要Java或專有插件,對於工具包以Java為基礎的thick-client來說是一個替代性的選擇。
Dynamic Configuration and Editing API - Toolkit Option
GLG Extended API提供應用程序,在當前配置數據以飛行的方式創建繪圖。它也可用於圖形對象的添加使它在運行時呈現動態,這是很重要的應用,因為可以顯示不同數量的動 態圖標,如在地圖上移動飛機圖標。另一個使用Extended API的例子,是一個應用程序,它基於用戶輸入來創建自定義圖表對象交互。
GIS Map Server - Integrated Component or Standalone
GLG地圖伺服器的組件在GLG工具包增加了動態映射能力,或許可以搭配著Toolkit使用或獨立使用皆可。 當使用Toolkit,集成地理信息系統對象在GLG drawing 後台呈現一個地圖,並且照顧所有事務的縮放、平移和坐標轉換,而Toolkit即時處理動態圖標上面的地圖和更新。
Supported Environments:
- Windows / Linux / Unix
- Desktop / Web / Mobile
- Cross-Platform C/C++
- Embedded / ARM
- Java
- C# / VB.NET
- HTML5 & JavaScript
- ASP.NET / JSP