00001 #include "GLCoreVisitor.h" 00002 00003 #include <iostream> 00004 00005 using namespace X3DTK; 00006 using namespace std; 00007 00008 GLCoreVisitor::GLCoreVisitor() 00009 { 00010 defineComponentName("GLCore"); 00011 defineNewEnterFunction<GLCoreVisitor, X3DGLNode>(&GLCoreVisitor::enterX3DGLNode); 00012 defineNewWalkOnFunction<GLCoreVisitor, X3DGLNode>(&GLCoreVisitor::walkOnX3DGLNode); 00013 defineNewLeaveFunction<GLCoreVisitor, X3DGLNode>(&GLCoreVisitor::leaveX3DGLNode); 00014 } 00015 00016 GLCoreVisitor::~GLCoreVisitor() 00017 { 00018 } 00019 00020 void GLCoreVisitor::enterX3DGLNode(X3DGLNode *N) const 00021 { 00022 } 00023 00024 bool GLCoreVisitor::walkOnX3DGLNode(X3DGLNode *N, SFNode child) const 00025 { 00026 return true; 00027 } 00028 00029 void GLCoreVisitor::leaveX3DGLNode(X3DGLNode *N) const 00030 { 00031 }