Extended SceneGraphVisitor with pre and post methods.