00001 #ifndef MESHTRANSFORMCOMPUTERCOREVISITOR_H 00002 #define MESHTRANSFORMCOMPUTERCOREVISITOR_H 00003 00004 #include "MESH_TransformComputerStateVariables.h" 00005 00006 #include <X3DTK/MESH/scenegraph.h> 00007 #include <iostream> 00008 00009 namespace X3DTK { 00010 namespace MESH { 00011 00012 class X3DGroupingNode; 00013 class Transform; 00014 00015 // Visitor for the Core component of the MeshTransformComputer processor. 00016 00017 template<class MData, class VData, class EData, class FData, bool readOnly> 00018 class TransformComputerCoreVisitor : public CoreVisitor 00019 { 00020 public: 00021 TransformComputerCoreVisitor(); 00022 00023 static void enterMesh(TemplateMesh<MData, VData, EData, FData, readOnly> *M); 00024 static void enterTransform(Transform *T); 00025 static void leaveX3DGroupingNode(X3DGroupingNode *N); 00026 }; 00027 00028 } 00029 } 00030 00031 #include "MESH_TransformComputerCoreVisitor.inl" 00032 00033 #endif