VR-Forces 4.1.1 Class Documentation
1.2 - Extending VR-Forces: Plug-ins or Stand-Alone Applications

If you want to modify or extend VR-Forces, there are two main approaches you can take: create a plug-in, or create a new stand-alone application (that is, rebuild vrfSim or vrfGui.)

Create a plug-in if you want to:

Extend VR-Forces by rebuilding the application if you want to:

The principal difference in code between a plug-in and a stand-alone application is whether you modify main.cxx or a plugin.cxx. The code you write to implement the new functionality will be the same. Switching between the plug-in approach and extending the application is straightforward.

Note
If you load multiple plug-ins that subclass the same object in a factory (for example, DtVrfGuiWindow), the plug-in that is loaded last will be the version that gets used. Therefore, if you plan to create a plug-in that subclasses objects, be sure that the classes you are subclassing and extending will not conflict with another plug-in.

[<< Introduction to the VR-ForcesToolkit] [Home] [Top of Page]


Document ID: Generated on Mon Apr 8 19:24:01 EDT 2013 from SVN revision 125877
Copyright © 2005-2013 VT MÄK. All Rights Reserved (www.mak.com)