VR-Forces 4.8 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtFastGroup.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2019 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 
9 
10 #pragma once
11 
12 #include <vrvOsg/vrvOsg.h>
13 #include <osg/Group>
14 #include <osg/MatrixTransform>
15 
16 namespace makVrv
17 {
18  class DtSceneObject;
19 
22  class DT_DLL_VRVOSG DtFastGroup : public osg::Group
23  {
24  public:
25 
26  META_Node(vrvOsg, DtFastGroup);
27 
28  DtFastGroup();
29 
31  DtFastGroup(const DtFastGroup&,const osg::CopyOp& copyop=osg::CopyOp::SHALLOW_COPY);
32 
34  virtual bool removeChildren( unsigned int pos,unsigned int numChildrenToRemove);
35  };
36 
38  class DT_DLL_VRVOSG DtFastMatrixTransform : public osg::MatrixTransform
39  {
40  public:
41 
42  META_Node(vrvOsg, DtFastMatrixTransform);
43 
45 
47  DtFastMatrixTransform(const DtFastMatrixTransform&,const osg::CopyOp& copyop=osg::CopyOp::SHALLOW_COPY);
48 
50  virtual bool removeChildren( unsigned int pos,unsigned int numChildrenToRemove);
51 
54  virtual void setSceneObject( DtSceneObject* sceneObject );
55  virtual DtSceneObject* sceneObject() const;
56 
58  virtual osg::Matrix& getMatrixForEditing();
60  virtual void invalidateMatrix();
61 
62  protected:
64  };
65 }
66 
DtSceneObject * mySceneObject
Definition: DtFastGroup.h:63
#define DT_DLL_VRVOSG
Definition: vrvOsg.h:23
osg::MatrixTransform with optimized removeChildren function
Definition: DtFastGroup.h:38
osg::Group with optimized removeChildren function
Definition: DtFastGroup.h:22
A DtSceneObject represents an object that can be positioned in the scene by (possibly) attaching it t...
Definition: DtSceneObject.h:41
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)