QuaternionWidget Class Reference

#include <RobotAPI/gui-plugins/SkillManagerPlugin/aronTreeWidget/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 17 of file QuaternionWidget.h.

Member Enumeration Documentation

◆ QuaternionComponents

enum QuaternionComponents
strong
Enumerator

Definition at line 26 of file QuaternionWidget.h.

Constructor & Destructor Documentation

◆ QuaternionWidget()

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

Definition at line 44 of file QuaternionWidget.cpp.

Member Function Documentation

◆ DynamicCast()

QuaternionWidget * DynamicCast ( QWidget *  elem)
static

Definition at line 13 of file QuaternionWidget.cpp.

+ Here is the caller graph for this function:

◆ DynamicCastAndCheck()

QuaternionWidget * DynamicCastAndCheck ( QWidget *  elem)
static

Definition at line 19 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 39 of file QuaternionWidget.cpp.

◆ parseAllToNDArray()

std::vector< unsigned char > parseAllToNDArray ( )

Definition at line 123 of file QuaternionWidget.cpp.

◆ setText()

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

Definition at line 31 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: