1 #ifndef _ots_Visual3DGeometry_h
2 #define _ots_Visual3DGeometry_h
4 #include "otsdaq-core/MonicelliInterface/Visual3DEvent.h"
17 Point& operator*(
double factor){this->x*=factor;this->y*=factor;this->z*=factor;
return *
this;}
20 typedef std::vector<Point> Points;
34 typedef std::vector<Visual3DShape> Visual3DShapes;
42 void reset(
void){theShapes_.clear();}
45 void addShape(
const Visual3DShape& shape) {theShapes_.push_back(shape);}
47 const Visual3DShapes& getShapes(
void)
const {
return theShapes_;}
50 Visual3DShapes theShapes_;