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.
Represent an ellipsoid in 3D.
The base class for geometry.
#define IMP_OBJECT_METHODS(Name)
Define the basic things needed by any Object.
A voxel grid in d-dimensional space.
macros for display classes
Represent a cylinder in 3D.
Represent a triangle in 3D.
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.
Represent a triangle in 3D.
Simple implementation of segments in 3D.
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.
#define IMP_OVERRIDE
Cause a compile error if this method does not override a parent method.
A text label for a ball in space.