| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
#ifndef BALL_PYTHON_PYCOLORRGBAVECTOR_H |
| 8 |
#define BALL_PYTHON_PYCOLORRGBAVECTOR_H |
| 9 |
|
| 10 |
#ifndef BALL_COMMON_H |
| 11 |
# include <BALL/common.h> |
| 12 |
#endif |
| 13 |
|
| 14 |
#ifndef BALL_VIEW_DATATYPE_COLORRGBA_H |
| 15 |
# include <BALL/VIEW/DATATYPE/colorRGBA.h> |
| 16 |
#endif |
| 17 |
|
| 18 |
#include <vector> |
| 19 |
|
| 20 |
namespace BALL |
| 21 |
{ |
| 22 |
|
| 23 |
|
| 24 |
|
| 25 |
class PyColorRGBAVector |
| 26 |
: public std::vector<VIEW::ColorRGBA> |
| 27 |
{ |
| 28 |
public: |
| 29 |
|
| 30 |
BALL_CREATE(PyColorRGBAVector) |
| 31 |
|
| 32 |
|
| 33 |
|
| 34 |
|
| 35 |
|
| 36 |
|
| 37 |
|
| 38 |
typedef VIEW::ColorRGBA ValueType; |
| 39 |
|
| 40 |
|
| 41 |
|
| 42 |
typedef VIEW::ColorRGBA* PointerType; |
| 43 |
|
| 44 |
|
| 45 |
|
| 46 |
typedef std::vector<VIEW::ColorRGBA>::iterator Iterator; |
| 47 |
|
| 48 |
|
| 49 |
|
| 50 |
typedef std::vector<VIEW::ColorRGBA>::const_iterator ConstIterator; |
| 51 |
|
| 52 |
|
| 53 |
|
| 54 |
|
| 55 |
|
| 56 |
|
| 57 |
|
| 58 |
PyColorRGBAVector(); |
| 59 |
|
| 60 |
|
| 61 |
PyColorRGBAVector(const PyColorRGBAVector& c_vector); |
| 62 |
|
| 63 |
|
| 64 |
PyColorRGBAVector(const std::vector<VIEW::ColorRGBA>& c_vector); |
| 65 |
|
| 66 |
|
| 67 |
virtual ~PyColorRGBAVector() throw(); |
| 68 |
|
| 69 |
|
| 70 |
}; |
| 71 |
|
| 72 |
} |
| 73 |
|
| 74 |
#endif |