Commit 3bab4087 authored by James Kress's avatar James Kress

Adding delete and assignment oeprators to annotations.

parent e3ccd7f8
......@@ -66,6 +66,10 @@ public:
~AxisAnnotation2D();
AxisAnnotation2D(const AxisAnnotation2D&) = delete;
AxisAnnotation2D& operator=(const AxisAnnotation2D&) = delete;
void SetLogarithmic(bool l) { this->Logarithmic = l; }
void SetMoreOrLessTickAdjustment(int offset) { this->MoreOrLessTickAdjustment = offset; }
......
......@@ -61,6 +61,10 @@ public:
~AxisAnnotation3D();
AxisAnnotation3D(const AxisAnnotation3D&) = delete;
AxisAnnotation3D& operator=(const AxisAnnotation3D&) = delete;
VTKM_CONT
void SetMoreOrLessTickAdjustment(int offset) { this->MoreOrLessTickAdjustment = offset; }
......
......@@ -45,6 +45,8 @@ private:
public:
ColorLegendAnnotation();
~ColorLegendAnnotation();
ColorLegendAnnotation(const ColorLegendAnnotation&) = delete;
ColorLegendAnnotation& operator=(const ColorLegendAnnotation&) = delete;
void Clear();
void AddItem(const std::string& label, vtkm::rendering::Color color);
......
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