Main Page | Modules | Namespace List | Class Hierarchy | Compound List | File List | Namespace Members | Compound Members | File Members | Related Pages

X3D_MeshBuilderShapeVisitor.h

Go to the documentation of this file.
00001 #ifndef X3DTK_X3D_MESHBUILDERSHAPEVISITOR_H
00002 #define X3DTK_X3D_MESHBUILDERSHAPEVISITOR_H
00003 
00004 #include "X3D_ShapeVisitor.h"
00005 #include "X3D_MeshBuilderStateVariables.h"
00006 
00007 namespace X3DTK {
00008 namespace X3D {
00009 
00010 class Shape;
00011 class X3DAppearanceNode;
00012 
00019 class MeshBuilderShapeVisitor : public ShapeVisitor
00020 {
00021 public:
00023   MeshBuilderShapeVisitor();
00025   virtual ~MeshBuilderShapeVisitor();
00026 
00028   virtual void enterShape(Shape *S) const;
00030   virtual void enterX3DAppearanceNode(X3DAppearanceNode *N) const;
00032   virtual bool walkOnX3DAppearanceNode(X3DAppearanceNode *N, SFAbstractNode child) const;
00034   virtual void leaveShape(Shape *S) const;
00036   virtual void leaveX3DAppearanceNode(X3DAppearanceNode *N) const;
00037 
00038 protected:
00039   MeshBuilderStateVariables *stateVariables;
00040 };
00041 
00042 }
00043 }
00044 
00045 #endif

Generated on Tue Mar 2 14:08:52 2004 for X3DToolKit by doxygen 1.3.3