![]() |
VR-Forces 4.0.4 Class Documentation
|
00001 /****************************************************************************** 00002 ** Copyright (c) 2010 MAK Technologies, Inc. 00003 ** All rights reserved. 00004 ******************************************************************************/ 00005 /****************************************************************************** 00006 ** $RCSfile: $ $Revision: $ $State: $ 00007 ******************************************************************************/ 00008 00012 00013 #pragma once 00014 00015 #include <vrvOsg/vrvOsg.h> 00016 #include <osg/Group> 00017 #include <osg/MatrixTransform> 00018 00019 namespace makVrv 00020 { 00022 class DT_DLL_VRVOSG DtFastGroup : public osg::Group 00023 { 00024 public: 00025 DtFastGroup(); 00026 00028 DtFastGroup(const DtFastGroup&,const osg::CopyOp& copyop=osg::CopyOp::SHALLOW_COPY); 00029 00031 virtual bool removeChildren( unsigned int pos,unsigned int numChildrenToRemove); 00032 }; 00033 00034 class DtSceneObject; 00035 00037 class DT_DLL_VRVOSG DtFastMatrixTransform : public osg::MatrixTransform 00038 { 00039 public: 00040 DtFastMatrixTransform(); 00041 00043 DtFastMatrixTransform(const DtFastMatrixTransform&,const osg::CopyOp& copyop=osg::CopyOp::SHALLOW_COPY); 00044 00046 virtual bool removeChildren( unsigned int pos,unsigned int numChildrenToRemove); 00047 00050 virtual void setSceneObject( DtSceneObject* sceneObject ); 00051 virtual DtSceneObject* sceneObject() const; 00052 00053 protected: 00054 DtSceneObject* mySceneObject; 00055 }; 00056 } 00057