VR-Forces 5.0.2 Developer's Guide
 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 
9 #pragma once
10 
11 #include <osg/NodeVisitor>
12 #include <osg/Group>
13 
14 namespace osg
15 {
16  class Node;
17  class Transform;
18 }
19 
20 namespace makVrv
21 {
22  class DtRemoveNamedGroupsVisitor : public osg::NodeVisitor
23  {
24  public:
26 
27  virtual void apply(osg::Group& group);
28  virtual void apply(osg::Transform& transform);
29 
30  bool isOperationPermissible(osg::Node& node);
31  void removeRedundantNodes();
32 
33  osg::NodeList _redundantNodeList;
34  };
35 
36 }
Definition: DtRemoveNamedGroupsVisitor.h:22
osg::NodeList _redundantNodeList
Definition: DtRemoveNamedGroupsVisitor.h:33
virtual void apply(osg::Group &group)
bool isOperationPermissible(osg::Node &node)

Document ID: Generated on Sun Dec 4 20:22:03 EST 2022 from SVN revision 249613
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)