VR-Forces 4.8 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtOsgConvertUtils.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2018 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 
6 #pragma once
7 
8 #include <vrvOsg/vrvOsg.h>
9 
15 
16 #include <osg/Vec3>
17 #include <osg/Vec4>
18 #include <osg/Matrix>
19 #include <osg/BoundingBox>
20 
21 namespace makVrv
22 {
25  {
26  public:
27  static DtColorValue OsgVec4ToColorValue(const osg::Vec4& vOsgVec4);
28 
29  static Vector4_64 OsgVec4ToVec4(const osg::Vec4d& vOsgVec4);
30  static Vector3_64 OsgVec4ToVec3(const osg::Vec4d& vOsgVec4);
31  static Vector3_64 OsgVec3ToVec3(const osg::Vec3d& vOsgVec3);
32 
33  static Matrix4_64 OsgMatrixToMatrix(const osg::Matrixd& matrix);
34 
35  static AxisAlignedBoundingBox_32 OsgBBToBB(const osg::BoundingBoxd& osgBB);
36  };
37 }
DtColorValue class.
#define DT_DLL_VRVOSG
Definition: vrvOsg.h:23
4 dimensional vector
3 dimensional vector
contains some utility functions for converting between osg and VR-Vantage types
Definition: DtOsgConvertUtils.h:24
Template for 32/64 bit Axis Aligned bounding boxes.
Definition: DtAxisAlignedBoundingBox.h:25
Axis Aligned Bounding Box class.
4 dimensional vector
Definition: DtVector4.h:24
Contains DLL export macros.
Template for Color values in [0,1] range.
Definition: DtColorValue.h:18
4 dimensional matrix

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)