|
enum | ENTITY_FILTER {
EF_ANY = 0x0F,
EF_FACE = 0x01,
EF_EDGE = 0x02,
EF_HALFEDGE = 0x04,
EF_VERTEX = 0x08
} |
|
|
| PropertyNameListModel (QObject *parent=0) |
|
virtual int | rowCount (const QModelIndex &parent=QModelIndex()) const |
|
virtual QVariant | data (const QModelIndex &index, int role=Qt::DisplayRole) const |
|
virtual QVariant | headerData (int section, Qt::Orientation orientation, int role=Qt::DisplayRole) const |
|
template<typename MeshT > |
void | refresh (MeshT *mesh, ENTITY_FILTER entityFilterMask, std::type_info *typeIdFilter) |
|
bool | tryInsertionsDeletions (std::vector< PROP_INFO > &propList) |
|
template<typename MeshT , typename OUTPUT_ITERATOR > |
void | gatherProperties (MeshT *mesh, typename MeshT::prop_iterator props_first, typename MeshT::prop_iterator props_last, std::type_info *typeIdFilter, OUTPUT_ITERATOR oit, ENTITY_FILTER entity) |
|
const PROP_INFO & | operator[] (size_t index) |
|
|
static const char * | entity2str (ENTITY_FILTER entity) |
|
|
static const TypeInfoWrapper | prop_types [] |
|
static const TYPE_INFO_SET | sane_prop_types |
|
Definition at line 61 of file PropertyNameListModel.hh.
template<typename MeshT >
void PropertyNameListModel::refresh |
( |
MeshT * |
mesh, |
|
|
ENTITY_FILTER |
entityFilterMask, |
|
|
std::type_info * |
typeIdFilter |
|
) |
| |
|
inline |
- Parameters
-
mesh | The mesh to work on |
entityFilterMask | Filter mask |
typeIdFilter | If NULL, do not filter by type. |
Definition at line 155 of file PropertyNameListModel.hh.
bool PropertyNameListModel::tryInsertionsDeletions |
( |
std::vector< PROP_INFO > & |
propList | ) |
|
Implements an unsophisticated heuristic to translate the difference between propList and propList_ into a series of insertions and deletions.
- Returns
- True if such a sequence was found, false otherwise.
Definition at line 160 of file PropertyNameListModel.cc.
Initial value:= {
proptype_bool,
proptype_int,
proptype_uint,
proptype_double,
proptype_Vec3d,
proptype_Vec3f,
proptype_Vec2d,
proptype_Vec2f,
}
Definition at line 229 of file PropertyNameListModel.hh.
The documentation for this class was generated from the following files: