VR-Forces 4.10 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtOsgScalingAlgorithmFactory.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 
15 
16 #include <boost/unordered_map.hpp>
17 
18 #include <string>
19 
20 namespace makVrv
21 {
22  class DtDe;
23  class DtScalingAlgorithmCreator;
24  class DtScalingAlgorithm;
25 
30  {
31  public:
34 
37 
40  virtual void registerCreator(DtScalingAlgorithmCreator* creator);
41 
44  virtual DtScalingAlgorithm* getOrCreate(const std::string& name);
45 
46  private:
49 
52 
55 
56  protected:
57  typedef boost::unordered_map<std::string, DtScalingAlgorithm*> AlgorithmCache;
59  };
60 }
#define DT_DLL_VRVOSG
Definition: vrvOsg.h:23
boost::unordered_map< std::string, DtScalingAlgorithm * > AlgorithmCache
Definition: DtOsgScalingAlgorithmFactory.h:57
Contains makVrv::DtScalingAlgorithmFactory class.
Abstract interface for creating instances of scaling algorithm classes.
Definition: DtScalingAlgorithmCreator.h:26
Provides an algorithm for scaling objects in the scene.
Definition: DtScalingAlgorithm.h:35
AlgorithmCache myAlgorithmCache
Definition: DtOsgScalingAlgorithmFactory.h:58
DtScalingAlgorithmFactory provides a mechanism to register creators for and create different model sc...
Definition: DtScalingAlgorithmFactory.h:40
Contains DLL export macros.
The DtDe is the core component of any VR-Vantage application.
Definition: DtDe.h:69
This is the vrvOsg-specific implementation of a DtScalingAlgorithmFactory.
Definition: DtOsgScalingAlgorithmFactory.h:29

Document ID: Generated on Tue Sep 21 17:42:52 EDT 2021 from SVN revision 234861
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)