VR-Forces Development_Version Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
DtOsgNodeXRScaler.h
Go to the documentation of this file.
1 /*****************************************************************************
2  * Copyright (c) 2014 MAK Technologies, Inc.
3  * All rights reserved.
4  *****************************************************************************/
5 
9 
11 
12 #pragma once
13 
14 #include <vrvOsg/vrvOsg.h>
15 
16 #include <vrvCore/DtUniqueID.h>
18 
19 #include <osg/Referenced>
20 #include <osg/Node>
21 #include <osg/Camera>
22 
23 namespace makVrv
24 {
25  class DtOsgCullVisitorParameters;
26  class DtScalingAlgorithm;
27 
31  class DT_DLL_VRVOSG DtOsgNodeXRScaler : public osg::Referenced
32  {
33  public:
37  DtOsgNodeXRScaler(DtDe& de, DtScalingAlgorithm* scalingAlgorithm);
38 
53  virtual double calculateXRScale( const DtOsgCullVisitorParameters& info,
54  const osg::Camera& camera, const osg::Vec3d& position,
55  double modelRadius, DtUniqueID objectElementId );
56 
61  double calculateXRScale( const DtOsgCullVisitorParameters& info,
62  const osg::Camera& camera, const osg::Node& node );
63 
64  protected:
67  virtual ~DtOsgNodeXRScaler();
68 
71  };
72 }

Document ID: Generated on Tue Mar 8 22:13:38 EST 2016 from SVN revision 162938
Copyright © 2005-2015 VT MÄK. All Rights Reserved (www.mak.com)