SOFA API  c76874b7
Open source framework for multi-physics simuation
sofa::gui::qt::GraphWidget< DataType > Class Template Reference

#include <GraphDataWidget.h>

Inheritance diagram for sofa::gui::qt::GraphWidget< DataType >:

Protected Attributes

Widgetw
 
helper::vector< Curve * > curve
 
helper::vector< CurveData * > cdata
 
data_type currentData
 
QwtDoubleRect rect
 

Public Member Functions

 GraphWidget (QWidget *parent)
 
virtual ~GraphWidget ()
 
QWidgetgetWidget ()
 
void readFromData (const data_type &d0)
 
void exportGNUPlot (const std::string &baseFileName) const
 
void exportImage (const std::string &baseFileName) const
 
- Public Member Functions inherited from sofa::gui::qt::GraphSetting
virtual ~GraphSetting ()
 

Protected Member Functions

std::string getCurveFilename (unsigned int idx) const
 

Attribute details

template<class DataType >
helper::vector<CurveData*> sofa::gui::qt::GraphWidget< DataType >::cdata
protected
template<class DataType >
data_type sofa::gui::qt::GraphWidget< DataType >::currentData
protected
template<class DataType >
helper::vector<Curve*> sofa::gui::qt::GraphWidget< DataType >::curve
protected
template<class DataType >
QwtDoubleRect sofa::gui::qt::GraphWidget< DataType >::rect
protected
template<class DataType >
Widget* sofa::gui::qt::GraphWidget< DataType >::w
protected

Constructor details

template<class DataType >
sofa::gui::qt::GraphWidget< DataType >::GraphWidget ( QWidget parent)
inline
template<class DataType >
virtual sofa::gui::qt::GraphWidget< DataType >::~GraphWidget ( )
inlinevirtual

Function details

template<class DataType >
void sofa::gui::qt::GraphWidget< DataType >::exportGNUPlot ( const std::string &  baseFileName) const
inlinevirtual
template<class DataType >
void sofa::gui::qt::GraphWidget< DataType >::exportImage ( const std::string &  baseFileName) const
inlinevirtual
template<class DataType >
std::string sofa::gui::qt::GraphWidget< DataType >::getCurveFilename ( unsigned int  idx) const
inlineprotected
template<class DataType >
QWidget* sofa::gui::qt::GraphWidget< DataType >::getWidget ( )
inline
template<class DataType >
void sofa::gui::qt::GraphWidget< DataType >::readFromData ( const data_type d0)
inline