19 #ifndef OST_GFX_MAP_ISO_HH
20 #define OST_GFX_MAP_ISO_HH
26 #include <boost/shared_ptr.hpp>
36 namespace ost {
namespace gfx {
44 typedef boost::shared_ptr<MapIso>
MapIsoP;
64 virtual void CustomRenderPov(
PovState& pov);
68 virtual void OnRenderModeChange();
75 void SetLevel(
float l);
77 float GetMinLevel()
const;
78 float GetMaxLevel()
const;
81 float GetLevel()
const;
84 float GetMean()
const;
87 float GetStdDev()
const;
91 std::vector<int> GetHistogram()
const;
94 void SetHistogramBinCount(
int count);
97 int GetHistogramBinCount()
const;
115 void ShowDownsampledMap();
118 void ShowOriginalMap();
121 bool IsDownsampledMapAvailable()
const ;
138 void SetNSF(
float smoothf);
142 void MakeOctreeDirty();
145 bool IfOctreeDirty()
const;
148 void UpdateRenderParams();
149 void CalculateStat()
const;
150 void CalculateHistogram()
const;
151 virtual void CustomPreRenderGL(
bool flag);
160 mutable bool stat_calculated_;
162 mutable bool histogram_calculated_;
163 int histogram_bin_count_;
165 bool normals_calculated_;
176 mutable bool recalc_bb_;