VR-Forces 4.7 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtRemoveNamedGroupsVisitor.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2017 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 /******************************************************************************
6 ** $RCSfile: DtRemoveNamedGroupsVisitor.h,v $ $Revision: 1.7 $ $State: Exp $
7 ******************************************************************************/
8 
12 #pragma once
13 
14 #include <osg/NodeVisitor>
15 #include <osg/Group>
16 
17 namespace osg
18 {
19  class Node;
20  class Transform;
21 }
22 
23 namespace makVrv
24 {
25  class DtRemoveNamedGroupsVisitor : public osg::NodeVisitor
26  {
27  public:
29 
30  virtual void apply(osg::Group& group);
31  virtual void apply(osg::Transform& transform);
32 
33  bool isOperationPermissible(osg::Node& node);
34  void removeRedundantNodes();
35 
36  osg::NodeList _redundantNodeList;
37  };
38 
39 }

Document ID: Generated on Fri Apr 26 21:53:14 EDT 2019 from SVN revision 197883
Copyright © 2005-2019 VT MAK. All Rights Reserved (www.mak.com)