VR-Link API Documentation for HLA 1.3
hypSpaceRegion.h
Go to the documentation of this file.
1 //********************************************************************
2 // Copyright (c) 2005 MaK Technologies, Inc.
3 // All rights reserved.
4 //********************************************************************
5 #pragma once
6 
7 #include <vl/region.h>
8 #include "enumNorm.h"
10 
11 // Enumerations for subspaces
13 {
35  DtIffSpace = 17,
52 };
53 
54 
55 template <int SubspaceType, typename DimensionType>
57 {
58  public:
60 
61  int subSpaceType() const;
62 
63  protected:
64  unsigned long normalizeSubspaceType();
65 
68 };
69 
70 template <int SubspaceType, typename DimensionType> inline
72  DtExerciseConn* exConn) :
73  DimensionType(exConn),
74  mySubSpaceType(SubspaceType),
75  myNormalizer(0, 30)
76 {
78  unsigned long normalizedSubspace = myNormalizer.normalize();
79  DtDDMRegion::setUpperBound("subspace", normalizedSubspace);
80  DtDDMRegion::setLowerBound("subspace", normalizedSubspace);
81 }
82 
83 template <int SubspaceType, typename DimensionType> inline int
85 {
86  return mySubSpaceType;
87 }
88 
89 
90 

Document ID: Generated on Wed Aug 14 15:35:11 EDT 2013 from SVN revision 130445
Copyright © 2005-2013 VT MÄK. All Rights Reserved (www.mak.com)