50 #ifndef OM_PROPERTY_VISUALIZER_INTEGER_HH
51 #define OM_PROPERTY_VISUALIZER_INTEGER_HH
53 #include "OMPropertyVisualizer.hh"
55 #include "Widgets/IntegerWidget.hh"
57 #include <ACG/Utils/HuePartitioningColors.hh>
61 template <
typename MeshT,
typename T>
69 virtual void visualizeFaceProp(
bool _setDrawMode =
true);
70 virtual void visualizeEdgeProp(
bool _setDrawMode =
true);
71 virtual void visualizeHalfedgeProp(
bool _setDrawMode =
true);
72 virtual void visualizeVertexProp(
bool _setDrawMode =
true);
84 virtual void setFacePropertyFromText(
unsigned int index, QString text);
85 virtual void setEdgePropertyFromText(
unsigned int index, QString text);
86 virtual void setHalfedgePropertyFromText(
unsigned int index, QString text);
87 virtual void setVertexPropertyFromText(
unsigned int index, QString text);
89 inline int strToT (QString str,
int) {
return this->strToInt(str); }
90 inline unsigned int strToT (QString str,
unsigned int) {
return this->strToUInt(str); }
91 inline QString TToStr (
int i) {
return this->intToStr(i); }
92 inline QString TToStr (
unsigned int i) {
return this->uintToStr(i); }
101 #if defined(INCLUDE_TEMPLATES) && !defined(OM_PROPERTY_VISUALIZER_INTEGER_CC)
102 #include "OMPropertyVisualizerIntegerT.cc"
virtual void removeProperty()
Removes the property.
virtual QString getPropertyText(unsigned int index)
Returns the value of a property in text form.
virtual void duplicateProperty()
Duplicates the property.
Cellection of information about a property.