![]() |
VR-Link API Documentation for DIS
|
00001 //******************************************************************** 00002 // Copyright (c) 2005 MaK Technologies, Inc. 00003 // All rights reserved. 00004 //******************************************************************** 00005 #pragma once 00006 00007 #include "hypNorm.h" 00008 #include <vector> 00009 00010 class DtPartitionNormalizer : public DtHyperspaceNormalizer 00011 { 00012 public: 00013 DtPartitionNormalizer(); 00014 00015 virtual ~DtPartitionNormalizer(); 00016 00017 virtual unsigned long normalize(); 00018 00019 virtual void setValue(double value); 00020 virtual double value() const; 00021 00022 virtual void setTable(const std::vector<double>& table); 00023 00024 protected: 00025 virtual unsigned long mapEnumerated(int ev, int min, int max); 00026 00027 std::vector<double> myTable; 00028 double myValue; 00029 }; 00030 00031 00032