Ovis_Viewmode_Group_Set()
Note: The Group view mode is not supported in 3D Network Visualizer 3.1.0 and later. Calls to this function have no effect.
Abstract
Sets 3D Network Visualizer to the Group view mode.
Syntax
Ovis_Viewmode_Group_Set (num, entity_array, radius, azimuth, elevation, wide)
| Argument | Type | Description |
|---|---|---|
num |
unsigned int |
Number of elements in entity_array |
entity_array |
OvisT_Entity * |
Array of entity pointers |
radius |
double |
Distance from the group, in meters |
azimuth |
double |
Azimuth of viewpoint, in degrees |
elevation |
double |
Elevation of viewpoint, in degrees |
wide |
OvisT_Boolean |
Return Type
OvisT_Compcode
OvisC_Compcode_Success if the operation could be performed; OvisC_Compcode_Failure otherwise.
Header
ovis_entity.h
Details
This function modifies the current view mode in 3D Network Visualizer to a group view mode based on a set of entities.
Example
OvisT_Entity * triplet [3];
OvisT_Entity * ent1, * ent2, * ent3;
/* entities created at some point */
triplet [0] = ent1;
triplet [1] = ent2;
triplet [2] = ent3;
Ovis_Viewmode_Group_Set (3, triplet, 200, 0, 5, OvisC_False);
Errors
- Entity array is NIL.
- No entities in array.
- Entry #
<index>in entity array is NIL.
Reference
- Use other
Ovis_Viewmode_xxx_Setfunctions to change the view to different modes.