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;
150 void UpdateRenderParams();
151 void CalculateStat()
const;
152 void CalculateHistogram()
const;
153 virtual void CustomPreRenderGL(
bool flag);
162 mutable bool stat_calculated_;
164 mutable bool histogram_calculated_;
165 int histogram_bin_count_;
167 bool normals_calculated_;
177 mutable bool recalc_bb_;
const Color & GetColor() const
get color
void SetDebugOctree(bool flag)
Octree datastructure for 3D images.
main class for all graphic objects
void SetColor(const Color &color)
set color
#define DLLEXPORT_OST_GFX
Three dimensional vector class, using Real precision.
static bool global_downsampling_flag
isocontour rendering for 3D image data
ImageStateNonModAlgorithm< HistogramBase > Histogram
Manage shared instances of images.
ImageStateNonModAlgorithm< StatBase > Stat
boost::shared_ptr< MapIso > MapIsoP