VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtOsgIntersectOnlyGroup.h
Go to the documentation of this file.
1 /*****************************************************************************
2  * Copyright (c) 2020 MAK Technologies, Inc.
3  * All rights reserved.
4  *****************************************************************************/
5 
9 
10 #pragma once
11 
12 #include <vrvOsg/vrvOsg.h>
13 
14 #include <osg/Group>
15 
16 namespace osg
17 {
18  class NodeVisitor;
19 }
20 
21 namespace makVrv
22 {
25  class DT_DLL_VRVOSG DtOsgIntersectOnlyGroup : public osg::Group
26  {
27  public:
30 
32  DtOsgIntersectOnlyGroup(const DtOsgIntersectOnlyGroup& group, const osg::CopyOp& copyop = osg::CopyOp::SHALLOW_COPY);
33 
34  //Destructor
35  virtual ~DtOsgIntersectOnlyGroup();
36 
37  public:
38 
39  //META_NODE replacement to cover the required functions for this class being derrived from osg::Group
40  virtual osg::Object* cloneType() const;
41  virtual osg::Object* clone(const osg::CopyOp& copyop) const;
42  virtual bool isSameKindAs(const osg::Object* obj) const;
43  virtual const char* className() const;
44  virtual const char* libraryName() const;
45 
47  virtual void traverse(osg::NodeVisitor& nv) override;
48 
50  virtual void accept(osg::NodeVisitor& nv) override;
51 
53  virtual osg::BoundingSphere computeBound() const;
54 
55  private:
57  DtOsgIntersectOnlyGroup& operator=(const DtOsgIntersectOnlyGroup&) = delete;
58  };
59 }
#define DT_DLL_VRVOSG
Definition: vrvOsg.h:23
group that is only visited by the intersection visitor and nothing else
Definition: DtOsgIntersectOnlyGroup.h:25
Contains DLL export macros.

Document ID: Generated on Thu Oct 23 22:29:17 EDT 2025 from SVN revision 280951
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)