VR-Vantage 2.5 API Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Modifying VR-Vantage Applications

If you want to modify or extend a VR-Vantage application, there are two main approaches you can take:

In most cases, if your goal is just to extend our applications, we recommend the plug-in approach. If your goal is to create a new visualization application that shares the same basic framework as a VR-Vantage application, then it will probably make more sense to start with one of the example projects in ./appsrc and make changes within the application.

A good way to decide which approach to take is to ask yourself if you would describe the goal of your work as "VR-Vantage, with the XYZ feature disabled, and the ABC feature added". If the answer is yes, you should probably use a plug-in. If no, then create a new application.

For typical application extensions, plug-ins have the following advantages:

Ideally, a plug-in module should be limited to a specific, single piece of functionality. For example, if you want to add a new menu to the GUI, and an unrelated new kind of scene object, use separate plug-ins. However, if the new features work together, such as a new kind of scene object and a menu option to configure or control it, then these two pieces of code should probably be built into the same plug-in.

Regardless of whether you choose the plug-in approach or the new application approach, the code you write to implement your new functionality will be largely the same. The principal difference in code between the two approaches is how you access the DtDe to register your new classes:



Copyright © 2005-2019 VT MAK. All Rights Reserved (www.mak.com)