44 #ifndef OVM_PROPERTY_VISUALIZER_VECTOR_HH 45 #define OVM_PROPERTY_VISUALIZER_VECTOR_HH 47 #include "OVMPropertyVisualizer.hh" 49 #include <ACG/Scenegraph/LineNode.hh> 52 #include <OpenVolumeMesh/Core/BaseEntities.hh> 53 #include <OpenVolumeMesh/Core/BaseProperty.hh> 55 #include "Widgets/VectorWidget.hh" 59 template <
typename MeshT,
typename VectorT>
66 void clear()
override;
70 template<
typename PropType,
typename EntityIterator>
71 void visualizeVectorAsColorForEntity(PropType prop, EntityIterator e_begin, EntityIterator e_end,
bool normalized);
74 virtual void visualizeFacePropAsStrokes();
75 virtual void visualizeEdgePropAsStrokes();
76 virtual void visualizeHalfedgePropAsStrokes();
77 virtual void visualizeVertexPropAsStrokes();
78 virtual void visualizeCellPropAsStrokes();
79 virtual void visualizeHalffacePropAsStrokes();
81 void visualizeFaceProp(
bool _setDrawMode =
true)
override;
82 void visualizeEdgeProp(
bool _setDrawMode =
true)
override;
83 void visualizeHalfedgeProp(
bool _setDrawMode =
true)
override;
84 void visualizeVertexProp(
bool _setDrawMode =
true)
override;
85 void visualizeCellProp(
bool _setDrawMode =
true)
override;
86 void visualizeHalffaceProp(
bool _setDrawMode =
true)
override;
90 void setCellPropertyFromText(
unsigned int index, QString text)
override;
91 void setFacePropertyFromText(
unsigned int index, QString text)
override;
92 void setHalffacePropertyFromText(
unsigned int index, QString text)
override;
93 void setEdgePropertyFromText(
unsigned int index, QString text)
override;
94 void setHalfedgePropertyFromText(
unsigned int index, QString text)
override;
95 void setVertexPropertyFromText(
unsigned int index, QString text)
override;
103 #if defined(INCLUDE_TEMPLATES) && !defined(OVM_PROPERTY_VISUALIZER_VECTOR_CC) 104 #include "OVMPropertyVisualizerVectorT_impl.hh" void duplicateProperty() override
Duplicates a property.
Cellection of information about a property.
void clear() override
Clears a property.
QString getPropertyText(unsigned int index) override
Returns the value of a property in text form.
VectorT< double, 3 > Vec3d