44 #ifndef OVM_PROPERTY_VISUALIZER_DOUBLE_HH 45 #define OVM_PROPERTY_VISUALIZER_DOUBLE_HH 47 #include "OVMPropertyVisualizer.hh" 49 #include "Widgets/DoubleWidget.hh" 53 #include <ACG/Utils/IColorCoder.hh> 58 template <
typename MeshT>
66 template <
typename PropType,
typename HandleIterable>
67 void visualizeProp(PropType prop, HandleIterable handles);
70 void visualizeFaceProp(
bool _setDrawMode =
true)
override;
71 void visualizeEdgeProp(
bool _setDrawMode =
true)
override;
72 void visualizeHalfedgeProp(
bool _setDrawMode =
true)
override;
73 void visualizeVertexProp(
bool _setDrawMode =
true)
override;
74 void visualizeCellProp(
bool _setDrawMode =
true)
override;
75 void visualizeHalffaceProp(
bool _setDrawMode =
true)
override;
79 void setCellPropertyFromText(
unsigned int index, QString text)
override;
80 void setFacePropertyFromText(
unsigned int index, QString text)
override;
81 void setHalffacePropertyFromText(
unsigned int index, QString text)
override;
82 void setEdgePropertyFromText(
unsigned int index, QString text)
override;
83 void setHalfedgePropertyFromText(
unsigned int index, QString text)
override;
84 void setVertexPropertyFromText(
unsigned int index, QString text)
override;
86 std::unique_ptr<ACG::IColorCoder> buildColorCoder()
override;
89 #if defined(INCLUDE_TEMPLATES) && !defined(OVM_PROPERTY_VISUALIZER_DOUBLE_CC) 90 #include "OVMPropertyVisualizerDoubleT_impl.hh"
Cellection of information about a property.
QString getPropertyText(unsigned int index) override
Returns the value of a property in text form.
void duplicateProperty() override
Duplicates a property.