VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtOsgGizmoTransform.h
Go to the documentation of this file.
1 /*****************************************************************************
2  * Copyright (c) 2021 MAK Technologies, Inc.
3  * All rights reserved.
4  *****************************************************************************/
5 
9 
10 #pragma once
11 
12 #include <vrvOsg/vrvOsg.h>
13 
14 #include <osg/MatrixTransform>
15 
16 #include <osg/Matrix>
17 
18 namespace osg
19 {
20  class NodeVisitor;
21  class Object;
22 }
23 
24 
25 namespace makVrv
26 {
29  class DT_DLL_VRVOSG DtOsgGizmoTransform : public osg::MatrixTransform
30  {
31  public:
34 
37  private:
39  DtOsgGizmoTransform(const DtOsgGizmoTransform& ob, const osg::CopyOp& copyop = osg::CopyOp::SHALLOW_COPY);
40 
42  DtOsgGizmoTransform& operator=(const DtOsgGizmoTransform& rhs) = delete;
43  public:
44 
46  virtual osg::Object* clone(const osg::CopyOp& copyop = osg::CopyOp::SHALLOW_COPY) const;
47 
52  virtual bool computeWorldToLocalMatrix(osg::Matrix& matrix, osg::NodeVisitor* nv) const;
53 
55  virtual bool computeLocalToWorldMatrix(osg::Matrix& matrix, osg::NodeVisitor* nv) const;
56  };
57 }
#define DT_DLL_VRVOSG
Definition: vrvOsg.h:23
Contains DLL export macros.
Helps attach the drawable to the scene graph.
Definition: DtOsgGizmoTransform.h:29

Document ID: Generated on Wed Mar 27 22:49:11 EDT 2024 from SVN revision 264633
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)