Go to the documentation of this file.00001 
00002 
00003 
00004 
00005 
00006 
00007 
00008 #ifndef __SP_TEXTURE_LAYER_RELIEF_H__
00009 #define __SP_TEXTURE_LAYER_RELIEF_H__
00010 
00011 
00012 #include "Base/spStandard.hpp"
00013 #include "RenderSystem/spTextureLayer.hpp"
00014 
00015 
00016 namespace sp
00017 {
00018 namespace video
00019 {
00020 
00021 
00031 class SP_EXPORT TextureLayerRelief : public TextureLayer
00032 {
00033     
00034     public:
00035         
00036         TextureLayerRelief();
00037         virtual ~TextureLayerRelief();
00038         
00039         
00040         
00042         inline void setReliefEnable(bool Enable)
00043         {
00044             ReliefEnabled_ = Enable;
00045         }
00047         inline bool getReliefEnable() const
00048         {
00049             return ReliefEnabled_;
00050         }
00051         
00057         inline void setMinSamples(s32 MinSamples)
00058         {
00059             MinSamples_ = MinSamples;
00060         }
00062         inline s32 getMinSamples() const
00063         {
00064             return MinSamples_;
00065         }
00066         
00072         inline void setMaxSamples(s32 MaxSamples)
00073         {
00074             MaxSamples_ = MaxSamples;
00075         }
00077         inline s32 getMaxSamples() const
00078         {
00079             return MaxSamples_;
00080         }
00081         
00083         inline void setHeightMapScale(f32 HeightMapScale)
00084         {
00085             HeightMapScale_ = HeightMapScale;
00086         }
00088         inline f32 getHeightMapScale() const
00089         {
00090             return HeightMapScale_;
00091         }
00092         
00099         inline void setViewRange(f32 ViewRange)
00100         {
00101             ViewRange_ = ViewRange;
00102         }
00104         inline f32 getViewRange() const
00105         {
00106             return ViewRange_;
00107         }
00108         
00109     protected:
00110         
00111         
00112         
00113         bool ReliefEnabled_;
00114         
00115         s32 MinSamples_;
00116         s32 MaxSamples_;
00117         
00118         f32 HeightMapScale_;
00119         f32 ViewRange_;
00120         
00121 };
00122 
00123 
00124 } 
00125 
00126 } 
00127 
00128 
00129 #endif
00130 
00131 
00132 
00133