![]() |
VR-Link API Documentation for HLA 1.3
|
00001 //******************************************************************** 00002 // Copyright (c) 2005 MaK Technologies, Inc. 00003 // All rights reserved. 00004 //******************************************************************** 00005 00006 00007 #ifndef linNorm_H_ 00008 #define linNorm_H_ 00009 00010 #include "hypNorm.h" 00011 00012 class DtLinearNormalizer : public DtHyperspaceNormalizer 00013 { 00014 public: 00015 DtLinearNormalizer(double minValue, double maxValue); 00016 00017 virtual ~DtLinearNormalizer(); 00018 00019 virtual unsigned long normalize(); 00020 00021 virtual void setMinValue(double min); 00022 virtual void setMaxValue(double max); 00023 virtual void setValue(double value); 00024 00025 virtual double minValue() const; 00026 virtual double maxValue() const; 00027 virtual double value() const; 00028 00029 protected: 00030 double myMaxValue; 00031 double myMinValue; 00032 double myValue; 00033 }; 00034 00035 #endif 00036