QuaternionWidget Class Reference

#include <RobotAPI/libraries/skills_gui/aron_tree_widget/widgets/QuaternionWidget.h>

+ Inheritance diagram for QuaternionWidget:

Public Types

enum  QuaternionComponents { X = 0, Y, Z, W }
 

Public Member Functions

std::string getText (QuaternionComponents col)
 
bool hasParseErrors ()
 
std::vector< unsigned char > parseAllToNDArray ()
 
 QuaternionWidget (aron::type::quaternion::ElementType type, QTreeWidgetItem *currentItem)
 
void setText (QuaternionComponents col, const std::string &str)
 
- Public Member Functions inherited from CustomWidget
 CustomWidget (QTreeWidgetItem *overlayingItem)
 
virtual void setSupressSignals (bool doSupress)
 

Static Public Member Functions

static QuaternionWidgetDynamicCast (QWidget *)
 
static QuaternionWidgetDynamicCastAndCheck (QWidget *)
 
- Static Public Member Functions inherited from CustomWidget
static CustomWidgetDynamicCast (QWidget *)
 
static CustomWidgetDynamicCastAndCheck (QWidget *)
 

Additional Inherited Members

- Signals inherited from CustomWidget
void elemChanged (QTreeWidgetItem *elem, int col)
 
- Protected Attributes inherited from CustomWidget
QTreeWidgetItem * overlayingItem
 

Detailed Description

Definition at line 16 of file QuaternionWidget.h.

Member Enumeration Documentation

◆ QuaternionComponents

enum QuaternionComponents
strong
Enumerator

Definition at line 25 of file QuaternionWidget.h.

Constructor & Destructor Documentation

◆ QuaternionWidget()

QuaternionWidget ( aron::type::quaternion::ElementType  type,
QTreeWidgetItem *  currentItem 
)

Definition at line 45 of file QuaternionWidget.cpp.

Member Function Documentation

◆ DynamicCast()

QuaternionWidget * DynamicCast ( QWidget *  elem)
static

Definition at line 14 of file QuaternionWidget.cpp.

+ Here is the caller graph for this function:

◆ DynamicCastAndCheck()

QuaternionWidget * DynamicCastAndCheck ( QWidget *  elem)
static

Definition at line 20 of file QuaternionWidget.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ getText()

std::string getText ( QuaternionComponents  col)

◆ hasParseErrors()

bool hasParseErrors ( )

Definition at line 40 of file QuaternionWidget.cpp.

◆ parseAllToNDArray()

std::vector< unsigned char > parseAllToNDArray ( )

Definition at line 124 of file QuaternionWidget.cpp.

◆ setText()

void setText ( QuaternionComponents  col,
const std::string &  str 
)

Definition at line 32 of file QuaternionWidget.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

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