50 #ifdef ENABLE_OPENVOLUMEMESH_SUPPORT
52 #ifndef OVM_PROPERTY_VISUALIZER_DOUBLE_HH
53 #define OVM_PROPERTY_VISUALIZER_DOUBLE_HH
55 #include "OVMPropertyVisualizer.hh"
57 #include "Widgets/DoubleWidget.hh"
61 #include <ACG/Utils/ColorCoder.hh>
67 template <
typename MeshT>
68 class OVMPropertyVisualizerDouble:
public OVMPropertyVisualizer<MeshT>{
71 OVMPropertyVisualizerDouble(MeshT* _mesh,
int objectID,
PropertyInfo _propertyInfo);
72 virtual ~OVMPropertyVisualizerDouble(){}
76 template <
typename PropType,
typename EntityIterator>
77 void visualizeProp(PropType prop, EntityIterator e_begin, EntityIterator e_end);
78 virtual void duplicateProperty();
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);
87 virtual QString getPropertyText(
unsigned int index);
89 virtual void setCellPropertyFromText(
unsigned int index, QString text);
90 virtual void setFacePropertyFromText(
unsigned int index, QString text);
91 virtual void setHalffacePropertyFromText(
unsigned int index, QString text);
92 virtual void setEdgePropertyFromText(
unsigned int index, QString text);
93 virtual void setHalfedgePropertyFromText(
unsigned int index, QString text);
94 virtual void setVertexPropertyFromText(
unsigned int index, QString text);
97 #if defined(INCLUDE_TEMPLATES) && !defined(OVM_PROPERTY_VISUALIZER_DOUBLE_CC)
98 #include "OVMPropertyVisualizerDoubleT.cc"
Cellection of information about a property.