Skip to content

Commit 920ecd0

Browse files
committed
Merge remote-tracking branch 'upstream/master' into autoRotate
2 parents b37d0cf + 22d096f commit 920ecd0

File tree

2 files changed

+7
-6
lines changed

2 files changed

+7
-6
lines changed

src/Core/Datatypes/ColorMap.cc

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ ColorMap* ColorMap::clone() const
5858

5959
namespace detail
6060
{
61-
61+
6262
class Rainbow : public ColorMapStrategy
6363
{
6464
public:
@@ -345,8 +345,9 @@ double ColorMap::getColorMapRescaleScale() const { return rescale_scale_; }
345345
double ColorMap::getColorMapRescaleShift() const { return rescale_shift_; }
346346

347347

348-
349-
ColorMap_OSP_helper::ColorMap_OSP_helper(const std::string name){
348+
//TODO: heavily refactor
349+
ColorMap_OSP_helper::ColorMap_OSP_helper(const std::string& name)
350+
{
350351
opacityList.push_back(0.5);
351352
opacityList.push_back(0.5);
352353
if(name.compare("Rainbow") == 0){

src/Core/Datatypes/ColorMap.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -118,14 +118,14 @@ namespace Datatypes {
118118
private:
119119
StandardColorMapFactory() = delete;
120120
};
121-
121+
122122
// colormap helper for ospray transfer function
123-
class ColorMap_OSP_helper
123+
class SCISHARE ColorMap_OSP_helper
124124
{
125125
public:
126126
std::vector<float> colorList;
127127
std::vector<float> opacityList;
128-
ColorMap_OSP_helper(const std::string name);
128+
explicit ColorMap_OSP_helper(const std::string& name);
129129
};
130130

131131
}}}

0 commit comments

Comments
 (0)