Public Slots | Public Member Functions | Private Types | Private Slots | Private Member Functions | Private Attributes | List of all members
ToolboxQuaternion Class Reference

#include <toolbox_quaternion.h>

Inheritance diagram for ToolboxQuaternion:
Inheritance graph
[legend]

Public Slots

bool onShowWidget () override
 
- Public Slots inherited from PJ::ToolboxPlugin
virtual bool onShowWidget ()=0
 

Public Member Functions

void init (PJ::PlotDataMapRef &src_data, PJ::TransformsMap &transform_map) override
 
const char * name () const override
 Name of the plugin type, NOT the particular instance. More...
 
std::pair< QWidget *, WidgetTypeprovidedWidget () const override
 
 ToolboxQuaternion ()
 
 ~ToolboxQuaternion () override
 
- Public Member Functions inherited from PJ::ToolboxPlugin
const ParserFactoriesparserFactories () const
 
void setParserFactories (ParserFactories *parsers)
 
 ToolboxPlugin ()=default
 
virtual ~ToolboxPlugin ()=default
 
- Public Member Functions inherited from PJ::PlotJugglerPlugin
virtual const std::vector< QAction * > & availableActions ()
 
virtual bool isDebugPlugin ()
 
virtual QWidget * optionsWidget ()
 optionsWidget pointer to a persistent widget used to set the plugin options . More...
 
 PlotJugglerPlugin ()=default
 
virtual bool xmlLoadState (const QDomElement &parent_element)
 Override this method to load the status of the plugin from XML. More...
 
QDomElement xmlSaveState (QDomDocument &doc) const
 
virtual bool xmlSaveState (QDomDocument &doc, QDomElement &parent_element) const
 Override this method to save the status of the plugin to XML. More...
 

Private Types

enum  GenerateType { PREVIEW, SAVE }
 

Private Slots

void on_pushButtonSave_clicked ()
 
void onClosed ()
 
void onParametersChanged ()
 

Private Member Functions

void autoFill (QString prefix)
 
bool eventFilter (QObject *obj, QEvent *event) override
 
bool generateRPY (GenerateType type)
 

Private Attributes

QString _dragging_curve
 
PJ::PlotDataMapRef_plot_data = nullptr
 
PJ::PlotWidgetBase_plot_widget = nullptr
 
std::unique_ptr< PlotData_preview_data_pitch
 
std::unique_ptr< PlotData_preview_data_roll
 
std::unique_ptr< PlotData_preview_data_yaw
 
PJ::TransformsMap_transforms = nullptr
 
QWidget * _widget
 
Ui::quaternion_to_RPY * ui
 

Additional Inherited Members

- Public Types inherited from PJ::ToolboxPlugin
enum  WidgetType { FLOATING, FIXED }
 
- Signals inherited from PJ::ToolboxPlugin
void closed ()
 
void importData (PlotDataMapRef &new_data, bool remove_old)
 
void plotCreated (std::string plot_name, bool is_custom=true)
 

Detailed Description

Definition at line 14 of file toolbox_quaternion.h.

Member Enumeration Documentation

◆ GenerateType

Enumerator
PREVIEW 
SAVE 

Definition at line 66 of file toolbox_quaternion.h.

Constructor & Destructor Documentation

◆ ToolboxQuaternion()

ToolboxQuaternion::ToolboxQuaternion ( )

Definition at line 12 of file toolbox_quaternion.cpp.

◆ ~ToolboxQuaternion()

ToolboxQuaternion::~ToolboxQuaternion ( )
override

Definition at line 36 of file toolbox_quaternion.cpp.

Member Function Documentation

◆ autoFill()

void ToolboxQuaternion::autoFill ( QString  prefix)
private

Definition at line 129 of file toolbox_quaternion.cpp.

◆ eventFilter()

bool ToolboxQuaternion::eventFilter ( QObject *  obj,
QEvent *  event 
)
overrideprivate

Definition at line 64 of file toolbox_quaternion.cpp.

◆ generateRPY()

bool ToolboxQuaternion::generateRPY ( GenerateType  type)
private

Definition at line 158 of file toolbox_quaternion.cpp.

◆ init()

void ToolboxQuaternion::init ( PJ::PlotDataMapRef src_data,
PJ::TransformsMap transform_map 
)
overridevirtual

Implements PJ::ToolboxPlugin.

Definition at line 40 of file toolbox_quaternion.cpp.

◆ name()

const char* ToolboxQuaternion::name ( ) const
inlineoverridevirtual

Name of the plugin type, NOT the particular instance.

Implements PJ::PlotJugglerPlugin.

Definition at line 25 of file toolbox_quaternion.h.

◆ on_pushButtonSave_clicked

void ToolboxQuaternion::on_pushButtonSave_clicked ( )
privateslot

Definition at line 225 of file toolbox_quaternion.cpp.

◆ onClosed

void ToolboxQuaternion::onClosed ( )
privateslot

Definition at line 252 of file toolbox_quaternion.cpp.

◆ onParametersChanged

void ToolboxQuaternion::onParametersChanged ( )
privateslot

Definition at line 239 of file toolbox_quaternion.cpp.

◆ onShowWidget

bool ToolboxQuaternion::onShowWidget ( )
overrideslot

Definition at line 59 of file toolbox_quaternion.cpp.

◆ providedWidget()

std::pair< QWidget *, PJ::ToolboxPlugin::WidgetType > ToolboxQuaternion::providedWidget ( ) const
overridevirtual

Implements PJ::ToolboxPlugin.

Definition at line 54 of file toolbox_quaternion.cpp.

Member Data Documentation

◆ _dragging_curve

QString ToolboxQuaternion::_dragging_curve
private

Definition at line 52 of file toolbox_quaternion.h.

◆ _plot_data

PJ::PlotDataMapRef* ToolboxQuaternion::_plot_data = nullptr
private

Definition at line 58 of file toolbox_quaternion.h.

◆ _plot_widget

PJ::PlotWidgetBase* ToolboxQuaternion::_plot_widget = nullptr
private

Definition at line 56 of file toolbox_quaternion.h.

◆ _preview_data_pitch

std::unique_ptr<PlotData> ToolboxQuaternion::_preview_data_pitch
private

Definition at line 63 of file toolbox_quaternion.h.

◆ _preview_data_roll

std::unique_ptr<PlotData> ToolboxQuaternion::_preview_data_roll
private

Definition at line 62 of file toolbox_quaternion.h.

◆ _preview_data_yaw

std::unique_ptr<PlotData> ToolboxQuaternion::_preview_data_yaw
private

Definition at line 64 of file toolbox_quaternion.h.

◆ _transforms

PJ::TransformsMap* ToolboxQuaternion::_transforms = nullptr
private

Definition at line 60 of file toolbox_quaternion.h.

◆ _widget

QWidget* ToolboxQuaternion::_widget
private

Definition at line 47 of file toolbox_quaternion.h.

◆ ui

Ui::quaternion_to_RPY* ToolboxQuaternion::ui
private

Definition at line 48 of file toolbox_quaternion.h.


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


plotjuggler
Author(s): Davide Faconti
autogenerated on Mon Nov 11 2024 03:23:51