Skip to content
Snippets Groups Projects
Commit caefa12c authored by Tom Fischer's avatar Tom Fischer
Browse files

[A/DE/VtkVis] Fix warnings.

parent 62fed601
No related branches found
No related tags found
No related merge requests found
Showing
with 19 additions and 19 deletions
......@@ -36,7 +36,7 @@ public:
void PrintSelf(ostream& os, vtkIndent indent) override;
/// @brief Sets user properties.
void SetUserProperty(QString name, QVariant value)
void SetUserProperty(QString name, QVariant value) override
{
Q_UNUSED(name);
Q_UNUSED(value);
......
......@@ -36,7 +36,7 @@ public:
/// Sets the raster/image to be used as a texture map
void SetRaster(vtkImageAlgorithm *img, double x0, double y0, double scalingFactor);
virtual void SetUserProperty(QString name, QVariant value);
virtual void SetUserProperty(QString name, QVariant value) override;
protected:
VtkBGImageSource();
......
......@@ -50,7 +50,7 @@ public:
virtual unsigned long GetMTime();
/// @brief Sets user properties.
void SetUserProperty(QString name, QVariant value)
void SetUserProperty(QString name, QVariant value) override
{
Q_UNUSED(name);
Q_UNUSED(value);
......
......@@ -27,7 +27,7 @@ public:
virtual void init();
virtual void SetUserProperty(QString name, QVariant value);
virtual void SetUserProperty(QString name, QVariant value) override;
protected:
};
......@@ -25,7 +25,7 @@ public:
virtual void init();
virtual void SetUserProperty(QString name, QVariant value);
virtual void SetUserProperty(QString name, QVariant value) override;
virtual void SetUserVectorProperty(QString name, QList<QVariant> values);
......
......@@ -27,7 +27,7 @@ public:
virtual void init();
virtual void SetUserProperty(QString name, QVariant value);
virtual void SetUserProperty(QString name, QVariant value) override;
void SetUserVectorProperty( QString name, QList<QVariant> values );
......
......@@ -29,7 +29,7 @@ public:
virtual void init();
/// @brief Sets user properties.
void SetUserProperty(QString name, QVariant value)
void SetUserProperty(QString name, QVariant value) override
{
Q_UNUSED(name);
Q_UNUSED(value);
......
......@@ -29,7 +29,7 @@ public:
virtual void init();
virtual void SetUserProperty(QString name, QVariant value);
virtual void SetUserProperty(QString name, QVariant value) override;
void SetUserVectorProperty( QString name, QList<QVariant> values );
......
......@@ -25,7 +25,7 @@ public:
virtual void init();
virtual void SetUserProperty(QString name, QVariant value);
virtual void SetUserProperty(QString name, QVariant value) override;
private:
......
......@@ -27,7 +27,7 @@ public:
virtual void init();
virtual void SetUserProperty(QString name, QVariant value);
virtual void SetUserProperty(QString name, QVariant value) override;
private:
vtkSphereSource* _glyphSource;
......
......@@ -27,7 +27,7 @@ public:
virtual void init();
virtual void SetUserProperty(QString name, QVariant value);
virtual void SetUserProperty(QString name, QVariant value) override;
private:
};
......@@ -27,7 +27,7 @@ public:
virtual void init();
virtual void SetUserProperty(QString name, QVariant value);
virtual void SetUserProperty(QString name, QVariant value) override;
void SetUserVectorProperty( QString name, QList<QVariant> values );
......
......@@ -56,7 +56,7 @@ public:
/// @brief Returns the spacing between two pixels.
double getSpacing() const;
virtual void SetUserProperty(QString name, QVariant value);
virtual void SetUserProperty(QString name, QVariant value) override;
protected:
/// @brief Constructor.
......
......@@ -39,7 +39,7 @@ public:
ogsUserPropertyMacro(LengthScaleFactor,double);
/// @brief Sets a user property.
virtual void SetUserProperty(QString name, QVariant value)
virtual void SetUserProperty(QString name, QVariant value) override
{
if (name.compare("LengthScaleFactor") == 0)
SetLengthScaleFactor(value.toDouble());
......
......@@ -39,7 +39,7 @@ public:
/// Prints its data on a stream.
void PrintSelf(ostream& os, vtkIndent indent) override;
virtual void SetUserProperty(QString name, QVariant value);
virtual void SetUserProperty(QString name, QVariant value) override;
protected:
VtkPointsSource();
......
......@@ -42,7 +42,7 @@ public:
/// Prints its data on a stream.
void PrintSelf(ostream& os, vtkIndent indent) override;
virtual void SetUserProperty(QString name, QVariant value);
virtual void SetUserProperty(QString name, QVariant value) override;
protected:
VtkPolylinesSource();
......
......@@ -50,7 +50,7 @@ public:
/// Prints its data on a stream.
void PrintSelf(ostream& os, vtkIndent indent) override;
virtual void SetUserProperty(QString name, QVariant value);
virtual void SetUserProperty(QString name, QVariant value) override;
protected:
VtkStationSource();
......
......@@ -43,7 +43,7 @@ public:
*/
//ogsUserPropertyMacro(ColorBySurface,bool);
virtual void SetUserProperty(QString name, QVariant value);
virtual void SetUserProperty(QString name, QVariant value) override;
protected:
VtkSurfacesSource();
......
......@@ -48,7 +48,7 @@ public:
/// Sets the raster/image to be used as a texture map
void SetRaster(vtkImageAlgorithm* img, double x0, double y0, double scalingFactor);
virtual void SetUserProperty(QString name, QVariant value);
virtual void SetUserProperty(QString name, QVariant value) override;
protected:
VtkTextureOnSurfaceFilter();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment