185 static void initClass();
186 static void exitClass();
189 virtual void beginTraversal(
SoNode *) { beginTraversal();}
190 virtual void endTraversal (SoNode *) { endTraversal() ;}
194 virtual void prepareAction (SoCallbackAction &action);
196 virtual void beginTraversal();
197 virtual void endTraversal ();
205 SoSeparator *simplifiedRoot;
223 SoMaterial *lastMaterial;
226 catchShapeCB (
void*
object, SoCallbackAction* action,
const SoNode* node)
230 catchShape ( SoCallbackAction* action,
const SoNode* node) ;
233 catchEndShapeCB (
void*
object, SoCallbackAction* action,
const SoNode* node)
237 catchEndShape ( SoCallbackAction* action,
const SoNode* node) ;
240 catchShapeAttrCB(
void*
object, SoCallbackAction* action,
const SoNode* node)
244 catchShapeAttr ( SoCallbackAction* action,
const SoNode* node) ;
247 catchGroupNodesCB (
void*
object, SoCallbackAction* action,
const SoNode* node)
251 catchGroupNodes ( SoCallbackAction* action,
const SoNode* node) ;
253 void addTriangle (SoCallbackAction *action,
254 const SoPrimitiveVertex *vertex1,
255 const SoPrimitiveVertex *vertex2,
256 const SoPrimitiveVertex *vertex3);
258 static void addTriangleCB (
void *userData,
259 SoCallbackAction *action,
260 const SoPrimitiveVertex *vertex1,
261 const SoPrimitiveVertex *vertex2,
262 const SoPrimitiveVertex *vertex3)