Commit de42caf9 authored by Sebastian Eichelbaum's avatar Sebastian Eichelbaum

[DOC][STYLE]

parent 2fa8c39e
...@@ -46,7 +46,8 @@ WDataTexture3D::WDataTexture3D( boost::shared_ptr<WValueSetBase> valueSet, boost ...@@ -46,7 +46,8 @@ WDataTexture3D::WDataTexture3D( boost::shared_ptr<WValueSetBase> valueSet, boost
m_scale( m_maxValue - m_minValue ) m_scale( m_maxValue - m_minValue )
{ {
// initialize members // initialize members
wlog::debug( "WDataTexture3D" ) << "Texture scaling information for data in [" << m_minValue << ", "<< m_maxValue << "]: scaling factor=" << m_scale; wlog::debug( "WDataTexture3D" ) << "Texture scaling information for data in [" << m_minValue << ", "<< m_maxValue <<
"]: scaling factor=" << m_scale;
} }
WDataTexture3D::~WDataTexture3D() WDataTexture3D::~WDataTexture3D()
......
...@@ -23,6 +23,7 @@ ...@@ -23,6 +23,7 @@
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------
#include <cstring> // memset() #include <cstring> // memset()
#include <utility>
#include "../../common/WAssert.h" #include "../../common/WAssert.h"
#include "../../common/WLimits.h" #include "../../common/WLimits.h"
...@@ -117,7 +118,8 @@ WValueSetHistogram::WValueSetHistogram( const WValueSetHistogram& histogram, siz ...@@ -117,7 +118,8 @@ WValueSetHistogram::WValueSetHistogram( const WValueSetHistogram& histogram, siz
} }
WAssert( buckets > 1, "WValueSetHistogram::WValueSetHistogram : number of buckets needs to be larger than 1." ); WAssert( buckets > 1, "WValueSetHistogram::WValueSetHistogram : number of buckets needs to be larger than 1." );
WAssert( buckets < m_nInitialBuckets, "WValueSetHistogram::WValueSetHistogram : number of buckets needs to be smaller than the initial bucket count." ); WAssert( buckets < m_nInitialBuckets,
"WValueSetHistogram::WValueSetHistogram : number of buckets needs to be smaller than the initial bucket count." );
// number of elements in the new mapped histogram = division + (round up) // number of elements in the new mapped histogram = division + (round up)
m_nMappedBuckets = buckets - 1; m_nMappedBuckets = buckets - 1;
......
...@@ -85,7 +85,6 @@ public: ...@@ -85,7 +85,6 @@ public:
/** /**
* Get the value. * Get the value.
* *
* \param i The position of the value.
* \return The value at position i. * \return The value at position i.
*/ */
virtual double getScalarDouble( size_t /* i */ ) const virtual double getScalarDouble( size_t /* i */ ) const
......
...@@ -88,8 +88,8 @@ void WMHistogramEqualization::properties() ...@@ -88,8 +88,8 @@ void WMHistogramEqualization::properties()
m_propCondition = boost::shared_ptr< WCondition >( new WCondition() ); m_propCondition = boost::shared_ptr< WCondition >( new WCondition() );
// enable histogram equalization? // enable histogram equalization?
m_equalize = m_properties->addProperty( "Equalize Histogram", "If true, the dataset's histogram will be equalized which ensures that the\ m_equalize = m_properties->addProperty( "Equalize Histogram", "If true, the dataset's histogram will be equalized which ensures that the " +
cumulative histogram is a linear function.", true, m_propCondition ); "cumulative histogram is a linear function.", true, m_propCondition );
// call WModule's initialization // call WModule's initialization
WModule::properties(); WModule::properties();
...@@ -136,7 +136,6 @@ void WMHistogramEqualization::moduleMain() ...@@ -136,7 +136,6 @@ void WMHistogramEqualization::moduleMain()
// Grab the histogram // Grab the histogram
boost::shared_ptr< const WValueSetHistogram > hist = dataSet->getHistogram(); boost::shared_ptr< const WValueSetHistogram > hist = dataSet->getHistogram();
debugLog() << *hist; debugLog() << *hist;
} }
} }
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment