VR-Forces 4.8 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtOsgPrintNodeHierarchyVisitor.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2018 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 
9 
10 #pragma once
11 
12 #include <vrvOsg/vrvOsg.h>
13 
14 #include <osg/NodeVisitor>
15 
16 #include <vector>
17 
18 namespace osg
19 {
20  class ProxyNode;
21 }
22 
23 namespace makVrv
24 {
26  class DT_DLL_VRVOSG DtOsgPrintNodeHierarchyVisitor : public osg::NodeVisitor
27  {
28  public:
31 
34 
35  private:
40 
41  public:
43  virtual void apply(osg::Geometry& geometry);
44 
46  virtual void apply(osg::Geode& geode);
47 
49  virtual void apply(osg::Node& node);
50 
52  virtual void apply(osg::ProxyNode& node);
53 
55  static void printHierarchy(const osg::Node* node);
56  };
57 }
#define DT_DLL_VRVOSG
Definition: vrvOsg.h:23
visitor for printing out the node hierarchy to the console
Definition: DtOsgPrintNodeHierarchyVisitor.h:26
Contains DLL export macros.

Document ID: Generated on Thu Aug 27 10:56:05 EDT 2020 from SVN revision 217100
Copyright © 2005-2020 MAK Technologies. All Rights Reserved (www.mak.com)