50 #ifdef ENABLE_OPENVOLUMEMESH_SUPPORT 52 #ifndef OVM_PROPERTY_VISUALIZER_BOOLEAN_HH 53 #define OVM_PROPERTY_VISUALIZER_BOOLEAN_HH 55 #include "OVMPropertyVisualizer.hh" 57 #include "Widgets/BooleanWidget.hh" 61 template <
typename MeshT>
62 class OVMPropertyVisualizerBoolean:
public OVMPropertyVisualizer<MeshT>{
65 OVMPropertyVisualizerBoolean(MeshT* _mesh,
int objectID,
PropertyInfo _propertyInfo);
66 virtual ~OVMPropertyVisualizerBoolean(){}
70 template <
typename PropType,
typename EntityIterator>
71 void visualizeProp(PropType prop, EntityIterator e_begin, EntityIterator e_end);
72 virtual void duplicateProperty();
74 virtual void visualizeFaceProp(
bool _setDrawMode =
true);
75 virtual void visualizeEdgeProp(
bool _setDrawMode =
true);
76 virtual void visualizeHalfedgeProp(
bool _setDrawMode =
true);
77 virtual void visualizeVertexProp(
bool _setDrawMode =
true);
78 virtual void visualizeCellProp(
bool _setDrawMode =
true);
79 virtual void visualizeHalffaceProp(
bool _setDrawMode =
true);
81 virtual void setCellPropertyFromText(
unsigned int index, QString text);
82 virtual void setFacePropertyFromText(
unsigned int index, QString text);
83 virtual void setHalffacePropertyFromText(
unsigned int index, QString text);
84 virtual void setEdgePropertyFromText(
unsigned int index, QString text);
85 virtual void setHalfedgePropertyFromText(
unsigned int index, QString text);
86 virtual void setVertexPropertyFromText(
unsigned int index, QString text);
89 virtual QString getPropertyText(
unsigned int index);
92 #if defined(INCLUDE_TEMPLATES) && !defined(OVM_PROPERTY_VISUALIZER_BOOLEAN_CC) 93 #include "OVMPropertyVisualizerBooleanT.cc" Cellection of information about a property.