Workspace 6.21.5
|
Object group containing three floating point numbers. More...
#include <Mesh/Geometry/vector3dgroup.h>
Public Member Functions | |
Vector3dGroup () | |
Vector3dGroup (const Vector3d &v) | |
Vector3dGroup (const Vector3dGroup &v) | |
Vector3dGroup (double x, double y, double z) | |
Vector3dGroup * | clone () const override |
operator Vector3d () const | |
bool | operator== (const Vector3dGroup &v) const |
Public Member Functions inherited from ObjectGroup | |
~ObjectGroup () override | |
bool | add (const QString &name, DataObject &obj) |
bool | canSerialize () const override |
ObjectGroup * | clone () const override=0 |
bool | empty () const |
void | ensureGroupHasData () |
void | erase (int index) |
DataObject * | getChild (const QString &name) |
const DataObject * | getChild (const QString &name) const |
DataObject & | getDataObject (int index) |
const DataObject & | getDataObject (int index) const |
int | getIndex (const QString &name) const |
const QString & | getName (int index) const |
virtual QString | getPreferedWidget (const QString &name) const |
bool | hasData () const |
bool | haveName (const QString &name) const |
bool | insert (const QString &name, DataObject &obj, int index=-1) |
bool | load (const QJsonDocument &doc) |
bool | load (const SerializedItem &item) override |
bool | save (QJsonDocument &doc) const |
bool | save (SerializedItem &item) const override |
unsigned | size () const |
Public Member Functions inherited from Clonable | |
virtual | ~Clonable ()=default |
virtual Clonable * | clone () const =0 |
Public Member Functions inherited from Serialize | |
virtual | ~Serialize ()=default |
virtual bool | canSerialize () const =0 |
virtual bool | load (const SerializedItem &item)=0 |
virtual bool | save (SerializedItem &item) const =0 |
Public Attributes | |
DataExecution::TypedObject< double > | x |
DataExecution::TypedObject< double > | y |
DataExecution::TypedObject< double > | z |
Additional Inherited Members | |
Protected Member Functions inherited from ObjectGroup | |
ObjectGroup () | |
void | clear () |
ObjectGroup & | operator= (const ObjectGroup &rhs) |
bool | operator== (const ObjectGroup &rhs) const |
void | swap (ObjectGroup &rhs) |
This class is meant to hold a 3D vector. It would not be suitable for heavy-duty computation, but it has a conversion to Vector3d which would be more suitable for that purpose.
Vector3dGroup | ( | ) |
Vector3dGroup | ( | const Vector3dGroup & | v | ) |
Vector3dGroup | ( | double | x, |
double | y, | ||
double | z | ||
) |
Vector3dGroup | ( | const Vector3d & | v | ) |
|
overridevirtual |
We redeclare this function only so that the more derived return type is available without casting.
Implements ObjectGroup.
operator Vector3d | ( | ) | const |
bool operator== | ( | const Vector3dGroup & | v | ) | const |
DataExecution::TypedObject<double> x |
DataExecution::TypedObject<double> y |
DataExecution::TypedObject<double> z |