IMP  2.0.0
The Integrative Modeling Platform
GeometrySet.h
Go to the documentation of this file.
1 /**
2  * \file IMP/display/GeometrySet.h
3  * \brief Implement geometry for the basic shapes from IMP.algebra.
4  *
5  * Copyright 2007-2013 IMP Inventors. All rights reserved.
6  */
7 
8 #ifndef IMPDISPLAY_GEOMETRY_SET_H
9 #define IMPDISPLAY_GEOMETRY_SET_H
10 
11 #include <IMP/display/display_config.h>
12 #include "declare_Geometry.h"
13 #include "geometry_macros.h"
14 
15 IMPDISPLAY_BEGIN_NAMESPACE
16 
17 /** \brief Group of set of geometric elements
18  */
19 class IMPDISPLAYEXPORT GeometrySet: public Geometry {
20  Geometries v_;
21  public:
22  GeometrySet(const Geometries &v);
23  GeometrySet(const Geometries &v, const Color &c);
24  GeometrySet(const Geometries &v, const std::string n);
25  GeometrySet(const Geometries &v, const Color &c, std::string n);
26  Geometries get_geometry() const {
27  return v_;
28  }
30 };
31 
32 IMPDISPLAY_END_NAMESPACE
33 
34 #endif /* IMPDISPLAY_GEOMETRY_SET_H */