VR-Forces 4.1 Class Documentation
DtForestSettingsRecord.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2008 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 /******************************************************************************
6 ** $RCSfile: DtForestSettingsRecord.h,v $ $Revision: 1.3 $ $State: Exp $
7 ******************************************************************************/
8 
12 
13 #ifndef DtForestSettingsRecord_H_
14 #define DtForestSettingsRecord_H_
15 
17 #include <vector>
18 
19 namespace makArchives
20 {
24  {
25  public:
28 
31 
33  DtForestSettingsRecord& operator=(const DtForestSettingsRecord& orig);
34 
37 
38  virtual void setFarClippingPlane(float farPlane);
39 
40  virtual float farClippingPlane() const;
41 
42  virtual void setLodDistances(float nearLod, float farLod);
43 
44  virtual float nearLodDistance() const;
45 
46  virtual float farLodDistance() const;
47 
48  virtual void setPerformanceProfile(int index);
49 
50  virtual int performanceProfile() const;
51 
52  protected:
53 
54  friend class boost::serialization::access;
55 
59  template<class Archive>
60  void serialize(Archive & ar, const unsigned int version)
61  {
62  ar & BOOST_SERIALIZATION_NVP(myFarPlane);
63  ar & BOOST_SERIALIZATION_NVP(myNearLOD);
64  ar & BOOST_SERIALIZATION_NVP(myFarLOD);
65  ar & BOOST_SERIALIZATION_NVP(myPerformanceProfile);
66  }
67 
68  float myFarPlane;
69  float myNearLOD;
70  float myFarLOD;
72  };
73 }
74 
76 
77 #endif
78 

Document ID: Generated on Tue Jan 29 18:21:16 EST 2013 from SVN revision 123193
Copyright © 2005-2013 VT MÄK Inc. All Rights Reserved (www.mak.com)