VR-Forces 4.1.1 Class Documentation
envModelType.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2001 MaK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 /*******************************************************************************
6 ** $RCSfile: envModelType.h,v $ $Revision: 1.5 $ $State: Exp $
7 *******************************************************************************/
8 
9 //
10 // File: envModelType.h
11 //
12 // Class: DtSimEnvironmentalModelType
13 //
14 #ifndef DtSimEnvironmentalModelType_H_
15 #define DtSimEnvironmentalModelType_H_
16 
17 #include <vlutil/vlMachineTypes.h>
20 
21 //
22 // Class Description: DtSimEnvironmentalModelType is modelled after VR-Link's
23 // DtAppearance class. It manages the bits in the Environmental process'
24 // model modelType field.
25 //
26 //
27 
30 {
31 public:
32  // Default Constructor.
34 
35  // Constructor with modelType bit field supplied
36  DtSimEnvironmentalModelType(DtU8 modelType);
37 
38  // Copy Constructor.
40 
41  // Assignment Operator.
42  const DtSimEnvironmentalModelType& operator=(
43  const DtSimEnvironmentalModelType& orig);
44 
45  // Destructor.
46  virtual ~DtSimEnvironmentalModelType();
47 
48  // Clone.
49  virtual DtSimEnvironmentalModelType* clone() const;
50 
51 
52  // Interface to modelType bits
53  virtual void setEnvModelTypeAttribute(const DtEnvModelAttribute attr,
54  bool onOff);
55 
56  virtual bool envModelTypeAttribute(
57  const DtEnvModelAttribute attr) const;
58 
59  virtual bool closedFigure() const;
60  virtual void setClosedFigure(bool closed);
61 
62  virtual bool projection() const;
63  virtual void setProjection(bool projection);
64 
65  virtual bool bound2D() const;
66  virtual void setBound2D(bool bound2D);
67 
68  // Set/Get the appearance field.
69  virtual void setModelType(DtU8 app);
70  virtual DtU8 modelType() const;
71 
72 protected:
73 
75 };
76 
78 {
79  return myModelType;
80 }
81 
82 inline void DtSimEnvironmentalModelType::setModelType(DtU8 modelType)
83 {
85 }
86 
87 #endif

Document ID: Generated on Mon Apr 8 19:24:01 EDT 2013 from SVN revision 125877
Copyright © 2005-2013 VT MÄK. All Rights Reserved (www.mak.com)