13 #ifndef ML_MARKER_LIST_H
14 #define ML_MARKER_LIST_H
66 std::vector<Vector4> points;
Class representing general ML objects that support import/export via strings (setPersistentState() an...
Base object class MarkerList managing a list of markers represented by Vector4's.
void addValue(int type, const Vector3 &vec)
add marker at end of list
void setValue(MLssize_t index, int type, const Vector3 &vec)
set value at index
void getValue(MLssize_t index, int &type, Vector3 &vec) const
get marker at given index
void print(const char *txt)
debug print
void removeValue(MLssize_t index=-1)
remove point from list, if index is -1, last element is removed
void clear()
clear all entries
void getValue(MLssize_t index, int &type, float &x, float &y, float &z) const
get point at given index
MLssize_t getNum() const
returns the number of contained points
#define MLBASEEXPORT
defined Header file mlBaseInit.h
#define ML_CLASS_HEADER(className)
Same like ML_CLASS_HEADER_EXPORTED with a non-existing export symbol.
SSIZE_T MLssize_t
The signed ML size type that is a signed 32-bit size_t on 32-bit platforms and 64-bit one on 64-bit p...