50 #include "PropertyVisualizer.hh"
61 log(
LOGERR,
"Visualizing for this type of object not yet supported.");
73 log(
LOGERR,
"Removing for this type of object not yet supported.");
85 log(
LOGERR,
"Duplicating for this type of object not yet supported.");
97 log(
LOGERR,
"Clearing for this type of object not yet supported.");
102 return QObject::trUtf8(
"∥(%1, %2, %3)∥ = %4").arg(v[0]).arg(v[1]).arg(v[2])
108 return QObject::tr(
"∥(%1, %2)∥ = %3").arg(v[0]).arg(v[1]).arg(v.norm());
113 return QObject::tr(
"∥(%1, %2)∥ = %3").arg(v[0]).arg(v[1]).arg(v.norm());
116 #ifdef ENABLE_SKELETON_SUPPORT
120 for (std::map<unsigned int, double>::iterator it = sw.begin(); it != sw.end(); ++it) {
122 text += QString::number((*it).first);
124 text += QString::number((*it).second);
136 s.truncate(s.lastIndexOf(
")"));
137 QStringList strList = s.split(QObject::tr(
", "));
138 return OpenMesh::Vec3d(strList[0].toDouble(),strList[1].toDouble(),strList[2].toDouble());
145 s.truncate(s.lastIndexOf(
")"));
146 QStringList strList = s.split(QObject::tr(
", "));
154 s.truncate(s.lastIndexOf(
")"));
155 QStringList strList = s.split(QObject::tr(
", "));
VectorT< double, 3 > Vec3d
virtual void clear()
Clears the property visualization.
VectorT< float, 2 > Vec2f
std::map< unsigned int, double > SkinWeights
Stores the joint weights per vertex.
virtual void removeProperty()
Removes the property.
virtual void visualize(bool _setDrawMode, QWidget *_widget)
Visualizes the property.
virtual void duplicateProperty()
Duplicates the property.
VectorT< double, 2 > Vec2d