Commit e7813e24 authored by Jan Möbius's avatar Jan Möbius

Merge branch 'fix-clang4-warnings' into 'master'

Fix some clang++4 warnings + duplciateProperty bug

See merge request !8
parents 9fed59be 49d9092d
...@@ -65,20 +65,20 @@ public: ...@@ -65,20 +65,20 @@ public:
protected: protected:
virtual void visualizeFaceProp(bool _setDrawMode = true); void visualizeFaceProp(bool _setDrawMode = true) override;
virtual void visualizeEdgeProp(bool _setDrawMode = true); void visualizeEdgeProp(bool _setDrawMode = true) override;
virtual void visualizeHalfedgeProp(bool _setDrawMode = true); void visualizeHalfedgeProp(bool _setDrawMode = true) override;
virtual void visualizeVertexProp(bool _setDrawMode = true); void visualizeVertexProp(bool _setDrawMode = true) override;
virtual void removeProperty(); void removeProperty() override;
virtual void duplicateProperty(); void duplicateProperty() override;
virtual QString getPropertyText(unsigned int index); QString getPropertyText(unsigned int index) override;
virtual void setFacePropertyFromText(unsigned int index, QString text); void setFacePropertyFromText(unsigned int index, QString text) override;
virtual void setEdgePropertyFromText(unsigned int index, QString text); void setEdgePropertyFromText(unsigned int index, QString text) override;
virtual void setHalfedgePropertyFromText(unsigned int index, QString text); void setHalfedgePropertyFromText(unsigned int index, QString text) override;
virtual void setVertexPropertyFromText(unsigned int index, QString text); void setVertexPropertyFromText(unsigned int index, QString text) override;
}; };
......
...@@ -69,20 +69,20 @@ public: ...@@ -69,20 +69,20 @@ public:
virtual ~OMPropertyVisualizerDouble(){} virtual ~OMPropertyVisualizerDouble(){}
protected: protected:
virtual void visualizeFaceProp(bool _setDrawMode = true); void visualizeFaceProp(bool _setDrawMode = true) override;
virtual void visualizeEdgeProp(bool _setDrawMode = true); void visualizeEdgeProp(bool _setDrawMode = true) override;
virtual void visualizeHalfedgeProp(bool _setDrawMode = true); void visualizeHalfedgeProp(bool _setDrawMode = true) override;
virtual void visualizeVertexProp(bool _setDrawMode = true); void visualizeVertexProp(bool _setDrawMode = true) override;
virtual void removeProperty(); void removeProperty() override;
virtual void duplicateProperty(); void duplicateProperty() override;
virtual QString getPropertyText(unsigned int index); QString getPropertyText(unsigned int index) override;
virtual void setFacePropertyFromText(unsigned int index, QString text); void setFacePropertyFromText(unsigned int index, QString text) override;
virtual void setEdgePropertyFromText(unsigned int index, QString text); void setEdgePropertyFromText(unsigned int index, QString text) override;
virtual void setHalfedgePropertyFromText(unsigned int index, QString text); void setHalfedgePropertyFromText(unsigned int index, QString text) override;
virtual void setVertexPropertyFromText(unsigned int index, QString text); void setVertexPropertyFromText(unsigned int index, QString text) override;
std::unique_ptr<ACG::IColorCoder> buildColorCoder() override; std::unique_ptr<ACG::IColorCoder> buildColorCoder() override;
}; };
......
...@@ -66,25 +66,25 @@ public: ...@@ -66,25 +66,25 @@ public:
virtual ~OMPropertyVisualizerInteger(){} virtual ~OMPropertyVisualizerInteger(){}
protected: protected:
virtual void visualizeFaceProp(bool _setDrawMode = true); void visualizeFaceProp(bool _setDrawMode = true) override;
virtual void visualizeEdgeProp(bool _setDrawMode = true); void visualizeEdgeProp(bool _setDrawMode = true) override;
virtual void visualizeHalfedgeProp(bool _setDrawMode = true); void visualizeHalfedgeProp(bool _setDrawMode = true) override;
virtual void visualizeVertexProp(bool _setDrawMode = true); void visualizeVertexProp(bool _setDrawMode = true) override;
virtual void removeProperty(); void removeProperty() override;
virtual void duplicateProperty(); void duplicateProperty() override;
virtual T getValue(OpenMesh::FPropHandleT< T > prop, typename MeshT::FaceIter iter) { return OMPropertyVisualizer<MeshT>::mesh->property(prop, *iter) ; } virtual T getValue(OpenMesh::FPropHandleT< T > prop, typename MeshT::FaceIter iter) { return OMPropertyVisualizer<MeshT>::mesh->property(prop, *iter) ; }
virtual T getValue(OpenMesh::EPropHandleT< T > prop, typename MeshT::EdgeIter iter) { return OMPropertyVisualizer<MeshT>::mesh->property(prop, *iter) ; } virtual T getValue(OpenMesh::EPropHandleT< T > prop, typename MeshT::EdgeIter iter) { return OMPropertyVisualizer<MeshT>::mesh->property(prop, *iter) ; }
virtual T getValue(OpenMesh::HPropHandleT< T > prop, typename MeshT::HalfedgeIter iter) { return OMPropertyVisualizer<MeshT>::mesh->property(prop, *iter) ; } virtual T getValue(OpenMesh::HPropHandleT< T > prop, typename MeshT::HalfedgeIter iter) { return OMPropertyVisualizer<MeshT>::mesh->property(prop, *iter) ; }
virtual T getValue(OpenMesh::VPropHandleT< T > prop, typename MeshT::VertexIter iter) { return OMPropertyVisualizer<MeshT>::mesh->property(prop, *iter) ; } virtual T getValue(OpenMesh::VPropHandleT< T > prop, typename MeshT::VertexIter iter) { return OMPropertyVisualizer<MeshT>::mesh->property(prop, *iter) ; }
virtual QString getPropertyText(unsigned int index); QString getPropertyText(unsigned int index) override;
virtual void setFacePropertyFromText(unsigned int index, QString text); void setFacePropertyFromText(unsigned int index, QString text) override;
virtual void setEdgePropertyFromText(unsigned int index, QString text); void setEdgePropertyFromText(unsigned int index, QString text) override;
virtual void setHalfedgePropertyFromText(unsigned int index, QString text); void setHalfedgePropertyFromText(unsigned int index, QString text) override;
virtual void setVertexPropertyFromText(unsigned int index, QString text); void setVertexPropertyFromText(unsigned int index, QString text) override;
inline int strToT (QString str, int) { return this->strToInt(str); } inline int strToT (QString str, int) { return this->strToInt(str); }
inline unsigned int strToT (QString str, unsigned int) { return this->strToUInt(str); } inline unsigned int strToT (QString str, unsigned int) { return this->strToUInt(str); }
......
...@@ -69,20 +69,20 @@ public: ...@@ -69,20 +69,20 @@ public:
protected: protected:
virtual void visualizeFaceProp(bool _setDrawMode = true); void visualizeFaceProp(bool _setDrawMode = true) override;
virtual void visualizeEdgeProp(bool _setDrawMode = true); void visualizeEdgeProp(bool _setDrawMode = true) override;
virtual void visualizeHalfedgeProp(bool _setDrawMode = true); void visualizeHalfedgeProp(bool _setDrawMode = true) override;
virtual void visualizeVertexProp(bool _setDrawMode = true); void visualizeVertexProp(bool _setDrawMode = true) override;
QString getPropertyText(unsigned int index); QString getPropertyText(unsigned int index) override;
virtual void setFacePropertyFromText(unsigned int index, QString text); void setFacePropertyFromText(unsigned int index, QString text) override;
virtual void setEdgePropertyFromText(unsigned int index, QString text); void setEdgePropertyFromText(unsigned int index, QString text) override;
virtual void setHalfedgePropertyFromText(unsigned int index, QString text); void setHalfedgePropertyFromText(unsigned int index, QString text) override;
virtual void setVertexPropertyFromText(unsigned int index, QString text); void setVertexPropertyFromText(unsigned int index, QString text) override;
virtual void removeProperty(); void removeProperty() override;
virtual void duplicateProperty(); void duplicateProperty() override;
}; };
......
...@@ -69,14 +69,14 @@ public: ...@@ -69,14 +69,14 @@ public:
OMPropertyVisualizerVector(MeshT* _mesh, int _objectID, PropertyInfo _propertyInfo); OMPropertyVisualizerVector(MeshT* _mesh, int _objectID, PropertyInfo _propertyInfo);
virtual ~OMPropertyVisualizerVector(){clear();} virtual ~OMPropertyVisualizerVector(){clear();}
virtual void clear(); virtual void clear() override;
protected: protected:
virtual void visualizeFaceProp(bool _setDrawMode = true); void visualizeFaceProp(bool _setDrawMode = true) override;
virtual void visualizeEdgeProp(bool _setDrawMode = true); void visualizeEdgeProp(bool _setDrawMode = true) override;
virtual void visualizeHalfedgeProp(bool _setDrawMode = true); void visualizeHalfedgeProp(bool _setDrawMode = true) override;
virtual void visualizeVertexProp(bool _setDrawMode = true); void visualizeVertexProp(bool _setDrawMode = true) override;
virtual void visualizeFacePropOnEdges(); virtual void visualizeFacePropOnEdges();
...@@ -85,15 +85,15 @@ protected: ...@@ -85,15 +85,15 @@ protected:
virtual void visualizeHalfedgePropAsStrokes(); virtual void visualizeHalfedgePropAsStrokes();
virtual void visualizeVertexPropAsStrokes(); virtual void visualizeVertexPropAsStrokes();
virtual void removeProperty(); void removeProperty() override;
virtual void duplicateProperty(); void duplicateProperty() override;
virtual QString getPropertyText(unsigned int index); QString getPropertyText(unsigned int index) override;
virtual void setFacePropertyFromText(unsigned int index, QString text); void setFacePropertyFromText(unsigned int index, QString text) override;
virtual void setEdgePropertyFromText(unsigned int index, QString text); void setEdgePropertyFromText(unsigned int index, QString text) override;
virtual void setHalfedgePropertyFromText(unsigned int index, QString text); void setHalfedgePropertyFromText(unsigned int index, QString text) override;
virtual void setVertexPropertyFromText(unsigned int index, QString text); void setVertexPropertyFromText(unsigned int index, QString text) override;
ACG::SceneGraph::LineNode* lineNode; ACG::SceneGraph::LineNode* lineNode;
......
...@@ -70,14 +70,14 @@ public: ...@@ -70,14 +70,14 @@ public:
OMPropertyVisualizerVector2(MeshT* _mesh, int _objectID, PropertyInfo _propertyInfo); OMPropertyVisualizerVector2(MeshT* _mesh, int _objectID, PropertyInfo _propertyInfo);
virtual ~OMPropertyVisualizerVector2(){clear();} virtual ~OMPropertyVisualizerVector2(){clear();}
virtual void clear(); void clear() override;
protected: protected:
virtual void visualizeFaceProp(bool _setDrawMode = true); void visualizeFaceProp(bool _setDrawMode = true) override;
virtual void visualizeEdgeProp(bool _setDrawMode = true); void visualizeEdgeProp(bool _setDrawMode = true) override;
virtual void visualizeHalfedgeProp(bool _setDrawMode = true); void visualizeHalfedgeProp(bool _setDrawMode = true) override;
virtual void visualizeVertexProp(bool _setDrawMode = true); void visualizeVertexProp(bool _setDrawMode = true) override;
virtual void visualizeFacePropOnEdges(); virtual void visualizeFacePropOnEdges();
...@@ -86,15 +86,15 @@ protected: ...@@ -86,15 +86,15 @@ protected:
virtual void visualizeHalfedgePropAsStrokes(); virtual void visualizeHalfedgePropAsStrokes();
virtual void visualizeVertexPropAsStrokes(); virtual void visualizeVertexPropAsStrokes();
virtual void removeProperty(); void removeProperty() override;
virtual void duplicateProperty(); void duplicateProperty() override;
virtual QString getPropertyText(unsigned int index); QString getPropertyText(unsigned int index) override;
virtual void setFacePropertyFromText(unsigned int index, QString text); void setFacePropertyFromText(unsigned int index, QString text) override;
virtual void setEdgePropertyFromText(unsigned int index, QString text); void setEdgePropertyFromText(unsigned int index, QString text) override;
virtual void setHalfedgePropertyFromText(unsigned int index, QString text); void setHalfedgePropertyFromText(unsigned int index, QString text) override;
virtual void setVertexPropertyFromText(unsigned int index, QString text); void setVertexPropertyFromText(unsigned int index, QString text) override;
ACG::SceneGraph::LineNode* lineNode; ACG::SceneGraph::LineNode* lineNode;
}; };
......
...@@ -69,21 +69,21 @@ public: ...@@ -69,21 +69,21 @@ public:
OMPropertyVisualizerVectorFieldDifference(MeshT* _mesh, int _objectID, PropertyInfo _propertyInfo1, PropertyInfo _propertyInfo2); OMPropertyVisualizerVectorFieldDifference(MeshT* _mesh, int _objectID, PropertyInfo _propertyInfo1, PropertyInfo _propertyInfo2);
virtual ~OMPropertyVisualizerVectorFieldDifference(){} virtual ~OMPropertyVisualizerVectorFieldDifference(){}
virtual QString getName() { return QObject::tr("Combination of %1 and %2").arg(PropertyVisualizer::propertyInfo.propName().c_str()).arg(propertyInfo2.propName().c_str()); } QString getName() override { return QObject::tr("Combination of %1 and %2").arg(PropertyVisualizer::propertyInfo.propName().c_str()).arg(propertyInfo2.propName().c_str()); }
protected: protected:
virtual void visualizeFaceProp(bool _setDrawMode = true); void visualizeFaceProp(bool _setDrawMode = true) override;
virtual void visualizeEdgeProp(bool _setDrawMode = true); void visualizeEdgeProp(bool _setDrawMode = true) override;
virtual void visualizeHalfedgeProp(bool _setDrawMode = true); void visualizeHalfedgeProp(bool _setDrawMode = true) override;
virtual void visualizeVertexProp(bool _setDrawMode = true); void visualizeVertexProp(bool _setDrawMode = true) override;
virtual void removeProperty(){} //no need to delete a property void removeProperty() override {} //no need to delete a property
virtual void duplciateProperty(){ emit OMPropertyVisualizer<MeshT>::log("combined properties cannot be duplicated");} void duplicateProperty() override { emit OMPropertyVisualizer<MeshT>::log("combined properties cannot be duplicated");}
virtual QString getPropertyText(unsigned int index); QString getPropertyText(unsigned int index) override;
private: private:
PropertyInfo propertyInfo2; PropertyInfo propertyInfo2;
......
...@@ -67,24 +67,24 @@ protected: ...@@ -67,24 +67,24 @@ protected:
template <typename PropType, typename EntityIterator> template <typename PropType, typename EntityIterator>
void visualizeProp(PropType prop, EntityIterator e_begin, EntityIterator e_end); void visualizeProp(PropType prop, EntityIterator e_begin, EntityIterator e_end);
virtual void duplicateProperty(); void duplicateProperty() override;
virtual void visualizeFaceProp(bool _setDrawMode = true); void visualizeFaceProp(bool _setDrawMode = true) override;
virtual void visualizeEdgeProp(bool _setDrawMode = true); void visualizeEdgeProp(bool _setDrawMode = true) override;
virtual void visualizeHalfedgeProp(bool _setDrawMode = true); void visualizeHalfedgeProp(bool _setDrawMode = true) override;
virtual void visualizeVertexProp(bool _setDrawMode = true); void visualizeVertexProp(bool _setDrawMode = true) override;
virtual void visualizeCellProp(bool _setDrawMode = true); void visualizeCellProp(bool _setDrawMode = true) override;
virtual void visualizeHalffaceProp(bool _setDrawMode = true); void visualizeHalffaceProp(bool _setDrawMode = true) override;
virtual void setCellPropertyFromText(unsigned int index, QString text); void setCellPropertyFromText(unsigned int index, QString text) override;
virtual void setFacePropertyFromText(unsigned int index, QString text); void setFacePropertyFromText(unsigned int index, QString text) override;
virtual void setHalffacePropertyFromText(unsigned int index, QString text); void setHalffacePropertyFromText(unsigned int index, QString text) override;
virtual void setEdgePropertyFromText(unsigned int index, QString text); void setEdgePropertyFromText(unsigned int index, QString text) override;
virtual void setHalfedgePropertyFromText(unsigned int index, QString text); void setHalfedgePropertyFromText(unsigned int index, QString text) override;
virtual void setVertexPropertyFromText(unsigned int index, QString text); void setVertexPropertyFromText(unsigned int index, QString text) override;
virtual QString getPropertyText(unsigned int index); QString getPropertyText(unsigned int index) override;
}; };
#if defined(INCLUDE_TEMPLATES) && !defined(OVM_PROPERTY_VISUALIZER_BOOLEAN_CC) #if defined(INCLUDE_TEMPLATES) && !defined(OVM_PROPERTY_VISUALIZER_BOOLEAN_CC)
......
...@@ -71,23 +71,23 @@ public: ...@@ -71,23 +71,23 @@ public:
protected: protected:
template <typename PropType, typename EntityIterator> template <typename PropType, typename EntityIterator>
void visualizeProp(PropType prop, EntityIterator e_begin, EntityIterator e_end); void visualizeProp(PropType prop, EntityIterator e_begin, EntityIterator e_end);
virtual void duplicateProperty(); void duplicateProperty() override;
virtual void visualizeFaceProp(bool _setDrawMode = true); void visualizeFaceProp(bool _setDrawMode = true) override;
virtual void visualizeEdgeProp(bool _setDrawMode = true); void visualizeEdgeProp(bool _setDrawMode = true) override;
virtual void visualizeHalfedgeProp(bool _setDrawMode = true); void visualizeHalfedgeProp(bool _setDrawMode = true) override;
virtual void visualizeVertexProp(bool _setDrawMode = true); void visualizeVertexProp(bool _setDrawMode = true) override;
virtual void visualizeCellProp(bool _setDrawMode = true); void visualizeCellProp(bool _setDrawMode = true) override;
virtual void visualizeHalffaceProp(bool _setDrawMode = true); void visualizeHalffaceProp(bool _setDrawMode = true) override;
virtual QString getPropertyText(unsigned int index); QString getPropertyText(unsigned int index) override;
virtual void setCellPropertyFromText(unsigned int index, QString text); void setCellPropertyFromText(unsigned int index, QString text) override;
virtual void setFacePropertyFromText(unsigned int index, QString text); void setFacePropertyFromText(unsigned int index, QString text) override;
virtual void setHalffacePropertyFromText(unsigned int index, QString text); void setHalffacePropertyFromText(unsigned int index, QString text) override;
virtual void setEdgePropertyFromText(unsigned int index, QString text); void setEdgePropertyFromText(unsigned int index, QString text) override;
virtual void setHalfedgePropertyFromText(unsigned int index, QString text); void setHalfedgePropertyFromText(unsigned int index, QString text) override;
virtual void setVertexPropertyFromText(unsigned int index, QString text); void setVertexPropertyFromText(unsigned int index, QString text) override;
std::unique_ptr<ACG::IColorCoder> buildColorCoder() override; std::unique_ptr<ACG::IColorCoder> buildColorCoder() override;
}; };
......
...@@ -69,23 +69,23 @@ public: ...@@ -69,23 +69,23 @@ public:
protected: protected:
template <typename PropType, typename EntityIterator> template <typename PropType, typename EntityIterator>
void visualizeProp(PropType prop, EntityIterator e_begin, EntityIterator e_end); void visualizeProp(PropType prop, EntityIterator e_begin, EntityIterator e_end);
virtual void duplicateProperty(); void duplicateProperty() override;
virtual void visualizeFaceProp(bool _setDrawMode = true); void visualizeFaceProp(bool _setDrawMode = true) override;
virtual void visualizeEdgeProp(bool _setDrawMode = true); void visualizeEdgeProp(bool _setDrawMode = true) override;
virtual void visualizeHalfedgeProp(bool _setDrawMode = true); void visualizeHalfedgeProp(bool _setDrawMode = true) override;
virtual void visualizeVertexProp(bool _setDrawMode = true); void visualizeVertexProp(bool _setDrawMode = true) override;
virtual void visualizeCellProp(bool _setDrawMode = true); void visualizeCellProp(bool _setDrawMode = true) override;
virtual void visualizeHalffaceProp(bool _setDrawMode = true); void visualizeHalffaceProp(bool _setDrawMode = true) override;
virtual QString getPropertyText(unsigned int index); QString getPropertyText(unsigned int index) override;
virtual void setCellPropertyFromText(unsigned int index, QString text); void setCellPropertyFromText(unsigned int index, QString text) override;
virtual void setFacePropertyFromText(unsigned int index, QString text); void setFacePropertyFromText(unsigned int index, QString text) override;
virtual void setHalffacePropertyFromText(unsigned int index, QString text); void setHalffacePropertyFromText(unsigned int index, QString text) override;
virtual void setEdgePropertyFromText(unsigned int index, QString text); void setEdgePropertyFromText(unsigned int index, QString text) override;
virtual void setHalfedgePropertyFromText(unsigned int index, QString text); void setHalfedgePropertyFromText(unsigned int index, QString text) override;
virtual void setVertexPropertyFromText(unsigned int index, QString text); void setVertexPropertyFromText(unsigned int index, QString text) override;
std::unique_ptr<ACG::IColorCoder> buildColorCoder() override; std::unique_ptr<ACG::IColorCoder> buildColorCoder() override;
......
...@@ -69,13 +69,13 @@ public: ...@@ -69,13 +69,13 @@ public:
OVMPropertyVisualizerVector(MeshT* _mesh, int objectID, PropertyInfo _propertyInfo); OVMPropertyVisualizerVector(MeshT* _mesh, int objectID, PropertyInfo _propertyInfo);
virtual ~OVMPropertyVisualizerVector(){ clear(); } virtual ~OVMPropertyVisualizerVector(){ clear(); }
virtual void clear(); void clear() override;
protected: protected:
template<typename PropType, typename EntityIterator> template<typename PropType, typename EntityIterator>
void visualizeVectorAsColorForEntity(PropType prop, EntityIterator e_begin, EntityIterator e_end, bool normalized); void visualizeVectorAsColorForEntity(PropType prop, EntityIterator e_begin, EntityIterator e_end, bool normalized);
virtual void duplicateProperty(); void duplicateProperty() override;
virtual void visualizeFacePropAsStrokes(); virtual void visualizeFacePropAsStrokes();
virtual void visualizeEdgePropAsStrokes(); virtual void visualizeEdgePropAsStrokes();
...@@ -84,21 +84,21 @@ protected: ...@@ -84,21 +84,21 @@ protected:
virtual void visualizeCellPropAsStrokes(); virtual void visualizeCellPropAsStrokes();
virtual void visualizeHalffacePropAsStrokes(); virtual void visualizeHalffacePropAsStrokes();
virtual void visualizeFaceProp(bool _setDrawMode = true); void visualizeFaceProp(bool _setDrawMode = true) override;
virtual void visualizeEdgeProp(bool _setDrawMode = true); void visualizeEdgeProp(bool _setDrawMode = true) override;
virtual void visualizeHalfedgeProp(bool _setDrawMode = true); void visualizeHalfedgeProp(bool _setDrawMode = true) override;
virtual void visualizeVertexProp(bool _setDrawMode = true); void visualizeVertexProp(bool _setDrawMode = true) override;
virtual void visualizeCellProp(bool _setDrawMode = true); void visualizeCellProp(bool _setDrawMode = true) override;
virtual void visualizeHalffaceProp(bool _setDrawMode = true); void visualizeHalffaceProp(bool _setDrawMode = true) override;
virtual QString getPropertyText(unsigned int index); QString getPropertyText(unsigned int index) override;
virtual void setCellPropertyFromText(unsigned int index, QString text); void setCellPropertyFromText(unsigned int index, QString text) override;
virtual void setFacePropertyFromText(unsigned int index, QString text); void setFacePropertyFromText(unsigned int index, QString text) override;
virtual void setHalffacePropertyFromText(unsigned int index, QString text); void setHalffacePropertyFromText(unsigned int index, QString text) override;
virtual void setEdgePropertyFromText(unsigned int index, QString text); void setEdgePropertyFromText(unsigned int index, QString text) override;
virtual void setHalfedgePropertyFromText(unsigned int index, QString text); void setHalfedgePropertyFromText(unsigned int index, QString text) override;
virtual void setVertexPropertyFromText(unsigned int index, QString text); void setVertexPropertyFromText(unsigned int index, QString text) override;
ACG::SceneGraph::LineNode* lineNode; ACG::SceneGraph::LineNode* lineNode;
......
...@@ -70,22 +70,22 @@ public: ...@@ -70,22 +70,22 @@ public:
virtual ~OVMPropertyVisualizerVectorFieldDifference(){} virtual ~OVMPropertyVisualizerVectorFieldDifference(){}
virtual QString getName() { return QObject::tr("Combination of %1 and %2").arg(PropertyVisualizer::propertyInfo.propName().c_str()).arg(propertyInfo2.propName().c_str()); } QString getName() override { return QObject::tr("Combination of %1 and %2").arg(PropertyVisualizer::propertyInfo.propName().c_str()).arg(propertyInfo2.propName().c_str()); }
protected: protected:
virtual void visualizeFaceProp(bool _setDrawMode = true); void visualizeFaceProp(bool _setDrawMode = true) override;
virtual void visualizeEdgeProp(bool _setDrawMode = true); void visualizeEdgeProp(bool _setDrawMode = true) override;
virtual void visualizeHalfedgeProp(bool _setDrawMode = true); void visualizeHalfedgeProp(bool _setDrawMode = true) override;
virtual void visualizeVertexProp(bool _setDrawMode = true); void visualizeVertexProp(bool _setDrawMode = true) override;
virtual void visualizeCellProp(bool _setDrawMode = true); void visualizeCellProp(bool _setDrawMode = true) override;
virtual void visualizeHalffaceProp(bool _setDrawMode = true); void visualizeHalffaceProp(bool _setDrawMode = true) override;