moveit2
The MoveIt Motion Planning Framework for ROS 2.
Public Slots | Public Member Functions | List of all members
moveit_setup::srdf_setup::CollisionMatrixModel Class Reference

#include <collision_matrix_model.hpp>

Inheritance diagram for moveit_setup::srdf_setup::CollisionMatrixModel:
Inheritance graph
[legend]
Collaboration diagram for moveit_setup::srdf_setup::CollisionMatrixModel:
Collaboration graph
[legend]

Public Slots

void setFilterRegExp (const QString &filter)
 

Public Member Functions

 CollisionMatrixModel (LinkPairMap &pairs, const std::vector< std::string > &names, QObject *parent=nullptr)
 
int rowCount (const QModelIndex &parent=QModelIndex()) const override
 
int columnCount (const QModelIndex &parent=QModelIndex()) const override
 
QVariant data (const QModelIndex &index, int role=Qt::DisplayRole) const override
 
QVariant headerData (int section, Qt::Orientation orientation, int role) const override
 
DisabledReason reason (const QModelIndex &index) const
 
Qt::ItemFlags flags (const QModelIndex &index) const override
 
bool setData (const QModelIndex &, const QVariant &value, int role) override
 
void setEnabled (const QItemSelection &selection, bool value)
 
void setEnabled (const QModelIndexList &indexes, bool value)
 

Detailed Description

Definition at line 50 of file collision_matrix_model.hpp.

Constructor & Destructor Documentation

◆ CollisionMatrixModel()

moveit_setup::srdf_setup::CollisionMatrixModel::CollisionMatrixModel ( LinkPairMap pairs,
const std::vector< std::string > &  names,
QObject *  parent = nullptr 
)

Definition at line 71 of file collision_matrix_model.cpp.

Member Function Documentation

◆ columnCount()

int moveit_setup::srdf_setup::CollisionMatrixModel::columnCount ( const QModelIndex &  parent = QModelIndex()) const
override

Definition at line 101 of file collision_matrix_model.cpp.

◆ data()

QVariant moveit_setup::srdf_setup::CollisionMatrixModel::data ( const QModelIndex &  index,
int  role = Qt::DisplayRole 
) const
override

Definition at line 106 of file collision_matrix_model.cpp.

◆ flags()

Qt::ItemFlags moveit_setup::srdf_setup::CollisionMatrixModel::flags ( const QModelIndex &  index) const
override

Definition at line 213 of file collision_matrix_model.cpp.

◆ headerData()

QVariant moveit_setup::srdf_setup::CollisionMatrixModel::headerData ( int  section,
Qt::Orientation  orientation,
int  role 
) const
override

Definition at line 206 of file collision_matrix_model.cpp.

◆ reason()

DisabledReason moveit_setup::srdf_setup::CollisionMatrixModel::reason ( const QModelIndex &  index) const

Definition at line 127 of file collision_matrix_model.cpp.

◆ rowCount()

int moveit_setup::srdf_setup::CollisionMatrixModel::rowCount ( const QModelIndex &  parent = QModelIndex()) const
override

Definition at line 96 of file collision_matrix_model.cpp.

◆ setData()

bool moveit_setup::srdf_setup::CollisionMatrixModel::setData ( const QModelIndex &  index,
const QVariant &  value,
int  role 
)
override

Definition at line 135 of file collision_matrix_model.cpp.

Here is the caller graph for this function:

◆ setEnabled() [1/2]

void moveit_setup::srdf_setup::CollisionMatrixModel::setEnabled ( const QItemSelection &  selection,
bool  value 
)

Definition at line 165 of file collision_matrix_model.cpp.

◆ setEnabled() [2/2]

void moveit_setup::srdf_setup::CollisionMatrixModel::setEnabled ( const QModelIndexList &  indexes,
bool  value 
)

Definition at line 187 of file collision_matrix_model.cpp.

Here is the call graph for this function:

◆ setFilterRegExp

void moveit_setup::srdf_setup::CollisionMatrixModel::setFilterRegExp ( const QString &  filter)
slot

Definition at line 193 of file collision_matrix_model.cpp.


The documentation for this class was generated from the following files: