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>
70 virtual void visualizeFaceProp(
bool _setDrawMode =
true);
71 virtual void visualizeEdgeProp(
bool _setDrawMode =
true);
72 virtual void visualizeHalfedgeProp(
bool _setDrawMode =
true);
73 virtual void visualizeVertexProp(
bool _setDrawMode =
true);
85 virtual void setFacePropertyFromText(
unsigned int index, QString text);
86 virtual void setEdgePropertyFromText(
unsigned int index, QString text);
87 virtual void setHalfedgePropertyFromText(
unsigned int index, QString text);
88 virtual void setVertexPropertyFromText(
unsigned int index, QString text);
90 inline int strToT (QString str,
int) {
return this->strToInt(str); }
91 inline unsigned int strToT (QString str,
unsigned int) {
return this->strToUInt(str); }
92 inline QString TToStr (
int i) {
return this->intToStr(i); }
93 inline QString TToStr (
unsigned int i) {
return this->uintToStr(i); }
102 #if defined(INCLUDE_TEMPLATES) && !defined(OM_PROPERTY_VISUALIZER_INTEGER_CC)
103 #include "OMPropertyVisualizerIntegerT.cc"
virtual void duplicateProperty()
Duplicates the property.
virtual void removeProperty()
Removes the property.
virtual QString getPropertyText(unsigned int index)
Returns the value of a property in text form.
Cellection of information about a property.