|
MeVisLab Toolbox Reference
|
Base object class XMarker (derived form baseItem) with 6D pos, 3D vec and type int. More...
#include <mlXMarkerList.h>
Public Member Functions | |
| XMarker & | operator= (const XMarker &marker) |
| Assignment operator. | |
| bool | operator== (const XMarker &marker) const |
| Equal operator. | |
Constructors | |
| XMarker () | |
| Default constructor. | |
| XMarker (const Vector3 &pos_) | |
| 3D-Position | |
| XMarker (const Vector6 &pos_) | |
| 6D-Position | |
| XMarker (const Vector6 &pos_, int type_) | |
| 6D-Position and type | |
| XMarker (const Vector6 &pos_, int type_, const char *name_) | |
| 6D-Position, type and name | |
| XMarker (const Vector6 &pos_, const Vector3 &vec_) | |
| 6D-Position and vector | |
| XMarker (const Vector6 &pos_, const Vector3 &vec_, int type_) | |
| 6D-Position, vector and type | |
| XMarker (const Vector6 &pos_, const Vector3 &vec_, int type_, const char *name_) | |
| 6D-Position, vector, type and name | |
| XMarker (const XMarker &marker) | |
| Copy constructor. | |
Direct coordinate access | |
| double & | x () |
| double & | y () |
| double & | z () |
| double & | c () |
| double & | t () |
| double & | u () |
| const double & | x () const |
| const double & | y () const |
| const double & | z () const |
| const double & | c () const |
| const double & | t () const |
| const double & | u () const |
| double | vx () const |
| double | vy () const |
| double | vz () const |
Persistence | |
Return a string representation of the item object. | |
| std::string | persistentState () const override |
| Return a string representation of the item object. | |
| void | setPersistentState (const std::string &state) override |
| Initialize the item object from the string state. | |
| void | addStateToTree (TreeNode *parent) const override |
| Add state to tree. | |
| ML_SET_ADDSTATE_VERSION (0) | |
| Set addState version number. | |
| void | readStateFromTree (TreeNode *parent) override |
| Read state from tree. | |
Public Member Functions inherited from ml::BaseItem | |
| void | setId (MLssize_t id) |
| Sets the id of the item. | |
| MLssize_t | getId () const |
| Sets the id of the item. | |
| ~BaseItem () override | |
| Destructor. | |
| BaseItem & | operator= (const BaseItem &item) |
| Assignment operator. | |
| const char * | name () const |
| Get name. | |
| void | setName (const char *newName) |
| Set name, object stores a copy. | |
| BaseItem * | deepCopy () const override |
| Create a deep copy of the BaseItem. | |
| BaseItem () | |
| Default constructor. | |
| BaseItem (MLssize_t id, const char *nameStr=nullptr) | |
| ID and name. | |
| BaseItem (const BaseItem &item) | |
| Copy constructor. | |
| ML_SET_ADDSTATE_VERSION (0) | |
| Set addState version number. | |
| void | writeTo (AbstractPersistenceOutputStream *stream) const override |
| write state to stream | |
| void | readFrom (AbstractPersistenceInputStream *stream, int version) override |
| read state from stream | |
Public Member Functions inherited from ml::Base | |
| Base () | |
| Constructor. | |
| virtual | ~Base () |
| Destructor. | |
| bool | isOfAllowedType (const std::vector< const RuntimeType * > &types) const |
| Checks whether this object's type is equal to or derived from one of the types given in the argument. | |
| virtual bool | isRefCountedBase () const |
| Returns whether the instance is derived from RefCountedBase. | |
| virtual std::string | detailString () const |
| Returns a string describing this object. | |
| virtual bool | implementsPersistence (PersistenceInterface) const |
| Override this method to declare which persistence interfaces are implemented by your derived class. | |
Public Attributes | |
Marker properties | |
| Vector6 | pos |
| Marker position. | |
| Vector3 | vec |
| Marker vector, relative to position. | |
| int | type |
| Marker type. | |
Additional Inherited Members | |
Public Types inherited from ml::Base | |
| enum | PersistenceInterface { PersistenceByString , PersistenceByTreeNode , PersistenceByStream } |
| This enum describes the different persistence interfaces available. More... | |
Protected Member Functions inherited from ml::BaseItem | |
| char * | newString (const std::string &str) const |
| Convenience method to create a copy of the string str allocated on the heap. | |
| void | deleteString (char *str) const |
| Dispose a string allocated with newString() | |
Base object class XMarker (derived form baseItem) with 6D pos, 3D vec and type int.
General marker class with the following properties:
Definition at line 51 of file mlXMarkerList.h.
|
inline |
Default constructor.
Definition at line 69 of file mlXMarkerList.h.
|
inline |
3D-Position
Definition at line 72 of file mlXMarkerList.h.
|
inline |
6D-Position
Definition at line 75 of file mlXMarkerList.h.
|
inline |
6D-Position and type
Definition at line 78 of file mlXMarkerList.h.
|
inline |
6D-Position, type and name
Definition at line 81 of file mlXMarkerList.h.
References ml::BaseItem::setName().
6D-Position and vector
Definition at line 85 of file mlXMarkerList.h.
6D-Position, vector and type
Definition at line 88 of file mlXMarkerList.h.
|
inline |
6D-Position, vector, type and name
Definition at line 91 of file mlXMarkerList.h.
References ml::BaseItem::setName().
|
inline |
Copy constructor.
Definition at line 95 of file mlXMarkerList.h.
|
overridevirtual |
Add state to tree.
Reimplemented from ml::BaseItem.
|
inline |
Definition at line 112 of file mlXMarkerList.h.
References ML_VC.
|
inline |
Definition at line 119 of file mlXMarkerList.h.
References ML_VC.
| ml::XMarker::ML_SET_ADDSTATE_VERSION | ( | 0 | ) |
Set addState version number.
|
inline |
|
overridevirtual |
Return a string representation of the item object.
Reimplemented from ml::BaseItem.
|
overridevirtual |
Read state from tree.
Reimplemented from ml::BaseItem.
|
overridevirtual |
Initialize the item object from the string state.
Reimplemented from ml::BaseItem.
|
inline |
Definition at line 113 of file mlXMarkerList.h.
References ML_VT.
|
inline |
Definition at line 120 of file mlXMarkerList.h.
References ML_VT.
|
inline |
Definition at line 114 of file mlXMarkerList.h.
References ML_VU.
|
inline |
Definition at line 121 of file mlXMarkerList.h.
References ML_VU.
|
inline |
Definition at line 123 of file mlXMarkerList.h.
References ML_VX.
|
inline |
Definition at line 124 of file mlXMarkerList.h.
References ML_VY.
|
inline |
Definition at line 125 of file mlXMarkerList.h.
References ML_VZ.
|
inline |
Definition at line 109 of file mlXMarkerList.h.
References ML_VX.
|
inline |
Definition at line 116 of file mlXMarkerList.h.
References ML_VX.
|
inline |
Definition at line 110 of file mlXMarkerList.h.
References ML_VY.
|
inline |
Definition at line 117 of file mlXMarkerList.h.
References ML_VY.
|
inline |
Definition at line 111 of file mlXMarkerList.h.
References ML_VZ.
|
inline |
Definition at line 118 of file mlXMarkerList.h.
References ML_VZ.
| Vector6 ml::XMarker::pos |
Marker position.
Definition at line 58 of file mlXMarkerList.h.
Referenced by ml::PCLMLTools::assignPointDataFromXMarker(), ml::PCLMLTools::assignPointDataFromXMarker(), ml::PCLMLTools::assignPointDataFromXMarker(), ml::PCLMLTools::assignPointDataFromXMarker(), ml::PCLMLTools::assignXMarkerFromPointData(), ml::PCLMLTools::assignXMarkerFromPointData(), ml::PCLMLTools::assignXMarkerFromPointData(), ml::PCLMLTools::assignXMarkerFromPointData(), and operator==().
| int ml::XMarker::type |
Marker type.
Definition at line 60 of file mlXMarkerList.h.
Referenced by ml::PCLMLTools::assignPointDataFromXMarker(), ml::PCLMLTools::assignPointDataFromXMarker(), ml::PCLMLTools::assignPointDataFromXMarker(), ml::PCLMLTools::assignXMarkerFromPointData(), ml::PCLMLTools::assignXMarkerFromPointData(), ml::PCLMLTools::assignXMarkerFromPointData(), and operator==().
| Vector3 ml::XMarker::vec |
Marker vector, relative to position.
Definition at line 59 of file mlXMarkerList.h.
Referenced by ml::PCLMLTools::assignPointDataFromXMarker(), ml::PCLMLTools::assignPointDataFromXMarker(), ml::PCLMLTools::assignPointDataFromXMarker(), ml::PCLMLTools::assignXMarkerFromPointData(), ml::PCLMLTools::assignXMarkerFromPointData(), ml::PCLMLTools::assignXMarkerFromPointData(), and operator==().