Index
$config, 289
$message, 182
64 bit, 46
A
Action, 293
ActiveX control
environment variables, 199
events, 182
extended API methods, 191
methods, 184
persistent properties, 182
properties, 178
security, 198
using from other applications, 177
ActiveX control API method
DropObject, 190
GISConvert, 187
GISGetDataset, 187
GISGetElevation, 187
GlgGetMajorVersion, 191
GlgGetMinorVersion, 191
SaveImage, 189
SaveImageCustom, 189
SetBrowserObject, 190
SetEditMode, 190
SetGISZoom, 186
SetTraceViewport, 190
SetZoom, 186
ActiveX control environment variable
GLG_ACTIVEX_NON_SECURE_MODE, 199
GLG_ACTIVEX_PRINT_FILE, 199
GLG_ACTIVEX_SAVE_FILE, 199
ActiveX control event
HCallback, 184
Input, 182
Input2, 183
Ready, 184
Select, 183
Trace, 183
Trace2, 183
VCallback, 184
ActiveX control Extended API method
AddObjectAtExt, 192
AddObjectExt, 192
AddObjectToBottomExt, 192
AddObjectToTopExt, 192
CloneObjectExt, 192
ConstrainObjectExt, 192
ContainsObjectExt, 192
CopyObjectExt, 192
CreateObjectExt, 192
DeleteBottomObjectExt, 193
DeleteObjectExt, 192, 193
DeleteTopObjectExt, 193
FindObjectExt, 193
FitObjectExt, 196
GetDResourceExt, 193
GetDTagExt, 193
GetElementAsString, 193
GetElementExt, 193
GetGResourceExt, 194
GetGTagExt, 194
GetIndexExt, 193
GetNamedObjectExt, 193
GetNumParents, 193
GetParentExt, 194
GetResourceObjectExt, 194
GetSizeExt, 194
GetSResourceExt, 194
GetSTagExt, 194
GetStringIndexExt, 193
GetTagObjectExt, 194
GetViewportExt, 194
GetXResourceExt, 194
GetXTagExt, 194
GetYResourceExt, 194
GetYTagExt, 194
GetZResourceExt, 194
GetZTagExt, 194
InverseExt, 195
IsDemoExt, 195
IterateExt, 195
LayoutObjectsExt, 196
LoadObjectExt, 195
LoadWidgetFromFileExt, 195
LoadWidgetFromObjectExt, 195
MoveObjectByExt, 195
MoveObjectExt, 195
PositionObjectExt, 195
PrintExt, 196
ReferenceObjectExt, 196
ReleaseObjectExt, 196
ReorderElementExt, 196
ResetHierarchyExt, 197
RotateObjectExt, 195
SaveObjectExt, 197
ScaleObjectExt, 195
ScreenToWorldExt, 196
SetDResourceExt, 197
SetDResourceIfExt, 197
SetDTagExt, 197
SetElementExt, 197
SetGResourceExt, 197
SetGResourceIfExt, 197
SetGTagExt, 197
SetResourceFromObjectExt, 197
SetResourceObjectExt, 197
SetSResourceExt, 197
SetSResourceFromDExt, 198
SetSResourceFromDIfExt, 198
SetSResourceIfExt, 197
SetSTagExt, 197
SetSTagFromDExt, 198
SetStartExt, 198
SetupHierarchyExt, 198
SetViewportExt, 198
SetXformExt, 198
SuspendObjectExt, 198
TranslatePointOriginExt, 196, 235
UnconstrainObjectExt, 198
UpdateExt, 198
WorldToScreenExt, 196
ActiveX control method
AboutBox, 189
CreateSelectionExt, 189
CreateSelectionMessage, 190
CreateSelectionNamesExt, 189
CreateTagList, 186
ExportStrings, 188
ExportTags, 188
GetDResource, 184
GetDTag, 184
GetGResource, 185
GetGTag, 185
GetSelectedName, 189
GetSelectionButton, 189
GetSResource, 184
GetSTag, 184
GetXResource, 185
GetXTag, 185
GetYResource, 185
GetYTag, 185
GetZResource, 185
GetZTag, 185
HasResourceObject, 185
HasTagName, 185
HasTagSource, 185
ImportStrings, 188
ImportTags, 188
Print, 188
SendMessage, 187
SendMessageStr, 188
SetDResource, 184
SetDTag, 184
SetGResource, 185
SetGTag, 185
SetSResource, 185
SetSResourceFromD, 185
SetSTag, 185
Update, 186
UpdateGlg, 186
ActiveX Control Properties, 178
using to set drawing resources, 180
ActiveX control property
AlarmsEnabled, 179
DataURL, 178
DLinkName, 181
DLinkValue, 181
DrawingFile, 178
DrawingImageFile, 178
DrawingURL, 178
GLinkName, 181
GLinkValue, 181
HProperty0, 180
InputEnabled, 179
PrintFile, 179
SelectEnabled, 179
SetupDataURL, 178
SLinkName, 181
SLinkValue, 181
SupressErrors, 179
TraceEnabled, 179
UpdatePeriod, 179
UseMapURL, 180
UseOpenGL, 179
VProperty0, 180
alarm handler
prototype, 67
alias object
creating, 112
animation
manipulating resources, 49
arc
creating, 107
array
creating, 110
ASCII format, 41
converting files, 274
attribute
constraining, 120
attribute object
modifying, 155
attribute objects
creating, 112
Automatic Referencing and Dereferencing, 158
AWT components, 290
C
C++ API, 160
call_data
input callback, 93
Motif input callback, 93
Motif selection callback, 92
selection callback, 91
trace callback, 94
callback
add before hierarchy setup, 31
adding, 30
removing, 31
timer, 31
callback data
see call_data
callback function, 89
example, 98
input, 93
prototype, 90
selection, 91
selection example, 92
trace, 94
callback functions, 42
callbacks
NumInit, 90
ValInit, 90
character string
clone, 76
creating array, 110
GlgConcatResNames, 51
GlgConcatStrings, 52
GlgCreateIndexedName, 52, 54
client
GLG process, 79
clock widget
message object, 301
clone
character string, 76
object, 122
code generation utility, 273
combination transformation
creating, 114
communication server, 79
example, 83
GLG Graphics Builder, 81
name, 80, 258
communication utilities, 86
communications functions
using, 81
concatenate transformation
creating, 115
example, 116
configuration resources, 289
connector object
creating, 107
constrained clone, 122
constraining attributes, 120
Constraint
Xt widget class, 18, 19
container
getting the size, 136
container object
adding to, 118
creating, 110, 111
current position, 120
deleting object from, 128
finding object in, 130
initializing current position, 150
traversing, 137
controlling a widget, 43
coordinate system conversion
screen to world, 148
world to screen, 154
copying
object (see also clone), 122
copying a string, 76
CreateWindow, 24
creating a widget, 41
cross-platform compatibility, 28
Custom Control, 24
creating, 25
example, 25
multiple, 38
OCX, 177
platform-independent substitute, 28
custom error handler, 48
custom event
input callback, 305, 307
D
data generation utility
writing a custom, 86
data objects
creating, 111
database record support
script commands, 265
datagen, 44, 258
DestroyWindow, 24
divide transformation
creating, 114
drawing
creating with a program, 101
generating using a script, 257
generating using Extended API, 257
initializing, 33, 34
loading a sub-section, 36
loading by object ID, 19
loading from a file, 178
loading from file, 35
loading from memory, 35
memory image, 19
printing, 63, 188
saving an image, 65
setting default, 38
using from MS Windows applications, 177
drawing compression, 273
drawing file
save formats, 41
drawing file conversion utility, 274
drawing file format
conversion utility, 274
drawing preparation, 42
dynamic data exchange, 80
dynamic resources, 20
dynamic typing
disabling, 155
E
editing an object, 151
entry point
application program, 29
environment variable
GLG_READ_ONLY_STRINGS, 71
environment variables
ActiveX control environment variables, 199
GLG_FONT_CHARSET, 291, 292
GLG_MAP_SERVER_USAGE, 291
GLG_MULTIBYTE_FLAG, 292
error handler, 69
error log, 48
error log file, 48
error processing, 48
event polling, 36
example
concatenate transformation, 116
creating a polygon, 109
input callback, 98, 99
inter-process communication, 83
matrix transformation, 117
selection callback, 96
selection callback function, 92
expose event, 49
Extended API, 101, 167
extended API
function descriptions, 104
extended format, 42
converting files, 274
F
file conversion utility, 274
focus messages
propagating to Custom Control, 27
font brower widget
message object, 302
Format, 293
format
ASCII, 41
binary, 41
extended, 42
FormatD transformation
creating, 114
FormatS transformation
creating, 114
frame object
creating, 107
freeing a string, 56
FreeStringID, 190
full clone, 122
FullOrigin, 293
G
gcodegen, 19, 42, 45, 273
gconvert, 45
generating data, 258
Generic API, 28
function summary, 28
geometrical resource
query, 57
GetSelectedName, 183
GetSelectionButton, 183
GetStringID, 190
GLG, 48
GLG C++ Bindings, 157
GLG Generic API, 28
functions, 28
Library, 45
GLG Graphics Builder
server name, 81
GLG script, 263
GLG server
disconnecting, 82
GLG_ACTIVEX_NON_SECURE_MODE, 199
glg_control_window, 26
GLG_DIR environment variable, 48
GLG_DISABLE_CPLUS_EXTENDED_API, 160
glg_error.log, 48
GLG_FONT_CHARSET_FLAG, 291, 292
GLG_INTERMEDIATE_API_ONLY, 160
GLG_LOG_DIR environment variable, 48
GLG_MAP_SERVER_USAGE, 291
GLG_MULTIBYTE_FLAG, 292
GLG_READ_ONLY_STRINGS, 71
GlgAddCallback, 30
GlgAddObject, 119
GlgAddObjectAt, 118
GlgAddObjectToBottom, 118
GlgAddObjectToTop, 118
GlgAddTimeOut, 31
GlgAddWorkProc, 32
GlgApi.h, 30
GlgBean
Extended API methods, 217
GlgBean Extended API method
AddObject, 217
AddObjectToBottom, 217
AddObjectToTop, 217
CloneObject, 217
ConstrainObject, 219
ContainsObject, 218
CopyObject, 217
DeleteBottomObject, 217
DeleteObject, 217, 218
DeleteTopObject, 217
GetDResource, 220
GetElement, 218
GetIndex, 218
GetNamedObject, 218
GetNumParents, 220
GetParent, 220
GetResource, 219
GetResourceObject, 219
GetSize, 218
GetSResource, 220
GetStringIndex, 218
GetXResource, 220
GetYResource, 220
GetZResource, 220
Inverse, 220
IsDemo, 221
Iterate, 218
Print, 221
ReleaseObject, 219
ReorderElement, 218
SaveObject, 217
SetDResource, 220
SetGResource, 220
SetResourceFromObject, 221
SetSResource, 220
SetSResourceFromD, 221
SetStart, 218
SetXform, 219
SuspendObject, 219
UnconstrainObject, 219
Update, 220
GlgBean method
GetDrawingURL, 209
Bell, 215
CreateIndexedName, 215
GetAPILog, 211
GetDataURL, 210
GetDrawingObject, 209, 210
GetDResource, 213
GetDTag, 213
GetFullPath, 216
GetHResource0, 211
GetHResource1, 211
GetHResource2, 211
GetHResource3, 211
GetHResource4, 211
GetIgnoreErrors, 212
GetJavaLog, 210
GetResourceLog, 211
GetSetupDataURL, 210
GetSResource, 213
GetSTag, 213
GetTraceHRef, 212
GetUpdatePeriod, 210
GetVResource0, 211
GetVResource1, 211
GetVResource2, 211
GetVResource3, 211
GetVResource4, 211
GetXResource, 213
GetXTag, 213
GetYResource, 213
GetYTag, 213
GetZResource, 213
GetZTag, 213
HasResourceObject, 213
HasTagName, 213
HasTagSource, 213
InitialDraw, 215
InputCallback, 216
IsDemo, 215
LoadObject, 214
LoadWidget, 214
Print, 215
PrintToJavaConsole, 209
ReadyCallback, 215, 216
Reset, 214
ResetHierarchy, 215
SelectCallback, 216
SetAPILog, 211
SetDataURL, 210
SetDrawingObject, 210
SetDrawingURL, 209
SetDResource, 213
SetGResource, 213
SetGTag, 213
SetHResource0, 211
SetHResource1, 211
SetHResource2, 211
SetHResource3, 211
SetHResource4, 211
SetIgnoreErrors, 212
SetInputUpdate, 215
SetJavaLog, 210
SetResourceLog, 210
SetSetupDataURL, 210
SetSResource, 213
SetSResourceFromD, 214
SetSTag, 213
SetTraceHRef, 212
SetUpdatePeriod, 210
SetupHierarchy, 215
SetVResource0, 211
SetVResource1, 211
SetVResource2, 211
SetVResource3, 211
SetVResource4, 211
TraceCallback, 216
Update, 214
UpdateCallback, 216
GlgBean methods, 209
GlgBell, 32
GlgClass.cpp, 160
GlgClass.h, 160
GlgCloneObject, 122
GlgConcatResNames, 51
GlgConcatStrings, 52
GlgConstrainObject, 120
GlgContainsObject, 121
GlgControlC, 171
GlgControlWindowProc, 28
GlgCopyObject, 122
GlgCreateIndexedName, 52
GlgCreateInversedMatrix, 123
GlgCreateLink, 81
GlgCreateObject, 104
GlgCreatePointArray, 123
GlgCreateResourceList, 124
GlgCreateSelection, 127
GlgCreateSelectionMessage, 125
GlgCreateSelectionNames, 126
GlgCreateTagList, 54
GlgDefaultFontFile, 291
GlgDeleteBottomObject, 128
GlgDeleteObject, 128
GlgDeleteObjectAt, 128
GlgDeleteThisObject, 130
GlgDeleteTopObject, 128
GlgDestroyLink, 82
GlgDropObject, 130
GlgEdgeData, 278
GlgEdgeEndNode, 278
GlgEdgeGraphics, 278
GlgEdgeStartNode, 278
GlgEdgeTemplate, 278
GlgEdgeType, 278
GlgError, 55
GlgExportStrings, 55
GlgExportTags, 56
GlgFindObject, 130
GlgFitObject, 131
GlgFree, 56
GlgGetBoxPtr, 132
GlgGetDrawingMatrix, 133
GlgGetDResource, 57
GlgGetDTag, 57
GlgGetElement, 133
GlgGetGResource, 57
GlgGetGTag, 57
GlgGetIndex, 133
GlgGetMajorVersion, 58
GlgGetMatrixData, 134
GlgGetMinorVersion, 58
GlgGetNamedObject, 134
GlgGetParent, 135
GlgGetResourceObject, 135
GlgGetSelectionButton, 58, 91
GlgGetSize, 136
GlgGetSResource, 58
GlgGetSTag, 58
GlgGetStringIndex, 136
GlgGetTagObject, 136
GlgGetWindowViewport, 26
GlgGISConvert, 59
GlgGISGetDataset, 60
GlgGISGetElevation, 60
GlgGraphAddEdge, 283
GlgGraphAddNode, 282
GlgGraphCreate, 280
GlgGraphCreateGraphics, 281
GlgGraphCreateRandom, 287
GlgGraphDefEdgeIcon, 279
GlgGraphDefNodeIcons, 278
GlgGraphDefViewportIcon, 279
GlgGraphDeleteEdge, 283
GlgGraphDeleteNode, 283
GlgGraphDestroy, 251, 280
GlgGraphDestroyGraphics, 281
GlgGraphDimensions, 279
GlgGraphEdge
java class, 249
GlgGraphEdge Macros, 278
GlgGraphEdgeArray, 279
GlgGraphEndTemperature, 279
GlgGraphError, 287
GlgGraphFindEdge, 285
GlgGraphFindNode, 285
GlgGraphFinished, 279
GlgGraphGetNodePosition, 284
GlgGraphGetUntangle, 286
GlgGraphGetViewport, 281
GlgGraphIncreaseTemperature, 286
GlgGraphIteration, 279
GlgGraphLayout
java class, 250
GlgGraphLayout Macros, 278
GlgGraphNode
java class, 248
GlgGraphNode Macros, 277
GlgGraphNodeArray, 279
GlgGraphNodesConnected, 285
GlgGraphPalette, 279
GlgGraphScramble, 287
GlgGraphSetDefaultPalette, 280
GlgGraphSetNodePosition, 284
GlgGraphSetPalette, 280
GlgGraphSetUntangle, 286
GlgGraphSpringIterate, 281
GlgGraphTerminate, 280
GlgGraphUnloadDefaultPalette, 281
GlgGraphUpdate, 282
GlgGraphUpdateRate, 279
GlgHasResourceObject, 61
GlgHasTagName, 61
GlgHasTagSource, 61
GlgImportStrings, 62
GlgImportTags, 62
GlgInit, 33, 34
GlgInitialDraw, 34
GlgIterate, 137
GlgLayoutObjects, 138
GlgLinkActive, 82
GlgLinkC, 170
GlgLoadObject, 140
GlgLoadObjectFromImage, 141, 273
GlgLoadWidgetFromFile, 35
GlgLoadWidgetFromImage, 35
GlgLoadWidgetFromObject, 36
GlgMain, 29
GlgMain.h, 29
GlgMainLoop, 36
GlgMoveObject, 141
GlgMoveObjectBy, 142
GlgNodeAnchor, 278
GlgNodeData, 277
GlgNodeDisplayPosition, 277
GlgNodeGraphics, 278
GlgNodeLinkArray, 278
GlgNodePosition, 277
GlgNodeTemplate, 278
GlgNodeType, 277
GlgObject Java class Extended API method
AddObject, 230
AddObjectToBottom, 229, 230
AddObjectToTop, 229
CloneObject, 229
ConstrainObject, 232
ContainsObject, 230
CopyObject, 229
CreateInversedMatrix, 233
CreatePointArray, 236
CreateResourceList, 236
CreateSelection, 235, 236
CreateSelectionMessage, 235
CreateSelectionNames, 235
DeleteBottomObject, 230
DeleteObject, 230
DeleteTopObject, 230
FitObject, 234
GetBox, 233
GetDrawingMatrix, 233
GetElement, 230
GetIndex, 230
GetMatrixData, 233
GetNamedObject, 231
GetNumParents, 233
GetParent, 233
GetResource, 232
GetResourceObject, 231, 232
GetSize, 231
GetStringIndex, 231
GetTagObject, 232
Inverse, 231
Iterate, 231
LayoutObjects, 234
MoveObject, 234
MoveObjectBy, 234
PositionObject, 234
ReleaseObject, 233
ReorderElement, 231
RotateObject, 234
SaveObject, 229
ScaleObject, 234
ScreenToWorld, 235
SetElement, 230
SetMatrixData, 233
SetResource, 231
SetStart, 231
SetXform, 231
SuspendObject, 233
TransformPoint, 233, 234
UnconstrainObject, 232
WorldToScreen, 235
GlgObject Java class Extended API methods, 229
GlgObject Java class method
AddListener, 228
Bell, 228
ConcatResNames, 225
CreateImageCustom, 225
CreateIndexedName, 225
CreateTagList, 226
ExportStrings, 223
ExportTags, 224
GetDResource, 225
GetDTag, 225
GetGResource, 225
GetGTag, 225
GetSResource, 225
GetStackTraceAsString, 228
GetSTag, 225
GISConvert, 227
GISGetElevation, 227
GlmConvert, 227
HasResourceObject, 226
HasTagName, 227
HasTagSource, 227
ImportStrings, 224
ImportTags, 224
Init, 227
InitialDraw, 222
LoadObject, 222
LoadWidget, 223
Lock, 228
NativePrint, 224
Print, 224
Rand, 228
Reset, 223
ResetHierarchy, 222
SendMessage, 223
SetBrowserObject, 229
SetDResource, 225
SetDTag, 225
SetEditMode, 229
SetErrorHandler, 223, 228
SetGISZoom, 222
SetGResource, 226
SetGTag, 226
SetImageSize, 229
SetResourceFromObject, 226
SetSResource, 226
SetSResourceFromD, 226
SetSTag, 226
SetSTagFromD, 226
SetupHierarchy, 221
SetZoom, 222
Sync, 228
Terminate, 227
Unlock, 228
UnlockThread, 228
Update, 223
GlgObject Java class methods, 221
GlgObject Java class variables, 221
GlgObjectC, 161
GlgOnDrawMetafile, 63
GlgOnPrint, 63
GlgPositionObject, 142
GlgPrint, 63
GlgRand, 36
GlgReferenceObject, 143
GlgReleaseObject, 145
GlgRemoveTimeOut, 37
GlgRemoveWorkProc, 37
GlgReorderElement, 145
GlgReset, 64
GlgResetHierarchy, 37
GlgRotateObject, 146
GlgSaveImage, 65
GlgSaveImageCustom, 65
GlgSaveObject, 147
GlgScaleObject, 147
GlgScreenToWorld, 148
GlgSendMessage, 66
GlgSessionC, 160
GlgSetAlarmHandler, 67
GlgSetBrowserObject, 68
GlgSetDefaultViewport, 38
GlgSetDResource, 68
GlgSetDResourceIf, 68
GlgSetDTag, 68
GlgSetEditMode, 69
GlgSetElement, 148
GlgSetGISZoom, 75
GlgSetGResourceIf, 70
GlgSetGTag, 70
GlgSetMatrixData, 149
GlgSetResourceObject, 149
GlgSetSResourceFromDIf, 73
GlgSetSResourceIf, 72
GlgSetSTag, 72
GlgSetSTagFromD, 73
GlgSetStart, 150
GlgSetupHierarchy, 38
GlgSetXform, 150
GlgSetZoom, 74
GlgSleep, 38
GlgStrClone, 76
GlgSuspendObject, 151
GlgSwingTootip, 290
GlgSwingUsage, 290
GlgSync, 82
GlgTerminate, 39
GlgTransformObject, 152
GlgTransformPoint, 152
GlgTranslatePointOrigin, 153
GlgUnconstrainObject, 153
GlgUpdate, 76
GlgWinPrint, 77
GlgWorldToScreen, 154
GlgWrapperC, 173
glm_error.log, 48
GLM_LOG_DIR environment variable, 48
GlmConvert, 78
global configuration resources, 289
global resources
GlgAntiAliasing, 290
GlgArrowShape, 289
GlgButtonTooltipTimeout, 290
GlgCompressFormat, 290
GlgDefaultCharset, 289
GlgGridPolygon, 289
GlgMouseTooltipTimeout, 290
GlgOpenGLMode, 291
GlgPickResolution, 289
GlgPSLevel, 290
GlgSaveFormat, 289
GlgSearchPath, 290
GrabPointer, 295
Graph Layout
java package, 248
grid attributes
defining from a program, 289
group
adding to, 118, 119
creating, 110
current position, 120
deleting object from, 128
finding object in, 130
getting the size, 136
initializing current position, 150
traversing, 137
GTK, 47
I
Image generation, 65
image object
creating, 108
input
callback function, 89
input callback, 93
adding, 31
browser, 303
button, 297
clock, 301
custom event, 305
example, 96, 98, 99
font browser, 302
knob, 296
list, 299
menu, 300
object selection, 307
option, 300
palette, 302
resource browser, 303
slider, 295
text, 298, 299
timer, 301
window event, 308
input object
disable for editing, 69
Interaction handlers
adding custom handlers from a program, 290
Intermediate API, 101, 167
invoking the file conversion utility, 274
iterate
over members of a group, 137
J
Java
using with Swing and AWT, 290
Java applications, 41
Java bean, 201, 202
Java class
Attribute classes, 246
Data Value classes, 247
Glg objects classes, 238
Glg utility classes, 236
GlgArc, 238
GlgBean, 206
GlgCube, 236
GlgDataPoint, 246
GlgDataValue, 247
GlgDDataPoint, 246
GlgDDataValue, 247
GlgDynArray, 239
GlgFont, 239
GlgFontTable, 240
GlgFrame, 240
GlgFunction, 240
GlgGDataPoint, 246
GlgGDataValue, 247
GlgHistory, 241
GlgImage, 241
GlgJBean, 206
GlgJLWBean, 206
GlgMarker, 242
GlgMatrix, 248
GlgObject, 221
GlgParallelogram, 242
GlgPoint, 236, 237
GlgPolygon, 243
GlgPolyline, 243
GlgPolySurface, 242
GlgReference, 243
GlgScreen, 243
GlgSDataPoint, 246
GlgSDataValue, 247
GlgSeries, 244
GlgSpline, 244
GlgSquareSeries, 245
GlgTag, 245
GlgText, 245
GlgTraceData, 238
GlgViewport, 245
GlgXform, 246
Java interface
GlgAlarmHandler, 206
GlgErrorHandler, 206
GlgInputListener, 204
GlgSelectListener, 204
GlgTraceListener, 204
L
libglg, 45
libglg_x11, 48
linear data
generating, 261
linear transformation
creating, 114
link
using, 79
link ID, 79
linking
MS Windows, 47
static, 47
under X Windows, 45
list
creating, 110
list transformation
creating, 113
list widget
message object, 299
load drawing file, 140
load drawing from memory, 141
loading a widget into memory, 42
loading drawing files, 41
loading from memory image
creating the image, 273
logging errors, 48
M
main loop, 36
marker
creating, 108
matrix
invert, 123
matrix transformation
creating, 115
example, 117
invert matrix, 123
query matrix, 133
memory image
creating, 273
memory management
freeing unused memory, 56
reference count, 103
menu widget
message object, 300
message object, 95, 293
browser, 303
button, 297
clock, 301
custom event, 305
font browser, 302
input callback data, 93
knob, 296
list, 299
menu, 300
object selection, 307
option, 300
palette, 302
resource browser, 303
slider, 295
text, 298, 299
timer, 301
window event, 308
messages
propagating with Custom Control, 27
MFC
OnPrint method, 63
Motif
selection callback, 92
Motif input callback, 93
Motif wrapper widget, 18
mouse buttons, 58
move transformation
creating, 114
MS Windows
printing, 77
O
Object, 294
object
adding to container, 118
align and layout operations, 138
bounding box, 132
copying, 122
creation, 104
deleting from container, 128
dereferencing, 130
editing, 151
example, 109
find parent, 135
finding, 130
loading from file, 140
loading from memory, 141
parent, 135
release, 145
saving to file, 147
selection, 126, 127
setting width and height, 138
unconstraining, 153
object hierarchy
creating, 22
resetting, 37
setting up, 38
object ID, 19, 51
obtaining, 23, 26
object selection
input callback, 307
OpenGL libraries, linking with, 45
optimization
inter-process communication, 80
option widget
message object, 300
Origin, 293
P
palette messages
propagating to Custom Control, 27
palette widget
message object, 302
pan, 74
parallelogram
creating, 108
parent object, 135
path transformation
creating, 115
pick resolution
defining from a program, 289
polygon
as container, 118, 119
creating, 108
polyline
creating, 108
polysurface
creating, 108
PostScript, 63
setting level from a program, 290
printing
drawing, 63, 65
program entry point, 29
programming tools, 45
programming utilities, 44
R
random data
generating, 261
random number generation, 36
range transformation
creating, 113
read-only strings mode, 71
reference count, 103
decrementing, 130
incrementing, 143
reference object
creating, 111
release object, 145
remote procedure calls, 81
RepeatEnd, 295
RepeatStart, 295
resetting a widget, 64
resource
composite name, 51
configuration, 289
create list, 124
enumerated name, 52
existence check, 61
geometrical, 57
query object ID, 135
querying, 184
scalar, query, 57
scalar, setting, 68
setting, 155, 184
setting initial value, 25
string, query, 58, 63
update values, 76
resource browser widget
message object, 303
setting an object to browse, 68
resources
affecting hierarchy, 43
wrapper widget, 19
wrapper widget summary, 22
rotate transformation
creating, 115
S
save format
conversion utility, 274
enabling compression from a program, 290
specifying from a program, 289
save formats, 41
saving object to file, 147
scalar resource
query, 57
setting, 68
scalar transformation
creating, 114
scale transformation
creating, 114
scriping, 257
script, 263
script commands, 263
add_copy, 271
add_field, 265
add_new, 271
create, 269
create_record, 265
delete, 272
delete_record, 266
drop, 269
end_read, 266
get_tag, 267
get_value, 267
GLG Graphics Builder, 263
load_object, 268
print, 264
read_one_record, 266
read_records, 266
reference, 269
select_container, 268
select_element, 268
select_object, 268
set_resource_object, 268
set_tag, 264
set_value, 263
sync, 264
update, 264
Search path
setting from a program, 290
Secure mode, 198
security
ActiveX control security, 198
selecting named objects, 126
selecting objects, 127
selection callback, 91
adding, 31
example, 92, 96
multiple viewports, 31
query, 58
serialization method, 229
series
creating, 111
server
checking connection, 82
connecting, 81
example, 83
name, 80
synchronizing, 82
server name, 258
GLG Graphics Builder, 81
shallow clone, 123
shear transformation
creating, 115
sine function
generating data, 261
sleep, 38
slider widget
message object, 295
square series
creating, 111
stdafx.h, 160
stochastic simulation, 36
stopwatch widget
message object, 301
string
copying, 76
freeing, 56
string array
creating, 110
string manipulation
GlgConcatResNames, 51
GlgConcatStrings, 52
GlgCreateIndexedName, 52
string resource
query, 58
string tag
query, 58
strong clone, 123
strong typing
enabling, 155
SubAction, 293
supplying animation data, 258
suspending
application program, 38
suspension
for editing, 151
release, 145
Swing components, 290
T
tag
animating with data, 261
existence check, 61
geometrical, 57
query by tag name or tag source, 136
scalar, query, 57
scalar, setting, 68
tag list query
GlgCreateTagList, 54
text object
creating, 109
text widget
message object, 298, 299, 301
threshold transformation
creating, 113
timer callback, 31
removing, 37
timer ID, 31
timer procedure
adding, 31
timer transformation
creating, 114
timer widget
message object, 301
tools, 45
trace callback, 127
trace callbacks, 94
transfer transformation
creating, 114
transformation
adding and deleting, 150
all object points, 152, 234
creating, 113
fitting an object, 131
moving an object by a vector, 141
moving an object by distance, 142
positioning an object, 142
rotating an object, 146
scaling an object, 147
single point, 152
transformation matrix
invert, 123
query, 133
translation transformation
creating, 114
V
V resources, 43
ValueChanged, 295
viewport
as container, 118, 119
communication server, 79
creating, 111
handle, 51
server, 79
server name, 80, 83
viewport handle, 26
obtaining, 23, 26
W
weak clone, 123
widget
controlling, 43
creating, 41
destroying, 39
displaying, 42
initial drawing, 34
initializing, 33
loading from file, 35
loading from memory, 35
loading from object, 36
loading into memory, 42
pan, 74
printing, 63, 65
resetting, 64
update, 76
using from MS Windows applications, 177
zoom, 74
window procedure, 28
example, 27
work procedure
adding, 32
removing, 37
Wrapper, 17
wrapper See Custom Control
Wrapper Widget, 17
wrapper widget, 18
callback resources, 21
creating, 18
destroying, 24
dynamic resources, 20
multiple, 38
platform-independent substitute, 28
resource summary, 23
resources, 19
sequence of events, 22
setting drawing resources, 20
writable strings mode, 71
X
X resources
using to set drawing resources, 21
XglgGetWidgetViewport, 18, 23
XmManager, 18, 19
Xt wrapper widget, 18
XtCreateWidget, 18
XtDestroyWidget, 18, 24
XtError, 48
XtNglgDrawingFile, 19
XtNglgDrawingImage, 19
XtNglgDrawingObject, 19
XtNglgHResource0, 20
XtNglgImageSize, 19
XtNglgVResource0, 20
XtSetArgs, 20
XtSetErrorHandler, 48