Software Development Kit (SDK)
The Software Development Kit allows you to create and add new functionalities as a plug-in to VR-Design Studio. A plug-in developed for VR-Design Studio requires a running version of VR-Design Studio. You have the right to redistribute the plug-in on its own as a separate product.
This API is provided to customize UC-win/Road.
This API allows you the flexibility to develop and customize options similar to that of a basic UC-win/Road plug-in.
In addition, the reading and writing of UC-win/Road date and customizing user interface are available in real time.
Program Features
Specification
UC-win/Road SDK requires Embarcadero® Delphi to develop the plug-in because the API of UC-win/Road SDK is made by Delphi.
UC-win/Road plug-in, as a runtime library of Embacadero® Delphi, is either loaded during the start-up of UC-win/Road or by using UC-win/Road plug-in manager on the screen.
Product Configuration
Library Folder : Stores the various library files necessary to compile the plug-ins.
Plugins Folder : Stores source codes of various sample programs.
By compiling and carrying out, it will be helpful for the understanding of functions controllable by SDK.
Help File : Describes the API interface and how to set Delphi. Only in English for the current version.
API Function
SDK has a variety of functions such as creating and editing UC-win/Road data, data exchange, data processing, addition of UI (User Interface), and driving simulation control. The followings are the main functions:
Reference and change of static data constructing VR space
This SDK is for the following objects, and has the function of data creation, edit, exchange and processing.
Terrain
Polygon coordinates to be constructed, elevation of designated plane coordinates, mesh size, converting coordinate
Road linear
Horizontal alignment, IP point coordinate on vertical alignment, road length, slope, relaxation curve and arc settings, information of each lane
Road section
Cross section, sort of lane and curb, cutting/banking/tunnel section shape, texture reference
Intersection
Shape, texture, marking, traveling path, traffic light (Signal phase, Traffic control)
Model
Polygon structuring models, texture, basic color, parts configuration, size, action setting, rotate, scale, origin position
Placement model
Building, 2D tree, 3D tree, vehicle, background, sign, side objects, video wall, 3D text, new creation
Reference and change of static data constructing VR space
-
Control of character coordinate
Characters walk according to the real-time control of coordinates, orientation, inclination, etc. It can be used to visualize other analysis program.
-
Control of movable parts
A part of model can be moved by calling movable setting specified to the 3D model.
Control of drive simulation
Control of the vehicle dynamics (physical movement of the car) done in UC-win/Road can be replaced with motion model in plug-ins developed by SDK, and it can be used for R&D for vehicle stability and comfort evaluation, and consideration of new technologies. It also can be replaced with vehicle motion model calculation done by external programs (ex. CarSim).
Log function
The function for acquiring real-time information such as steering and accelerator position, and coordinates of vehicles and pedestrians. Logs can be saved as file and analyzed.
Viewpoint control of the main screen
You can freely control viewpoints (camera positions). It is possible to show models from various angles.
Free drawing of OpenGL Control
You can directly draw 3D images by using OpenGL control. The figure below is drawing wind flow (flow line) in the 3D space. (Fluid Analysis Link Plug-in)
User operation acquisition
You can take control of mouse, keyboard, and gaming controller used for the main screen. VR space can be controlled by clicking the mouse and pressing keys, and information about the clicked model can also be displayed.
Customization of GUI (Graphical User Interface)
-
Addition of input/information display dialog
Creating and controlling parameter input window and information window.
-
Addition/management of control
You can add menu items and tool bars in the main menu, and change the action at the time of selecting existing tools.