VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtLinearScalingAlgorithm.h
Go to the documentation of this file.
1 /*****************************************************************************
2  * Copyright (c) 2019 MAK Technologies, Inc.
3  * All rights reserved.
4  *****************************************************************************/
5 
9 
10 #pragma once
11 
12 #include <vrvOsg/vrvOsg.h>
13 
16 
17 namespace makVrv
18 {
19  class DtOsgCullVisitorParameters;
20 
26  {
27  protected:
30 
32 
33  public:
35  virtual ~DtLinearScalingAlgorithm();
36 
53  virtual double calculateScale( const DtOsgCullVisitorParameters& info,
54  const osg::Camera& camera, const osg::Vec3d& position,
55  double modelRadius, DtUniqueID objectElementId ) const;
56 
57  private:
60 
61  // Unimplemented Copy CTOR
63 
64  };
65 
69  {
70  public:
73 
76 
78  const std::string& scaleType() const;
79 
82  virtual const DtUnicode& scaleTypeDisplay() const;
83 
86  virtual DtScalingAlgorithm* create();
87 
88  private:
89  // Unimplemented Copy CTOR
91 
92  // Unimplemented Assignment Operator
94  };
95 }
96 
97 
A unicode string. DtUnicode stores a UTF-16 encoded unicode string. Code Point, a Unicode character...
Definition: DtUnicode.h:33
Contains the declaration of the makVrv::DtScalingAlgorithm class.
#define DT_DLL_VRVOSG
Definition: vrvOsg.h:23
Override creator for creating scale algorithm instances.
Definition: DtLinearScalingAlgorithm.h:68
Abstract interface for creating instances of scaling algorithm classes. In addition to the more tradi...
Definition: DtScalingAlgorithmCreator.h:26
Provides an algorithm for scaling objects in the scene. It provides a container for the scale factor ...
Definition: DtScalingAlgorithm.h:35
The osg cull vistor parameters class provides additional culling and intersector parameters for choos...
Definition: DtOsgCullVisitorParameters.h:44
unsigned long long DtUniqueID
Definition: DtUniqueID.h:19
Linear scaling algorithm implementation This Scaling algorithm implements basic linear scaling...
Definition: DtLinearScalingAlgorithm.h:25
Contains the declaration of the makVrv::DtScalingAlgorithmCreator class.
Contains DLL export macros.

Document ID: Generated on Thu Oct 23 22:29:17 EDT 2025 from SVN revision 280951
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)