13#ifndef ML_SPHERE_LIST_H
14#define ML_SPHERE_LIST_H
68 std::vector<Sphere> objects;
Class representing general ML objects that support import/export via strings (setPersistentState() an...
Base object managing a list of Sphere objects.
void clear()
clear all entries
void addValue(const Sphere &obj)
add Sphere at end of list
Sphere getValue(MLssize_t index) const
get Sphere at given index
void getValue(MLssize_t index, Sphere &obj) const
get Sphere at given index
void removeValue(MLssize_t index=-1)
remove Sphere from list, if index is -1, last element is removed
void print(const char *txt)
debug print
Sphere * getPtr(MLssize_t index=-1)
get Pointer to Sphere at given index, if index is -1, last element is given
MLssize_t getNum() const
returns the number of contained Spheres
void setValue(MLssize_t index, const Sphere &obj)
set value at index
Defines the class to handle the geometry primitive "Sphere" with a radius and a center point.
#define MLBASEEXPORT
defined Header file mlBaseInit.h
Target mlrange_cast(Source arg)
Generic version of checked ML casts.
#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 which is a signed 32 bit size_t on 32 bit platforms and 64 bit one on 64 bit ...