Skip to content

Commit 09ce7e3

Browse files
author
Haydelj
committed
cleaned up print staments
1 parent b741bab commit 09ce7e3

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed

src/Core/Datatypes/ColorMap.cc

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ double ColorMap::getTransformedValue(double f) const
154154
static bool x = true;
155155
if (x)
156156
{
157-
std::cout << "";// this;// << " " << name_ << " " << resolution_ << " " << shift_ << " " << invert_ << std::endl;
157+
std::cout << "";
158158
x = false;
159159
}
160160
/////////////////////////////////////////////////
@@ -208,7 +208,6 @@ ColorRGB ColorMap::applyAlpha(double transformed, ColorRGB colorWithoutAlpha) co
208208
double ColorMap::alpha(double transformedValue) const
209209
{
210210
transformedValue *= 364.0;
211-
std::cout << transformedValue << "\n";
212211
if(alphaLookup_.size() == 0) return 0.5;
213212
int i;
214213
for(i = 0; (i < alphaLookup_.size()) && (alphaLookup_[i] < transformedValue); i += 2);
@@ -230,7 +229,6 @@ double ColorMap::alpha(double transformedValue) const
230229
}
231230
else
232231
{
233-
std::cout << "normal\n";
234232
startx = alphaLookup_[i - 2];
235233
starty = alphaLookup_[i - 1];
236234
endx = alphaLookup_[i + 0];
@@ -239,7 +237,6 @@ double ColorMap::alpha(double transformedValue) const
239237

240238
double interp = (transformedValue - startx) / (endx - startx);
241239
double value = ((1.0f - interp) * starty + (interp) * endy) / 80.0;
242-
std::cout << startx << " : " << endx << " : " << interp << "\n";
243240
return value;
244241
}
245242

src/Modules/Visualization/CreateStandardColorMap.cc

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,6 @@ void CreateStandardColorMap::execute()
6666

6767
//TODO cbright: pass computed alpha function from transient state to factory
6868
auto alphaPoints = state->getValue(Parameters::AlphaUserPointsVector).toVector();
69-
std::cout << alphaPoints << "\n";
7069
std::vector<double> points;
7170
for(auto point : alphaPoints)
7271
{

0 commit comments

Comments
 (0)