50 #ifdef ENABLE_OPENVOLUMEMESH_SUPPORT
52 #ifndef OVM_PROPERTY_VISUALIZER_INTEGER_HH
53 #define OVM_PROPERTY_VISUALIZER_INTEGER_HH
55 #include "OVMPropertyVisualizer.hh"
57 #include "Widgets/IntegerWidget.hh"
59 #include <ACG/Utils/HuePartitioningColors.hh>
63 template <
typename MeshT,
typename T>
64 class OVMPropertyVisualizerInteger:
public OVMPropertyVisualizer<MeshT>{
67 OVMPropertyVisualizerInteger(MeshT* _mesh,
int objectID,
PropertyInfo _propertyInfo,
bool isUnsigned);
68 virtual ~OVMPropertyVisualizerInteger(){}
72 template <
typename PropType,
typename EntityIterator>
73 void visualizeProp(PropType prop, EntityIterator e_begin, EntityIterator e_end);
74 virtual void duplicateProperty();
76 virtual void visualizeFaceProp(
bool _setDrawMode =
true);
77 virtual void visualizeEdgeProp(
bool _setDrawMode =
true);
78 virtual void visualizeHalfedgeProp(
bool _setDrawMode =
true);
79 virtual void visualizeVertexProp(
bool _setDrawMode =
true);
80 virtual void visualizeCellProp(
bool _setDrawMode =
true);
81 virtual void visualizeHalffaceProp(
bool _setDrawMode =
true);
83 virtual QString getPropertyText(
unsigned int index);
85 virtual void setCellPropertyFromText(
unsigned int index, QString text);
86 virtual void setFacePropertyFromText(
unsigned int index, QString text);
87 virtual void setHalffacePropertyFromText(
unsigned int index, QString text);
88 virtual void setEdgePropertyFromText(
unsigned int index, QString text);
89 virtual void setHalfedgePropertyFromText(
unsigned int index, QString text);
90 virtual void setVertexPropertyFromText(
unsigned int index, QString text);
100 #if defined(INCLUDE_TEMPLATES) && !defined(OVM_PROPERTY_VISUALIZER_INTEGER_CC)
101 #include "OVMPropertyVisualizerIntegerT.cc"
Cellection of information about a property.