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(tabsShader);
228 SO_KIT_CATALOG_ENTRY_HEADER(scaleTabMaterial);
229 SO_KIT_CATALOG_ENTRY_HEADER(scaleTabHints);
230 SO_KIT_CATALOG_ENTRY_HEADER(scaleTabMaterialBinding);
231 SO_KIT_CATALOG_ENTRY_HEADER(scaleTabNormalBinding);
232 SO_KIT_CATALOG_ENTRY_HEADER(scaleTabNormal);
233 SO_KIT_CATALOG_ENTRY_HEADER(scaleTabPixelSize);
234 SO_KIT_CATALOG_ENTRY_HEADER(edgeType0);
235 SO_KIT_CATALOG_ENTRY_HEADER(edgeType1);
236 SO_KIT_CATALOG_ENTRY_HEADER(edgeType2);
237 SO_KIT_CATALOG_ENTRY_HEADER(edgeType3);
238 SO_KIT_CATALOG_ENTRY_HEADER(showEdges);
239 SO_KIT_CATALOG_ENTRY_HEADER(edgeTypeCorner0);
240 SO_KIT_CATALOG_ENTRY_HEADER(edgeTypeCorner1);
241 SO_KIT_CATALOG_ENTRY_HEADER(edgeTypeCorner2);
242 SO_KIT_CATALOG_ENTRY_HEADER(edgeTypeCorner3);
243 SO_KIT_CATALOG_ENTRY_HEADER(scaleCoords);
244 SO_KIT_CATALOG_ENTRY_HEADER(edgeScale0);
245 SO_KIT_CATALOG_ENTRY_HEADER(edgeScale1);
246 SO_KIT_CATALOG_ENTRY_HEADER(edgeScale2);
247 SO_KIT_CATALOG_ENTRY_HEADER(edgeScale3);
248 SO_KIT_CATALOG_ENTRY_HEADER(edgeSeparator0);
249 SO_KIT_CATALOG_ENTRY_HEADER(edgeSeparator1);
250 SO_KIT_CATALOG_ENTRY_HEADER(edgeSeparator2);
251 SO_KIT_CATALOG_ENTRY_HEADER(edgeSeparator3);
252 SO_KIT_CATALOG_ENTRY_HEADER(edgeScaleTranslation0);
253 SO_KIT_CATALOG_ENTRY_HEADER(edgeScaleTranslation1);
254 SO_KIT_CATALOG_ENTRY_HEADER(edgeScaleTranslation2);
255 SO_KIT_CATALOG_ENTRY_HEADER(edgeScaleTranslation3);
256 SO_KIT_CATALOG_ENTRY_HEADER(edgeScaleTab0);
257 SO_KIT_CATALOG_ENTRY_HEADER(edgeScaleTab1);
258 SO_KIT_CATALOG_ENTRY_HEADER(edgeScaleTab2);
259 SO_KIT_CATALOG_ENTRY_HEADER(edgeScaleTab3);
260 SO_KIT_CATALOG_ENTRY_HEADER(cornerScale0);
261 SO_KIT_CATALOG_ENTRY_HEADER(cornerScale1);
262 SO_KIT_CATALOG_ENTRY_HEADER(cornerScale2);
263 SO_KIT_CATALOG_ENTRY_HEADER(cornerScale3);
264 SO_KIT_CATALOG_ENTRY_HEADER(tabHighlightSwitch0);
265 SO_KIT_CATALOG_ENTRY_HEADER(tabHighlightSwitch1);
266 SO_KIT_CATALOG_ENTRY_HEADER(tabHighlightSwitch2);
267 SO_KIT_CATALOG_ENTRY_HEADER(tabHighlightSwitch3);
268 SO_KIT_CATALOG_ENTRY_HEADER(tabHighlightSwitch4);
269 SO_KIT_CATALOG_ENTRY_HEADER(tabHighlightSwitch5);
270 SO_KIT_CATALOG_ENTRY_HEADER(tabHighlightSwitch6);
271 SO_KIT_CATALOG_ENTRY_HEADER(tabHighlightSwitch7);
272 SO_KIT_CATALOG_ENTRY_HEADER(tabHighlightMaterial0);
273 SO_KIT_CATALOG_ENTRY_HEADER(tabHighlightMaterial1);
274 SO_KIT_CATALOG_ENTRY_HEADER(tabHighlightMaterial2);
275 SO_KIT_CATALOG_ENTRY_HEADER(tabHighlightMaterial3);
276 SO_KIT_CATALOG_ENTRY_HEADER(tabHighLightMaterial4);
277 SO_KIT_CATALOG_ENTRY_HEADER(tabHighLightMaterial5);
278 SO_KIT_CATALOG_ENTRY_HEADER(tabHighLightMaterial6);
279 SO_KIT_CATALOG_ENTRY_HEADER(tabHighLightMaterial7);
280 SO_KIT_CATALOG_ENTRY_HEADER(tabHighlightScale0);
281 SO_KIT_CATALOG_ENTRY_HEADER(tabHighlightScale1);
282 SO_KIT_CATALOG_ENTRY_HEADER(tabHighlightScale2);
283 SO_KIT_CATALOG_ENTRY_HEADER(tabHighlightScale3);
284 SO_KIT_CATALOG_ENTRY_HEADER(tabHighlightScale4);
285 SO_KIT_CATALOG_ENTRY_HEADER(tabHighlightScale5);
286 SO_KIT_CATALOG_ENTRY_HEADER(tabHighlightScale6);
287 SO_KIT_CATALOG_ENTRY_HEADER(tabHighlightScale7);
288 SO_KIT_CATALOG_ENTRY_HEADER(cornerSeparator0);
289 SO_KIT_CATALOG_ENTRY_HEADER(cornerSeparator1);
290 SO_KIT_CATALOG_ENTRY_HEADER(cornerSeparator2);
291 SO_KIT_CATALOG_ENTRY_HEADER(cornerSeparator3);
292 SO_KIT_CATALOG_ENTRY_HEADER(cornerScaleTranslation0);
293 SO_KIT_CATALOG_ENTRY_HEADER(cornerScaleTranslation1);
294 SO_KIT_CATALOG_ENTRY_HEADER(cornerScaleTranslation2);
295 SO_KIT_CATALOG_ENTRY_HEADER(cornerScaleTranslation3);
296 SO_KIT_CATALOG_ENTRY_HEADER(cornerScaleTab0);
297 SO_KIT_CATALOG_ENTRY_HEADER(cornerScaleTab1);
298 SO_KIT_CATALOG_ENTRY_HEADER(cornerScaleTab2);
299 SO_KIT_CATALOG_ENTRY_HEADER(cornerScaleTab3);
300 SO_KIT_CATALOG_ENTRY_HEADER(translatorMaterial);
301 SO_KIT_CATALOG_ENTRY_HEADER(translatorDrawStyle);
302 SO_KIT_CATALOG_ENTRY_HEADER(translatorCoordinates);
374 static void initClass();
376 static void exitClass();
378 int getCurrentState();
380 void notify( SoNotList* list );
396 static void lightingSensorCB(
void *,
SoSensor * );
397 static void lineWidthSensorCB(
void *,
SoSensor * );
399 static void startCB(
void *,
SoDragger *);
400 static void motionCB(
void *,
SoDragger *);
401 static void finishCB(
void *,
SoDragger *);
402 static void metaKeyChangeCB(
void *,
SoDragger *);
409 static void fieldSensorCB(
void *,
SoSensor * );
410 static void valueChangedCB(
void *,
SoDragger * );
419 void translateStart();
420 void translateDrag();
422 void edgeScaleStart();
423 void edgeScaleDrag();
425 void cornerScaleStart();
426 void cornerScaleDrag();
428 void scaleUniformStart();
429 void scaleUniformDrag();
432 int currentScalePatch;
435 INACTIVE, TRANSLATING, EDGE_SCALING, CORNER_SCALING, UNIFORM_SCALING
453 virtual void setDefaultOnNonWritingFields();
458 static const char geomBuffer[];
459 static bool s_resizeOnInactiveOnly;
461 static const float s_tabHighlightScaleCoef;