sofa::gui::qt::ModifyObject Class Reference

#include <ModifyObject.h>

Inheritance diagram for sofa::gui::qt::ModifyObject:

Inheritance graph
[legend]
Collaboration diagram for sofa::gui::qt::ModifyObject:

Collaboration graph
[legend]

Public Slots

void updateValues ()
void updateTextEdit ()
void updateTables ()
void saveTables ()
void saveTextEdit ()
void changeValue ()
void changeVisualValue ()
void closeNow ()
void reject ()
void accept ()
void resizeTable (int)

Signals

void objectUpdated ()
void dialogClosed (void *)
void transformObject (Node *current_node, double translationX, double translationY, double translationZ, double rotationX, double rotationY, double rotationZ, double scale)

Public Member Functions

 ModifyObject ()
 ModifyObject (void *Id, core::objectmodel::Base *node, Q3ListViewItem *item_clicked, QWidget *parent, const char *name=0, bool modal=FALSE, Qt::WFlags f=0)
 ~ModifyObject ()
void setNode (core::objectmodel::Base *node, Q3ListViewItem *item_clicked=NULL)
bool hideData (core::objectmodel::BaseData *data)
template<class T >
bool createQtRigidSpringTable (Data< vector< typename sofa::component::forcefield::JointSpringForceField< StdRigidTypes< 3, T > >::Spring > > *ff, Q3GroupBox *box, Q3Table *vectorTable)

Protected Member Functions

const core::objectmodel::BaseData * getData (const QObject *object)
virtual void closeEvent (QCloseEvent *)
void updateContext (Node *node)
void createGraphMass (QTabWidget *)
void updateHistory ()
void updateEnergy ()
bool createTable (core::objectmodel::BaseData *field, Q3GroupBox *box=NULL, Q3Table *vectorTable=NULL, Q3Table *vectorTable2=NULL, Q3Table *vectorTable3=NULL)
void storeTable (std::list< std::pair< Q3Table *, core::objectmodel::BaseData * > >::iterator &it_list_table)
void createVector (core::objectmodel::BaseData *object, const Quater< double > &value, Q3GroupBox *box)
void createVector (core::objectmodel::BaseData *object, const Quater< float > &value, Q3GroupBox *box)
template<int N, class T >
void createVector (core::objectmodel::BaseData *object, const Vec< N, T > &value, Q3GroupBox *box)
template<int N, class T >
void storeVector (unsigned int &index, Data< Vec< N, T > > *ff)
template<class T >
void storeVector (unsigned int &index, Data< Quater< T > > *ff)
template<int N, class T >
void storeVector (unsigned int &index, DataPtr< Vec< N, T > > *ff)
template<class T >
void storeVector (unsigned int &index, DataPtr< Quater< T > > *ff)
template<int N, class T >
void storeVector (unsigned int &index, Vec< N, T > *ff)
template<class T >
void storeVector (unsigned int &index, Quater< T > *ff)
template<class T >
bool createQtTable (Data< sofa::helper::vector< T > > *ff, Q3GroupBox *box, Q3Table *vectorTable)
template<class T >
void storeQtTable (std::list< std::pair< Q3Table *, core::objectmodel::BaseData * > >::iterator &it_list_table, Data< sofa::helper::vector< T > > *ff)
void storeQtTable (std::list< std::pair< Q3Table *, core::objectmodel::BaseData * > >::iterator &it_list_table, Data< sofa::helper::vector< std::string > > *ff)
template<class T >
bool createQtTable (DataPtr< sofa::helper::vector< T > > *ff, Q3GroupBox *box, Q3Table *vectorTable)
template<class T >
void storeQtTable (std::list< std::pair< Q3Table *, core::objectmodel::BaseData * > >::iterator &it_list_table, DataPtr< sofa::helper::vector< T > > *ff)
template<int N, class T >
bool createQtTable (Data< sofa::helper::vector< Vec< N, T > > > *ff, Q3GroupBox *box, Q3Table *vectorTable)
template<int N, class T >
void storeQtTable (std::list< std::pair< Q3Table *, core::objectmodel::BaseData * > >::iterator &it_list_table, Data< sofa::helper::vector< Vec< N, T > > > *ff)
template<int N, class T >
bool createQtTable (DataPtr< sofa::helper::vector< Vec< N, T > > > *ff, Q3GroupBox *box, Q3Table *vectorTable)
template<int N, class T >
void storeQtTable (std::list< std::pair< Q3Table *, core::objectmodel::BaseData * > >::iterator &it_list_table, DataPtr< sofa::helper::vector< Vec< N, T > > > *ff)
template<class T >
bool createQtTable (Data< sofa::component::topology::PointData< T > > *ff, Q3GroupBox *box, Q3Table *vectorTable)
template<class T >
void storeQtTable (std::list< std::pair< Q3Table *, core::objectmodel::BaseData * > >::iterator &it_list_table, Data< sofa::component::topology::PointData< T > > *ff)
template<class T >
bool createMonitorQtTable (Data< typename sofa::component::misc::Monitor< T >::MonitorData > *ff, Q3GroupBox *box, Q3Table *vectorTable, Q3Table *vectorTable2, Q3Table *vectorTable3)
template<class T >
void storeMonitorQtTable (std::list< std::pair< Q3Table *, core::objectmodel::BaseData * > >::iterator &it_list_table, Data< typename sofa::component::misc::Monitor< T >::MonitorData > *ff)
template<int N, class T >
bool createQtTable (Data< sofa::helper::vector< RigidCoord< N, T > > > *ff, Q3GroupBox *box, Q3Table *vectorTable, Q3Table *vectorTable2)
template<class T >
void storeQtRigid3Table (std::list< std::pair< Q3Table *, core::objectmodel::BaseData * > >::iterator &it_list_table, Data< sofa::helper::vector< RigidCoord< 3, T > > > *ff)
template<class T >
void storeQtRigid2Table (std::list< std::pair< Q3Table *, core::objectmodel::BaseData * > >::iterator &it_list_table, Data< sofa::helper::vector< RigidCoord< 2, T > > > *ff)
template<int N, class T >
bool createQtTable (Data< sofa::helper::vector< RigidDeriv< N, T > > > *ff, Q3GroupBox *box, Q3Table *vectorTable, Q3Table *vectorTable2)
template<class T >
void storeQtRigid3Table (std::list< std::pair< Q3Table *, core::objectmodel::BaseData * > >::iterator &it_list_table, Data< sofa::helper::vector< RigidDeriv< 3, T > > > *ff)
template<class T >
void storeQtRigid2Table (std::list< std::pair< Q3Table *, core::objectmodel::BaseData * > >::iterator &it_list_table, Data< sofa::helper::vector< RigidDeriv< 2, T > > > *ff)
template<int N, class T >
bool createQtTable (DataPtr< sofa::helper::vector< RigidCoord< N, T > > > *ff, Q3GroupBox *box, Q3Table *vectorTable, Q3Table *vectorTable2)
template<class T >
void storeQtRigid3Table (std::list< std::pair< Q3Table *, core::objectmodel::BaseData * > >::iterator &it_list_table, DataPtr< sofa::helper::vector< RigidCoord< 3, T > > > *ff)
template<class T >
void storeQtRigid2Table (std::list< std::pair< Q3Table *, core::objectmodel::BaseData * > >::iterator &it_list_table, DataPtr< sofa::helper::vector< RigidCoord< 2, T > > > *ff)
template<int N, class T >
bool createQtTable (DataPtr< sofa::helper::vector< RigidDeriv< N, T > > > *ff, Q3GroupBox *box, Q3Table *vectorTable, Q3Table *vectorTable2)
template<class T >
void storeQtRigid3Table (std::list< std::pair< Q3Table *, core::objectmodel::BaseData * > >::iterator &it_list_table, DataPtr< sofa::helper::vector< RigidDeriv< 3, T > > > *ff)
template<class T >
void storeQtRigid2Table (std::list< std::pair< Q3Table *, core::objectmodel::BaseData * > >::iterator &it_list_table, DataPtr< sofa::helper::vector< RigidDeriv< 2, T > > > *ff)
template<int N, class T >
bool createQtSpringTable (Data< sofa::helper::vector< typename sofa::component::forcefield::SpringForceField< StdVectorTypes< Vec< N, T >, Vec< N, T >, T > >::Spring > > *ff, Q3GroupBox *box, Q3Table *vectorTable)
template<int N, class T >
void storeQtSpringTable (std::list< std::pair< Q3Table *, core::objectmodel::BaseData * > >::iterator &it_list_table, Data< sofa::helper::vector< typename sofa::component::forcefield::SpringForceField< StdVectorTypes< Vec< N, T >, Vec< N, T >, T > >::Spring > > *ff)
template<class T >
bool createQtRigidSpringTable (Data< sofa::helper::vector< typename sofa::component::forcefield::JointSpringForceField< StdRigidTypes< 3, T > >::Spring > > *ff, Q3GroupBox *box, Q3Table *vectorTable)
template<class T >
void storeQtRigidSpringTable (std::list< std::pair< Q3Table *, core::objectmodel::BaseData * > >::iterator &it_list_table, Data< sofa::helper::vector< typename sofa::component::forcefield::JointSpringForceField< StdRigidTypes< 3, T > >::Spring > > *ff)
Q3Table * addResizableTable (Q3GroupBox *box, int size, int column=1)

Protected Attributes

QWidget * parent
QTabWidget * dialogTab
core::objectmodel::Base * node
Q3ListViewItem * item
QPushButton * buttonUpdate
std::vector< std::pair
< core::objectmodel::BaseData
*, QObject * > > 
objectGUI
std::set< const
core::objectmodel::BaseData * > 
setUpdates
std::list< std::pair< Q3Table
*, core::objectmodel::BaseData * > > 
list_Table
std::list< std::pair
< Q3TextEdit
*, core::objectmodel::BaseData * > > 
list_TextEdit
std::map
< core::objectmodel::BaseData
*, int > 
dataIndexTab
std::map< QSpinBox *, Q3Table * > resizeMap
std::set< Q3Table * > setResize
WFloatLineEdit * transformation [7]
void * Id
bool visualContentModified
DisplayFlagWidget * displayFlag
std::vector< double > history
std::vector< double > energy_history [3]
QwtPlot * graphEnergy
QwtPlotCurve * energy_curve [3]
unsigned int counterWidget
bool HIDE_FLAG
bool EMPTY_FLAG
bool RESIZABLE_FLAG
bool REINIT_FLAG

Detailed Description

Definition at line 96 of file ModifyObject.h.


Constructor & Destructor Documentation

sofa::gui::qt::ModifyObject::ModifyObject (  )  [inline]

Definition at line 101 of file ModifyObject.h.

sofa::gui::qt::ModifyObject::ModifyObject ( void *  Id,
core::objectmodel::Base *  node,
Q3ListViewItem *  item_clicked,
QWidget *  parent,
const char *  name = 0,
bool  modal = FALSE,
Qt::WFlags  f = 0 
)

sofa::gui::qt::ModifyObject::~ModifyObject (  )  [inline]

Definition at line 103 of file ModifyObject.h.

References buttonUpdate.


Member Function Documentation

void sofa::gui::qt::ModifyObject::accept (  )  [inline, slot]

Definition at line 123 of file ModifyObject.h.

References dialogClosed(), Id, and updateValues().

Referenced by setNode().

Q3Table * sofa::gui::qt::ModifyObject::addResizableTable ( Q3GroupBox *  box,
int  size,
int  column = 1 
) [protected]

void sofa::gui::qt::ModifyObject::changeValue (  )  [slot]

void sofa::gui::qt::ModifyObject::changeVisualValue (  )  [slot]

Definition at line 1141 of file ModifyObject.cpp.

References buttonUpdate, getData(), setUpdates, and visualContentModified.

Referenced by setNode().

virtual void sofa::gui::qt::ModifyObject::closeEvent ( QCloseEvent *   )  [inline, protected, virtual]

Definition at line 137 of file ModifyObject.h.

References reject().

void sofa::gui::qt::ModifyObject::closeNow (  )  [inline, slot]

Definition at line 121 of file ModifyObject.h.

References reject().

void sofa::gui::qt::ModifyObject::createGraphMass ( QTabWidget *  dialogTab  )  [protected]

Definition at line 1928 of file ModifyObject.cpp.

References energy_curve, energy_history, graphEnergy, and history.

Referenced by setNode().

template<class T >
bool sofa::gui::qt::ModifyObject::createMonitorQtTable ( Data< typename sofa::component::misc::Monitor< T >::MonitorData > *  ff,
Q3GroupBox *  box,
Q3Table *  vectorTable,
Q3Table *  vectorTable2,
Q3Table *  vectorTable3 
) [inline, protected]

template<class T >
bool sofa::gui::qt::ModifyObject::createQtRigidSpringTable ( Data< vector< typename sofa::component::forcefield::JointSpringForceField< StdRigidTypes< 3, T > >::Spring > > *  ff,
Q3GroupBox *  box,
Q3Table *  vectorTable 
) [inline]

template<class T >
bool sofa::gui::qt::ModifyObject::createQtRigidSpringTable ( Data< sofa::helper::vector< typename sofa::component::forcefield::JointSpringForceField< StdRigidTypes< 3, T > >::Spring > > *  ff,
Q3GroupBox *  box,
Q3Table *  vectorTable 
) [inline, protected]

template<int N, class T >
bool sofa::gui::qt::ModifyObject::createQtSpringTable ( Data< sofa::helper::vector< typename sofa::component::forcefield::SpringForceField< StdVectorTypes< Vec< N, T >, Vec< N, T >, T > >::Spring > > *  ff,
Q3GroupBox *  box,
Q3Table *  vectorTable 
) [inline, protected]

template<int N, class T >
bool sofa::gui::qt::ModifyObject::createQtTable ( DataPtr< sofa::helper::vector< RigidDeriv< N, T > > > *  ff,
Q3GroupBox *  box,
Q3Table *  vectorTable,
Q3Table *  vectorTable2 
) [inline, protected]

template<int N, class T >
bool sofa::gui::qt::ModifyObject::createQtTable ( DataPtr< sofa::helper::vector< RigidCoord< N, T > > > *  ff,
Q3GroupBox *  box,
Q3Table *  vectorTable,
Q3Table *  vectorTable2 
) [inline, protected]

template<int N, class T >
bool sofa::gui::qt::ModifyObject::createQtTable ( Data< sofa::helper::vector< RigidDeriv< N, T > > > *  ff,
Q3GroupBox *  box,
Q3Table *  vectorTable,
Q3Table *  vectorTable2 
) [inline, protected]

template<int N, class T >
bool sofa::gui::qt::ModifyObject::createQtTable ( Data< sofa::helper::vector< RigidCoord< N, T > > > *  ff,
Q3GroupBox *  box,
Q3Table *  vectorTable,
Q3Table *  vectorTable2 
) [inline, protected]

template<class T >
bool sofa::gui::qt::ModifyObject::createQtTable ( Data< sofa::component::topology::PointData< T > > *  ff,
Q3GroupBox *  box,
Q3Table *  vectorTable 
) [inline, protected]

template<int N, class T >
bool sofa::gui::qt::ModifyObject::createQtTable ( DataPtr< sofa::helper::vector< Vec< N, T > > > *  ff,
Q3GroupBox *  box,
Q3Table *  vectorTable 
) [inline, protected]

template<int N, class T >
bool sofa::gui::qt::ModifyObject::createQtTable ( Data< sofa::helper::vector< Vec< N, T > > > *  ff,
Q3GroupBox *  box,
Q3Table *  vectorTable 
) [inline, protected]

template<class T >
bool sofa::gui::qt::ModifyObject::createQtTable ( DataPtr< sofa::helper::vector< T > > *  ff,
Q3GroupBox *  box,
Q3Table *  vectorTable 
) [inline, protected]

template<class T >
bool sofa::gui::qt::ModifyObject::createQtTable ( Data< sofa::helper::vector< T > > *  ff,
Q3GroupBox *  box,
Q3Table *  vectorTable 
) [inline, protected]

bool sofa::gui::qt::ModifyObject::createTable ( core::objectmodel::BaseData *  field,
Q3GroupBox *  box = NULL,
Q3Table *  vectorTable = NULL,
Q3Table *  vectorTable2 = NULL,
Q3Table *  vectorTable3 = NULL 
) [protected]

template<int N, class T >
void sofa::gui::qt::ModifyObject::createVector ( core::objectmodel::BaseData *  object,
const Vec< N, T > &  value,
Q3GroupBox *  box 
) [inline, protected]

void sofa::gui::qt::ModifyObject::createVector ( core::objectmodel::BaseData *  object,
const Quater< float > &  value,
Q3GroupBox *  box 
) [protected]

Definition at line 3002 of file ModifyObject.cpp.

References createVector().

void sofa::gui::qt::ModifyObject::createVector ( core::objectmodel::BaseData *  object,
const Quater< double > &  value,
Q3GroupBox *  box 
) [protected]

Definition at line 2996 of file ModifyObject.cpp.

Referenced by createVector(), and setNode().

void sofa::gui::qt::ModifyObject::dialogClosed ( void *  _t1  )  [signal]

const core::objectmodel::BaseData * sofa::gui::qt::ModifyObject::getData ( const QObject *  object  )  [protected]

Definition at line 4495 of file ModifyObject.cpp.

References objectGUI.

Referenced by changeValue(), changeVisualValue(), and saveTables().

bool sofa::gui::qt::ModifyObject::hideData ( core::objectmodel::BaseData *  data  )  [inline]

Definition at line 110 of file ModifyObject.h.

References HIDE_FLAG, and sofa::core::objectmodel::BaseData::isDisplayed().

Referenced by setNode().

void sofa::gui::qt::ModifyObject::objectUpdated (  )  [signal]

Definition at line 111 of file moc_ModifyObject.cpp.

Referenced by ModifyObject(), and updateValues().

void sofa::gui::qt::ModifyObject::reject (  )  [inline, slot]

Definition at line 122 of file ModifyObject.h.

References dialogClosed(), and Id.

Referenced by closeEvent(), closeNow(), and setNode().

void sofa::gui::qt::ModifyObject::resizeTable ( int  number  )  [slot]

Definition at line 4504 of file ModifyObject.cpp.

References resizeMap, setResize, and updateTables().

Referenced by addResizableTable().

void sofa::gui::qt::ModifyObject::saveTables (  )  [slot]

Definition at line 2627 of file ModifyObject.cpp.

References getData(), list_Table, setUpdates, and storeTable().

Referenced by updateValues().

void sofa::gui::qt::ModifyObject::saveTextEdit (  )  [slot]

Definition at line 2613 of file ModifyObject.cpp.

References list_TextEdit.

Referenced by updateValues().

void sofa::gui::qt::ModifyObject::setNode ( core::objectmodel::Base *  node,
Q3ListViewItem *  item_clicked = NULL 
)

Definition at line 117 of file ModifyObject.cpp.

References accept(), addResizableTable(), sofa::helper::io::Mesh::Material::ambient, sofa::core::ObjectFactory::ClassEntry::authors, buttonUpdate, changeValue(), changeVisualValue(), counterWidget, createGraphMass(), createTable(), createVector(), sofa::core::ObjectFactory::ClassEntry::creatorList, dataIndexTab, sofa::core::objectmodel::Base::decodeNamespaceName(), sofa::core::ObjectFactory::ClassEntry::description, dialogTab, sofa::helper::io::Mesh::Material::diffuse, displayFlag, sofa::helper::io::Mesh::Material::emissive, EMPTY_FLAG, sofa::core::objectmodel::Base::getClassName(), sofa::core::ObjectFactory::getEntry(), sofa::core::objectmodel::Base::getFields(), sofa::core::ObjectFactory::getInstance(), sofa::core::objectmodel::BaseObject::getLogWarning(), sofa::core::objectmodel::Base::getName(), sofa::core::objectmodel::Base::getTemplateName(), sofa::core::objectmodel::Data< T >::getValue(), hideData(), INFINITY, item, sofa::core::ObjectFactory::ClassEntry::license, list_Table, list_TextEdit, node, objectGUI, reject(), WFloatLineEdit::setFloatValue(), WFloatLineEdit::setMaxFloatValue(), WFloatLineEdit::setMinFloatValue(), setResize, sofa::helper::io::Mesh::Material::shininess, SIZE_TEXT, sofa::helper::io::Mesh::Material::specular, transformation, updateTables(), updateValues(), sofa::helper::io::Mesh::Material::useAmbient, sofa::helper::io::Mesh::Material::useDiffuse, sofa::helper::io::Mesh::Material::useEmissive, sofa::helper::io::Mesh::Material::useShininess, sofa::helper::io::Mesh::Material::useSpecular, and WIDGET_BY_TAB.

Referenced by ModifyObject(), and sofa::gui::qt::ModifyObjectModeler::ModifyObjectModeler().

template<class T >
void sofa::gui::qt::ModifyObject::storeMonitorQtTable ( std::list< std::pair< Q3Table *, core::objectmodel::BaseData * > >::iterator &  it_list_table,
Data< typename sofa::component::misc::Monitor< T >::MonitorData > *  ff 
) [inline, protected]

template<class T >
void sofa::gui::qt::ModifyObject::storeQtRigid2Table ( std::list< std::pair< Q3Table *, core::objectmodel::BaseData * > >::iterator &  it_list_table,
DataPtr< sofa::helper::vector< RigidDeriv< 2, T > > > *  ff 
) [inline, protected]

Definition at line 4274 of file ModifyObject.cpp.

template<class T >
void sofa::gui::qt::ModifyObject::storeQtRigid2Table ( std::list< std::pair< Q3Table *, core::objectmodel::BaseData * > >::iterator &  it_list_table,
DataPtr< sofa::helper::vector< RigidCoord< 2, T > > > *  ff 
) [inline, protected]

Definition at line 4126 of file ModifyObject.cpp.

template<class T >
void sofa::gui::qt::ModifyObject::storeQtRigid2Table ( std::list< std::pair< Q3Table *, core::objectmodel::BaseData * > >::iterator &  it_list_table,
Data< sofa::helper::vector< RigidDeriv< 2, T > > > *  ff 
) [inline, protected]

Definition at line 4200 of file ModifyObject.cpp.

template<class T >
void sofa::gui::qt::ModifyObject::storeQtRigid2Table ( std::list< std::pair< Q3Table *, core::objectmodel::BaseData * > >::iterator &  it_list_table,
Data< sofa::helper::vector< RigidCoord< 2, T > > > *  ff 
) [inline, protected]

Definition at line 4051 of file ModifyObject.cpp.

template<class T >
void sofa::gui::qt::ModifyObject::storeQtRigid3Table ( std::list< std::pair< Q3Table *, core::objectmodel::BaseData * > >::iterator &  it_list_table,
DataPtr< sofa::helper::vector< RigidDeriv< 3, T > > > *  ff 
) [inline, protected]

Definition at line 4235 of file ModifyObject.cpp.

template<class T >
void sofa::gui::qt::ModifyObject::storeQtRigid3Table ( std::list< std::pair< Q3Table *, core::objectmodel::BaseData * > >::iterator &  it_list_table,
DataPtr< sofa::helper::vector< RigidCoord< 3, T > > > *  ff 
) [inline, protected]

Definition at line 4087 of file ModifyObject.cpp.

template<class T >
void sofa::gui::qt::ModifyObject::storeQtRigid3Table ( std::list< std::pair< Q3Table *, core::objectmodel::BaseData * > >::iterator &  it_list_table,
Data< sofa::helper::vector< RigidDeriv< 3, T > > > *  ff 
) [inline, protected]

Definition at line 4161 of file ModifyObject.cpp.

template<class T >
void sofa::gui::qt::ModifyObject::storeQtRigid3Table ( std::list< std::pair< Q3Table *, core::objectmodel::BaseData * > >::iterator &  it_list_table,
Data< sofa::helper::vector< RigidCoord< 3, T > > > *  ff 
) [inline, protected]

Definition at line 4012 of file ModifyObject.cpp.

template<class T >
void sofa::gui::qt::ModifyObject::storeQtRigidSpringTable ( std::list< std::pair< Q3Table *, core::objectmodel::BaseData * > >::iterator &  it_list_table,
Data< sofa::helper::vector< typename sofa::component::forcefield::JointSpringForceField< StdRigidTypes< 3, T > >::Spring > > *  ff 
) [inline, protected]

Definition at line 4437 of file ModifyObject.cpp.

template<int N, class T >
void sofa::gui::qt::ModifyObject::storeQtSpringTable ( std::list< std::pair< Q3Table *, core::objectmodel::BaseData * > >::iterator &  it_list_table,
Data< sofa::helper::vector< typename sofa::component::forcefield::SpringForceField< StdVectorTypes< Vec< N, T >, Vec< N, T >, T > >::Spring > > *  ff 
) [inline, protected]

template<class T >
void sofa::gui::qt::ModifyObject::storeQtTable ( std::list< std::pair< Q3Table *, core::objectmodel::BaseData * > >::iterator &  it_list_table,
Data< sofa::component::topology::PointData< T > > *  ff 
) [inline, protected]

Definition at line 3406 of file ModifyObject.cpp.

template<int N, class T >
void sofa::gui::qt::ModifyObject::storeQtTable ( std::list< std::pair< Q3Table *, core::objectmodel::BaseData * > >::iterator &  it_list_table,
DataPtr< sofa::helper::vector< Vec< N, T > > > *  ff 
) [inline, protected]

Definition at line 3343 of file ModifyObject.cpp.

template<int N, class T >
void sofa::gui::qt::ModifyObject::storeQtTable ( std::list< std::pair< Q3Table *, core::objectmodel::BaseData * > >::iterator &  it_list_table,
Data< sofa::helper::vector< Vec< N, T > > > *  ff 
) [inline, protected]

Definition at line 3284 of file ModifyObject.cpp.

template<class T >
void sofa::gui::qt::ModifyObject::storeQtTable ( std::list< std::pair< Q3Table *, core::objectmodel::BaseData * > >::iterator &  it_list_table,
DataPtr< sofa::helper::vector< T > > *  ff 
) [inline, protected]

Definition at line 3227 of file ModifyObject.cpp.

void sofa::gui::qt::ModifyObject::storeQtTable ( std::list< std::pair< Q3Table *, core::objectmodel::BaseData * > >::iterator &  it_list_table,
Data< sofa::helper::vector< std::string > > *  ff 
) [protected]

Definition at line 3159 of file ModifyObject.cpp.

template<class T >
void sofa::gui::qt::ModifyObject::storeQtTable ( std::list< std::pair< Q3Table *, core::objectmodel::BaseData * > >::iterator &  it_list_table,
Data< sofa::helper::vector< T > > *  ff 
) [inline, protected]

Definition at line 3174 of file ModifyObject.cpp.

void sofa::gui::qt::ModifyObject::storeTable ( std::list< std::pair< Q3Table *, core::objectmodel::BaseData * > >::iterator &  it_list_table  )  [protected]

Referenced by saveTables().

template<class T >
void sofa::gui::qt::ModifyObject::storeVector ( unsigned int &  index,
Quater< T > *  ff 
) [inline, protected]

Definition at line 3106 of file ModifyObject.cpp.

References WFloatLineEdit::getFloatValue(), and objectGUI.

template<int N, class T >
void sofa::gui::qt::ModifyObject::storeVector ( unsigned int &  index,
Vec< N, T > *  ff 
) [inline, protected]

Definition at line 3093 of file ModifyObject.cpp.

References WFloatLineEdit::getFloatValue(), and objectGUI.

template<class T >
void sofa::gui::qt::ModifyObject::storeVector ( unsigned int &  index,
DataPtr< Quater< T > > *  ff 
) [inline, protected]

Definition at line 3079 of file ModifyObject.cpp.

References WFloatLineEdit::getFloatValue(), and objectGUI.

template<int N, class T >
void sofa::gui::qt::ModifyObject::storeVector ( unsigned int &  index,
DataPtr< Vec< N, T > > *  ff 
) [inline, protected]

Definition at line 3065 of file ModifyObject.cpp.

References WFloatLineEdit::getFloatValue(), and objectGUI.

template<class T >
void sofa::gui::qt::ModifyObject::storeVector ( unsigned int &  index,
Data< Quater< T > > *  ff 
) [inline, protected]

Definition at line 3051 of file ModifyObject.cpp.

References WFloatLineEdit::getFloatValue(), and objectGUI.

template<int N, class T >
void sofa::gui::qt::ModifyObject::storeVector ( unsigned int &  index,
Data< Vec< N, T > > *  ff 
) [inline, protected]

Definition at line 3038 of file ModifyObject.cpp.

References WFloatLineEdit::getFloatValue(), and objectGUI.

Referenced by updateValues().

void sofa::gui::qt::ModifyObject::transformObject ( Node *  current_node,
double  translationX,
double  translationY,
double  translationZ,
double  rotationX,
double  rotationY,
double  rotationZ,
double  scale 
) [signal]

Definition at line 124 of file moc_ModifyObject.cpp.

void sofa::gui::qt::ModifyObject::updateContext ( Node *  node  )  [protected]

Definition at line 1921 of file ModifyObject.cpp.

References sofa::simulation::Node::execute().

Referenced by updateValues().

void sofa::gui::qt::ModifyObject::updateEnergy (  )  [protected]

void sofa::gui::qt::ModifyObject::updateHistory (  )  [protected]

Definition at line 1959 of file ModifyObject.cpp.

References history, node, and updateEnergy().

Referenced by updateTables().

void sofa::gui::qt::ModifyObject::updateTables (  )  [slot]

void sofa::gui::qt::ModifyObject::updateTextEdit (  )  [slot]

Definition at line 2002 of file ModifyObject.cpp.

References dataIndexTab, dialogTab, and list_TextEdit.

Referenced by updateTables().

void sofa::gui::qt::ModifyObject::updateValues (  )  [slot]


Field Documentation

Definition at line 256 of file ModifyObject.h.

Referenced by changeValue(), changeVisualValue(), setNode(), updateValues(), and ~ModifyObject().

Definition at line 276 of file ModifyObject.h.

Referenced by createMonitorQtTable(), createQtTable(), and setNode().

Definition at line 261 of file ModifyObject.h.

Referenced by setNode(), updateTables(), and updateTextEdit().

QTabWidget* sofa::gui::qt::ModifyObject::dialogTab [protected]

Definition at line 253 of file ModifyObject.h.

Referenced by setNode(), updateEnergy(), updateTables(), and updateTextEdit().

Definition at line 270 of file ModifyObject.h.

Referenced by setNode(), and updateValues().

QwtPlotCurve* sofa::gui::qt::ModifyObject::energy_curve[3] [protected]

std::vector< double > sofa::gui::qt::ModifyObject::energy_history[3] [protected]

Definition at line 273 of file ModifyObject.h.

Referenced by createGraphMass(), and updateEnergy().

Definition at line 274 of file ModifyObject.h.

Referenced by createGraphMass(), and updateEnergy().

std::vector< double > sofa::gui::qt::ModifyObject::history [protected]

Definition at line 272 of file ModifyObject.h.

Referenced by createGraphMass(), updateEnergy(), and updateHistory().

Definition at line 255 of file ModifyObject.h.

Referenced by setNode(), and updateValues().

Definition at line 260 of file ModifyObject.h.

Referenced by saveTextEdit(), setNode(), and updateTextEdit().

std::vector<std::pair< core::objectmodel::BaseData*, QObject*> > sofa::gui::qt::ModifyObject::objectGUI [protected]

std::map< QSpinBox*, Q3Table* > sofa::gui::qt::ModifyObject::resizeMap [protected]

Definition at line 262 of file ModifyObject.h.

Referenced by addResizableTable(), and resizeTable().

Definition at line 258 of file ModifyObject.h.

Referenced by changeValue(), changeVisualValue(), saveTables(), and updateValues().

Definition at line 264 of file ModifyObject.h.

Referenced by setNode(), and updateValues().


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

Generated on Sun Nov 23 04:24:11 2008 for Sofa by  doxygen 1.5.7.1