44#ifndef OM_PROPERTY_VISUALIZER_INTEGER_HH
45#define OM_PROPERTY_VISUALIZER_INTEGER_HH
47#include "OMPropertyVisualizer.hh"
49#include "Widgets/IntegerWidget.hh"
51#include <ACG/Utils/HuePartitioningColors.hh>
55template <
typename MeshT,
typename T>
63 void visualizeFaceProp(
bool _setDrawMode =
true)
override;
64 void visualizeEdgeProp(
bool _setDrawMode =
true)
override;
65 void visualizeHalfedgeProp(
bool _setDrawMode =
true)
override;
66 void visualizeVertexProp(
bool _setDrawMode =
true)
override;
78 void setFacePropertyFromText(
unsigned int index, QString text)
override;
79 void setEdgePropertyFromText(
unsigned int index, QString text)
override;
80 void setHalfedgePropertyFromText(
unsigned int index, QString text)
override;
81 void setVertexPropertyFromText(
unsigned int index, QString text)
override;
83 inline int strToT (QString str,
int) {
return this->strToInt(str); }
84 inline unsigned int strToT (QString str,
unsigned int) {
return this->strToUInt(str); }
85 inline QString TToStr (
int i) {
return this->intToStr(i); }
86 inline QString TToStr (
unsigned int i) {
return this->uintToStr(i); }
95#if defined(INCLUDE_TEMPLATES) && !defined(OM_PROPERTY_VISUALIZER_INTEGER_CC)
96#include "OMPropertyVisualizerIntegerT_impl.hh"
void duplicateProperty() override
Duplicates the property.
void removeProperty() override
Removes the property.
QString getPropertyText(unsigned int index) override
Returns the value of a property in text form.
Cellection of information about a property.