00001 00018 #ifndef INC_MI32_STERERENDER_H 00019 #define INC_MI32_STERERENDER_H 00020 00021 #ifndef INC_MI32_STEREOVIEW_H 00022 #include <mi32/stereoview.h> 00023 #endif 00024 00025 #ifndef INC_MI32_COLOR_H 00026 #include <mi32/color.h> 00027 #endif 00028 00029 00031 class STEREORENDER { 00032 public: 00033 00035 STEREORENDER (); 00036 00039 double GetAmtColorNoTerrain () const 00040 { return (m_AmtColorNoTerrain); } 00041 00043 const COLOR& GetColorNoTerrain () const 00044 { return (m_ColorNoTerrain); } 00045 00047 double GetMaxReliefExaggeration () const 00048 { return (m_MaxReliefExaggeration); } 00049 00051 double GetPctDepthBeyondScreen () const 00052 { return (m_PctDepthBeyondScreen); } 00053 00055 double GetRelativeDepthScale () const 00056 { return (m_RelativeDepthScale); } 00057 00059 STEREOVIEW GetShiftView () const 00060 { return (m_ShiftView); } 00061 00063 void IniRead (const char *IniGroup = 0); 00064 00066 void IniWrite (const char *IniGroup = 0) const; 00067 00069 bool IsEnabled () const 00070 { return (m_ShiftView != STEREOVIEW_None); } 00071 00073 void SetColorNoTerrain ( 00074 const COLOR& ColorNoTerrain, 00075 double amount 00076 ) { m_ColorNoTerrain = ColorNoTerrain; m_AmtColorNoTerrain = amount; } 00077 00079 void SetMaxReliefExaggeration ( 00080 double MaxReliefExaggeration 00081 ) { m_MaxReliefExaggeration = MaxReliefExaggeration; } 00082 00084 void SetPctDepthBeyondScreen ( 00085 double PctDepthBeyondScreen 00086 ) { m_PctDepthBeyondScreen = PctDepthBeyondScreen; } 00087 00089 void SetRelativeDepthScale ( 00090 double RelativeDepthScale 00091 ) { m_RelativeDepthScale = RelativeDepthScale; } 00092 00094 void SetShiftView ( 00095 STEREOVIEW ShiftView 00096 ) { m_ShiftView = ShiftView; } 00097 00098 private: 00099 #ifndef GENERATING_DOXYGEN_OUTPUT 00100 double m_RelativeDepthScale; 00101 double m_MaxReliefExaggeration; 00102 double m_PctDepthBeyondScreen; 00103 double m_AmtColorNoTerrain; 00104 COLOR m_ColorNoTerrain; 00105 STEREOVIEW m_ShiftView; 00106 #endif 00107 }; 00108 00109 #endif // INC_MI32_STERERENDER_H
1.6.1