MorphoGraphX  2.0-1-227
Public Member Functions | Public Attributes | List of all members
PathEditorModel Class Reference

#include <PathEditorDlg.hpp>

+ Inheritance diagram for PathEditorModel:

Public Member Functions

 PathEditorModel (MGXCamera *c, QObject *parent)
 
int rowCount (const QModelIndex &parent=QModelIndex()) const
 
int columnCount (const QModelIndex &=QModelIndex()) const
 
QVariant data (const QModelIndex &index, int role) const
 
QVariant headerData (int section, Qt::Orientation orientation, int role=Qt::DisplayRole) const
 
Qt::ItemFlags flags (const QModelIndex &index) const
 
QModelIndex index (int row, int column, const QModelIndex &parent=QModelIndex()) const
 
QModelIndex parent (const QModelIndex &index) const
 
bool isPath (const QModelIndex &idx) const
 
bool isKeyframe (const QModelIndex &idx) const
 
quint32 pathId (const QModelIndex &idx) const
 
quint32 keyframeId (const QModelIndex &idx) const
 
qglviewer::KeyFrameInterpolatorpath (const QModelIndex &idx) const
 
void moveTo (const QModelIndex &idx) const
 

Public Attributes

MGXCameracamera
 

Detailed Description

Definition at line 25 of file PathEditorDlg.hpp.

Constructor & Destructor Documentation

◆ PathEditorModel()

PathEditorModel::PathEditorModel ( MGXCamera c,
QObject *  parent 
)

Member Function Documentation

◆ columnCount()

int PathEditorModel::columnCount ( const QModelIndex &  = QModelIndex()) const
inline

Definition at line 33 of file PathEditorDlg.hpp.

◆ data()

QVariant PathEditorModel::data ( const QModelIndex &  index,
int  role 
) const

◆ flags()

Qt::ItemFlags PathEditorModel::flags ( const QModelIndex &  index) const

◆ headerData()

QVariant PathEditorModel::headerData ( int  section,
Qt::Orientation  orientation,
int  role = Qt::DisplayRole 
) const

◆ index()

QModelIndex PathEditorModel::index ( int  row,
int  column,
const QModelIndex &  parent = QModelIndex() 
) const

◆ isKeyframe()

bool PathEditorModel::isKeyframe ( const QModelIndex &  idx) const

◆ isPath()

bool PathEditorModel::isPath ( const QModelIndex &  idx) const

◆ keyframeId()

quint32 PathEditorModel::keyframeId ( const QModelIndex &  idx) const

◆ moveTo()

void PathEditorModel::moveTo ( const QModelIndex &  idx) const

◆ parent()

QModelIndex PathEditorModel::parent ( const QModelIndex &  index) const

◆ path()

qglviewer::KeyFrameInterpolator* PathEditorModel::path ( const QModelIndex &  idx) const

◆ pathId()

quint32 PathEditorModel::pathId ( const QModelIndex &  idx) const

◆ rowCount()

int PathEditorModel::rowCount ( const QModelIndex &  parent = QModelIndex()) const

Member Data Documentation

◆ camera

MGXCamera* PathEditorModel::camera

Definition at line 59 of file PathEditorDlg.hpp.


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