VR-Forces 4.3 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
DtInstanceNode.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2014 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 
8 
9 #pragma once
10 
11 #include <vrvOsg/vrvOsg.h>
12 
13 #include <osg/Transform>
14 #include <osg/View>
15 #include <osg/CopyOp>
16 
17 namespace osgUtil
18 {
19  class NodeVisitor;
20 }
21 
22 namespace makVrv
23 {
24  class DtInstanceManager;
25 
31  class DT_DLL_VRVOSG DtInstanceNode : public osg::Transform
32  {
33  public:
35  DtInstanceNode(DtInstanceManager& instanceManager);
36 
38  ~DtInstanceNode();
39 
41  DtInstanceNode(const DtInstanceNode& ob, const osg::CopyOp& copyop = osg::CopyOp::SHALLOW_COPY);
42 
44  virtual osg::Object* clone(const osg::CopyOp& copyop = osg::CopyOp::SHALLOW_COPY);
45 
50  virtual bool computeWorldToLocalMatrix(osg::Matrix& matrix, osg::NodeVisitor* nv) const;
51 
53  virtual bool computeLocalToWorldMatrix(osg::Matrix& matrix, osg::NodeVisitor* nv) const;
54 
55  protected:
56  osg::Vec3d myLastEye;
58  };
59 }

Document ID: Generated on Wed Mar 11 21:20:57 EDT 2015 from SVN revision 150940
Copyright © 2005-2014 VT MÄK. All Rights Reserved (www.mak.com)