Name | Type | Description | |
Top | child_obj | a renderable 3D object | |
parent | UIconnection | connects the rendered view to a UI object so it can be displayed. | |
Name | Type | Description | |
Top | child_obj | a renderable 2D object | |
parent | UIconnection | connects the rendered view to a UI object so it can be displayed. | |
Name | Type | Description | |
Top | child_obj | a renderable 3D object | |
Top2D | child_obj | a renderable 2D object | |
parent | UIconnection | connects the rendered view to a UI object so it can be displayed. | |
Reducing the object count of an application is the thing most likely to speed up the loading and running of an application. This is one of a library of utility macros designed to reduce the object count.
These are all AVS/Express macros which as such require no compilation. Most applications are produced with AVS/Express Developers Edition and these macros also require AVS/Express Developers Edition. They contain no UI so that the developer has as much freedom as possible.
Any Viewer has a high object count because it has a high level of functionality. If the functionality is reduced to the minimum requirement then the object count is kept as low as possible. This is a minimal viewer that just displays the rendered object with no interactivity. The settings of the viewer may be customised by hand before it is used.
The size of the scene is altered by altering the values width and height in the subobject UIrenderView, this can be done with absolute values or relative values written in v.
As above
This macro can be connected into the AVS/Express standard macros DataObject, DataObjectNoTexture and DataObjectLite as well as the other altered DataObject given in this utility library.
An example application EgViewLite is provided, which shows a minimal viewer being used to show orthoslices (with a HotMetal Datamap) which are also being manipulated in other views.
This example also demonstrates the use of DataObjects altered to have a set Datamap and how ViewersLite can be used.
iac_proj/viewlite/vl_macs.v contains all of the minimal viewers (View3DMinimal, View2DMinimal, ViewMinimal) as well as all the DataObject macros (eg DO_GreyScale), DO_Dmap_Switch, DO_NT_Dmap_Switch, DO_LITE_Dmap_Switch, View3D_TrackObj, View3D_TrackAll3, View2D_TrackObj, View2D_TrackAll3, View_TrackObj, View_TrackAll3 and an example EgViewLite.
The macros can be acessed through the IAC_PROJ library in the Templates library or through one of four libraries DataObjects_apps, Views3DLite, Views2DLite and UViewsLite all of which are in the Misc sub-library IAC library area.
The example EgViewLite can also be acessed through the IAC library but is located in the Examples sub-library.
J Leng Manchester Visualization Centre
Paul G. Lever
International AVS Centre Manchester Visualization Centre Manchester Computing University of Manchester Oxford Road Manchester United Kingdom M13 9PL
DataObject, the DataObjects "DO_", "DO_NT_" and "DO_LITE_", the DataObjects "_Dmap_Switch", and the viewers lite 3D, 2D and Universal "Minimal", "_TrackObj" and "_TrackAll3".