IMP logo
IMP Reference Guide  2.22.0
The Integrative Modeling Platform
SlabWithSphericalIndentGeometry.h
Go to the documentation of this file.
1 /**
2  * \file IMP/npc/SlabWithSphericalIndentGeometry.h
3  * \brief A geometry for displaying a wireframe model of the surface
4  * with a spherical cap indent.
5  *
6  * Copyright 2007-2024 IMP Inventors. All rights reserved.
7  *
8  * */
9 
10 #ifndef IMPNPC_SLAB_WITH_SPHERICAL_INDENT_GEOMETRY_H
11 #define IMPNPC_SLAB_WITH_SPHERICAL_INDENT_GEOMETRY_H
12 
13 #include "npc_config.h"
14 #include <IMP/display/geometry.h>
16 
17 IMPNPC_BEGIN_NAMESPACE
18 
19 //! Geometry for displaying a wireframe model of the surface with a
20 //! spherical cap indent.
22  double radius_, depth_, length_;
23 
24 public:
25  SlabWithSphericalIndentGeometry(double radius, double depth, double length);
26 
27  virtual IMP::display::Geometries get_components() const override;
28 
30 
31 };
32 
33 IMPNPC_END_NAMESPACE
34 
35 #endif /* IMPNPC_SLAB_WITH_SPHERICAL_INDENT_GEOMETRY_H */
The base class for geometry.
#define IMP_OBJECT_METHODS(Name)
Define the basic things needed by any Object.
Definition: object_macros.h:25
macros for display classes
virtual Geometries get_components() const
Return a set of geometry composing this one.
Backwards compatibility header.