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

X3D_TemplateMeshBuilderShapeVisitor.h

Go to the documentation of this file.
00001 
00002 //                            X3D_TemplateMeshBuilderShapeVisitor.h           //
00004 
00005 #ifndef TEMPLATEMESHBUILDERSHAPEVISITOR_H
00006 #define TEMPLATEMESHBUILDERSHAPEVISITOR_H
00007 
00008 #include "X3D_ShapeVisitor.h"
00009 #include "X3D_TemplateMeshBuilderStateVariables.h"
00010 
00011 namespace X3DTK {
00012 namespace X3D {
00013 
00014 class Shape;
00015 class X3DAppearanceNode;
00016 
00018 
00019 class TemplateMeshBuilderShapeVisitor : public ShapeVisitor
00020 {
00021 public:
00023   TemplateMeshBuilderShapeVisitor();
00025   virtual ~TemplateMeshBuilderShapeVisitor();
00026 
00028   virtual void enterShape(Shape *S) const;
00030   virtual void enterX3DAppearanceNode(X3DAppearanceNode *N) const;
00031   
00033   virtual bool walkOnShape(Shape *S, SFAbstractNode child) const;
00034   
00036   virtual void leaveShape(Shape *S) const;
00038   virtual void leaveX3DAppearanceNode(X3DAppearanceNode *N) const;
00039 
00040 protected:
00041   TemplateMeshBuilderStateVariables *stateVariables;
00042 };
00043 
00044 }
00045 }
00046 
00047 #endif

Generated on Thu Dec 4 13:25:49 2003 for X3DToolKit by doxygen1.2.18