50 #ifdef ENABLE_OPENVOLUMEMESH_SUPPORT
52 #ifndef OVM_PROPERTY_VISUALIZER_VECTOR_FIELD_DIFFERENCE_HH
53 #define OVM_PROPERTY_VISUALIZER_VECTOR_FIELD_DIFFERENCE_HH
55 #include "OVMPropertyVisualizer.hh"
57 #include <ACG/Scenegraph/LineNode.hh>
60 #include "Widgets/VectorFieldDifferenceWidget.hh"
67 template <
typename MeshT>
68 class OVMPropertyVisualizerVectorFieldDifference:
public OVMPropertyVisualizer<MeshT>{
71 OVMPropertyVisualizerVectorFieldDifference(MeshT* _mesh,
int objectID,
PropertyInfo _propertyInfo1,
PropertyInfo _propertyInfo2);
73 virtual ~OVMPropertyVisualizerVectorFieldDifference(){}
75 virtual QString getName() {
return QObject::tr(
"Combination of %1 and %2").arg(PropertyVisualizer::propertyInfo.propName().c_str()).arg(propertyInfo2.propName().c_str()); }
80 virtual void visualizeFaceProp(
bool _setDrawMode =
true);
81 virtual void visualizeEdgeProp(
bool _setDrawMode =
true);
82 virtual void visualizeHalfedgeProp(
bool _setDrawMode =
true);
83 virtual void visualizeVertexProp(
bool _setDrawMode =
true);
84 virtual void visualizeCellProp(
bool _setDrawMode =
true);
85 virtual void visualizeHalffaceProp(
bool _setDrawMode =
true);
88 virtual void duplciateProperty(){ emit OVMPropertyVisualizer<MeshT>::log(
"combined properties cannot be duplicated");}
90 virtual QString getPropertyText(
unsigned int index) {
return ""; };
97 #if defined(INCLUDE_TEMPLATES) && !defined(OVM_PROPERTY_VISUALIZER_VECTOR_FIELD_DIFFERENCE_CC)
98 #include "OVMPropertyVisualizerVectorFieldDifferenceT.cc"
Cellection of information about a property.