50 #ifdef ENABLE_OPENVOLUMEMESH_SUPPORT 52 #ifndef OVM_PROPERTY_VISUALIZER_VECTOR_HH 53 #define OVM_PROPERTY_VISUALIZER_VECTOR_HH 55 #include "OVMPropertyVisualizer.hh" 57 #include <ACG/Scenegraph/LineNode.hh> 60 #include <OpenVolumeMesh/Core/BaseEntities.hh> 61 #include <OpenVolumeMesh/Core/BaseProperty.hh> 63 #include "Widgets/VectorWidget.hh" 67 template <
typename MeshT>
68 class OVMPropertyVisualizerVector:
public OVMPropertyVisualizer<MeshT>{
71 OVMPropertyVisualizerVector(MeshT* _mesh,
int objectID,
PropertyInfo _propertyInfo);
72 virtual ~OVMPropertyVisualizerVector(){ clear(); }
78 template<
typename PropType,
typename EntityIterator>
79 void visualizeVectorAsColorForEntity(PropType prop, EntityIterator e_begin, EntityIterator e_end);
80 virtual void duplicateProperty();
82 virtual void visualizeFacePropAsStrokes();
83 virtual void visualizeEdgePropAsStrokes();
84 virtual void visualizeHalfedgePropAsStrokes();
85 virtual void visualizeVertexPropAsStrokes();
86 virtual void visualizeCellPropAsStrokes();
87 virtual void visualizeHalffacePropAsStrokes();
89 virtual void visualizeFaceProp(
bool _setDrawMode =
true);
90 virtual void visualizeEdgeProp(
bool _setDrawMode =
true);
91 virtual void visualizeHalfedgeProp(
bool _setDrawMode =
true);
92 virtual void visualizeVertexProp(
bool _setDrawMode =
true);
93 virtual void visualizeCellProp(
bool _setDrawMode =
true);
94 virtual void visualizeHalffaceProp(
bool _setDrawMode =
true);
96 virtual QString getPropertyText(
unsigned int index);
98 virtual void setCellPropertyFromText(
unsigned int index, QString text);
99 virtual void setFacePropertyFromText(
unsigned int index, QString text);
100 virtual void setHalffacePropertyFromText(
unsigned int index, QString text);
101 virtual void setEdgePropertyFromText(
unsigned int index, QString text);
102 virtual void setHalfedgePropertyFromText(
unsigned int index, QString text);
103 virtual void setVertexPropertyFromText(
unsigned int index, QString text);
109 #if defined(INCLUDE_TEMPLATES) && !defined(OVM_PROPERTY_VISUALIZER_VECTOR_CC) 110 #include "OVMPropertyVisualizerVectorT.cc"
Cellection of information about a property.