File tree Expand file tree Collapse file tree 2 files changed +7
-6
lines changed
Expand file tree Collapse file tree 2 files changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -58,7 +58,7 @@ ColorMap* ColorMap::clone() const
5858
5959namespace detail
6060{
61-
61+
6262 class Rainbow : public ColorMapStrategy
6363 {
6464 public:
@@ -345,8 +345,9 @@ double ColorMap::getColorMapRescaleScale() const { return rescale_scale_; }
345345double 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 ){
Original file line number Diff line number Diff 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}}}
You can’t perform that action at this time.
0 commit comments