8 #ifndef IMPDISPLAY_PRIMITIVE_GEOMETRIES_H
9 #define IMPDISPLAY_PRIMITIVE_GEOMETRIES_H
11 #include <IMP/display/display_config.h>
24 #ifdef IMP_DISPLAY_USE_IMP_CGAL
25 #include <IMP/cgal/internal/polyhedrons.h>
28 IMPDISPLAY_BEGIN_NAMESPACE
59 IMP_DISPLAY_GEOMETRY_DECOMPOSABLE_DECL(
65 ReferenceFrameGeometries,
78 std::string get_text()
const {
return text_; }
93 std::string name =
"SurfaceMesh %1%");
98 const Ints &get_faces()
const {
return faces_; }
103 #ifdef IMP_DISPLAY_USE_IMP_CGAL
122 template <
int D,
class Storage,
class Value>
125 "IsosurfaceGeometry %1%") {}
147 IMPDISPLAY_END_NAMESPACE
#define IMP_DISPLAY_GEOMETRY_DECL(Name, Names, Type)
Define a geometric object using an IMP::algebra one.
The base class for geometry.
A voxel grid in d-dimensional space space.
macros for display classes
Implement geometry for the basic shapes from IMP.algebra.
Simple 3D ellipsoid class.
simple implementation of segments in 3D
Display a reference frame.
A bounding box in D dimensions.
simple implementation of a triangle in 3D
#define IMP_OBJECT_METHODS(Name)
Define the basic things needed by any Object.
virtual Geometries get_components() const
Return a set of geometry composing this one.
Display a plane as truncated to a bounding box.
All grids that are in the python API should be defined here.
Simple 3D rotation class.
Display an isosurface of a density map.
Display an isosurface of a density map.
A text label for a ball in space.