224 SO_KIT_CATALOG_ENTRY_HEADER(planeSwitch);
225 SO_KIT_CATALOG_ENTRY_HEADER(translator);
226 SO_KIT_CATALOG_ENTRY_HEADER(scaleTabs);
227 SO_KIT_CATALOG_ENTRY_HEADER(tabsCallback);
228 SO_KIT_CATALOG_ENTRY_HEADER(tabsShader);
229 SO_KIT_CATALOG_ENTRY_HEADER(scaleTabMaterial);
230 SO_KIT_CATALOG_ENTRY_HEADER(scaleTabHints);
231 SO_KIT_CATALOG_ENTRY_HEADER(scaleTabMaterialBinding);
232 SO_KIT_CATALOG_ENTRY_HEADER(scaleTabNormalBinding);
233 SO_KIT_CATALOG_ENTRY_HEADER(scaleTabNormal);
234 SO_KIT_CATALOG_ENTRY_HEADER(scaleTabPixelSize);
235 SO_KIT_CATALOG_ENTRY_HEADER(edgeType0);
236 SO_KIT_CATALOG_ENTRY_HEADER(edgeType1);
237 SO_KIT_CATALOG_ENTRY_HEADER(edgeType2);
238 SO_KIT_CATALOG_ENTRY_HEADER(edgeType3);
239 SO_KIT_CATALOG_ENTRY_HEADER(showEdges);
240 SO_KIT_CATALOG_ENTRY_HEADER(showCorners);
241 SO_KIT_CATALOG_ENTRY_HEADER(edgeTypeCorner0);
242 SO_KIT_CATALOG_ENTRY_HEADER(edgeTypeCorner1);
243 SO_KIT_CATALOG_ENTRY_HEADER(edgeTypeCorner2);
244 SO_KIT_CATALOG_ENTRY_HEADER(edgeTypeCorner3);
245 SO_KIT_CATALOG_ENTRY_HEADER(scaleCoords);
246 SO_KIT_CATALOG_ENTRY_HEADER(edgeScale0);
247 SO_KIT_CATALOG_ENTRY_HEADER(edgeScale1);
248 SO_KIT_CATALOG_ENTRY_HEADER(edgeScale2);
249 SO_KIT_CATALOG_ENTRY_HEADER(edgeScale3);
250 SO_KIT_CATALOG_ENTRY_HEADER(edgeSeparator0);
251 SO_KIT_CATALOG_ENTRY_HEADER(edgeSeparator1);
252 SO_KIT_CATALOG_ENTRY_HEADER(edgeSeparator2);
253 SO_KIT_CATALOG_ENTRY_HEADER(edgeSeparator3);
254 SO_KIT_CATALOG_ENTRY_HEADER(edgeScaleTranslation0);
255 SO_KIT_CATALOG_ENTRY_HEADER(edgeScaleTranslation1);
256 SO_KIT_CATALOG_ENTRY_HEADER(edgeScaleTranslation2);
257 SO_KIT_CATALOG_ENTRY_HEADER(edgeScaleTranslation3);
258 SO_KIT_CATALOG_ENTRY_HEADER(edgeScaleTab0);
259 SO_KIT_CATALOG_ENTRY_HEADER(edgeScaleTab1);
260 SO_KIT_CATALOG_ENTRY_HEADER(edgeScaleTab2);
261 SO_KIT_CATALOG_ENTRY_HEADER(edgeScaleTab3);
262 SO_KIT_CATALOG_ENTRY_HEADER(cornerScale0);
263 SO_KIT_CATALOG_ENTRY_HEADER(cornerScale1);
264 SO_KIT_CATALOG_ENTRY_HEADER(cornerScale2);
265 SO_KIT_CATALOG_ENTRY_HEADER(cornerScale3);
266 SO_KIT_CATALOG_ENTRY_HEADER(tabHighlightSwitch0);
267 SO_KIT_CATALOG_ENTRY_HEADER(tabHighlightSwitch1);
268 SO_KIT_CATALOG_ENTRY_HEADER(tabHighlightSwitch2);
269 SO_KIT_CATALOG_ENTRY_HEADER(tabHighlightSwitch3);
270 SO_KIT_CATALOG_ENTRY_HEADER(tabHighlightSwitch4);
271 SO_KIT_CATALOG_ENTRY_HEADER(tabHighlightSwitch5);
272 SO_KIT_CATALOG_ENTRY_HEADER(tabHighlightSwitch6);
273 SO_KIT_CATALOG_ENTRY_HEADER(tabHighlightSwitch7);
274 SO_KIT_CATALOG_ENTRY_HEADER(tabHighlightMaterial0);
275 SO_KIT_CATALOG_ENTRY_HEADER(tabHighlightMaterial1);
276 SO_KIT_CATALOG_ENTRY_HEADER(tabHighlightMaterial2);
277 SO_KIT_CATALOG_ENTRY_HEADER(tabHighlightMaterial3);
278 SO_KIT_CATALOG_ENTRY_HEADER(tabHighLightMaterial4);
279 SO_KIT_CATALOG_ENTRY_HEADER(tabHighLightMaterial5);
280 SO_KIT_CATALOG_ENTRY_HEADER(tabHighLightMaterial6);
281 SO_KIT_CATALOG_ENTRY_HEADER(tabHighLightMaterial7);
282 SO_KIT_CATALOG_ENTRY_HEADER(tabHighlightScale0);
283 SO_KIT_CATALOG_ENTRY_HEADER(tabHighlightScale1);
284 SO_KIT_CATALOG_ENTRY_HEADER(tabHighlightScale2);
285 SO_KIT_CATALOG_ENTRY_HEADER(tabHighlightScale3);
286 SO_KIT_CATALOG_ENTRY_HEADER(tabHighlightScale4);
287 SO_KIT_CATALOG_ENTRY_HEADER(tabHighlightScale5);
288 SO_KIT_CATALOG_ENTRY_HEADER(tabHighlightScale6);
289 SO_KIT_CATALOG_ENTRY_HEADER(tabHighlightScale7);
290 SO_KIT_CATALOG_ENTRY_HEADER(cornerSeparator0);
291 SO_KIT_CATALOG_ENTRY_HEADER(cornerSeparator1);
292 SO_KIT_CATALOG_ENTRY_HEADER(cornerSeparator2);
293 SO_KIT_CATALOG_ENTRY_HEADER(cornerSeparator3);
294 SO_KIT_CATALOG_ENTRY_HEADER(cornerScaleTranslation0);
295 SO_KIT_CATALOG_ENTRY_HEADER(cornerScaleTranslation1);
296 SO_KIT_CATALOG_ENTRY_HEADER(cornerScaleTranslation2);
297 SO_KIT_CATALOG_ENTRY_HEADER(cornerScaleTranslation3);
298 SO_KIT_CATALOG_ENTRY_HEADER(cornerScaleTab0);
299 SO_KIT_CATALOG_ENTRY_HEADER(cornerScaleTab1);
300 SO_KIT_CATALOG_ENTRY_HEADER(cornerScaleTab2);
301 SO_KIT_CATALOG_ENTRY_HEADER(cornerScaleTab3);
302 SO_KIT_CATALOG_ENTRY_HEADER(translatorMaterial);
303 SO_KIT_CATALOG_ENTRY_HEADER(translatorDrawStyle);
304 SO_KIT_CATALOG_ENTRY_HEADER(translatorCoordinates);
376 static void initClass();
378 static void exitClass();
380 int getCurrentState();
382 void notify( SoNotList* list );
392 static void lightingSensorCB(
void *,
SoSensor * );
393 static void lineWidthSensorCB(
void *,
SoSensor * );
395 static void startCB(
void *,
SoDragger *);
396 static void motionCB(
void *,
SoDragger *);
397 static void finishCB(
void *,
SoDragger *);
398 static void metaKeyChangeCB(
void *,
SoDragger *);
405 static void fieldSensorCB(
void *,
SoSensor * );
406 static void valueChangedCB(
void *,
SoDragger * );
415 void translateStart();
416 void translateDrag();
418 void edgeScaleStart();
419 void edgeScaleDrag();
421 void cornerScaleStart();
422 void cornerScaleDrag();
424 void scaleUniformStart();
425 void scaleUniformDrag();
428 int currentScalePatch;
431 INACTIVE, TRANSLATING, EDGE_SCALING, CORNER_SCALING, UNIFORM_SCALING
449 virtual void setDefaultOnNonWritingFields();
454 static const char geomBuffer[];
455 static bool s_resizeOnInactiveOnly;
457 static const float s_tabHighlightScaleCoef;