home
about
news
download
doc
source
systems
tests
bugs
contact
IMP Reference Guide
2.21.0
The Integrative Modeling Platform
IMP Manual
Reference Guide
Tutorial Index
Modules
Classes
Examples
include
IMP
npc
version 2.21.0
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
>
15
#include <
IMP/display/display_macros.h
>
16
17
IMPNPC_BEGIN_NAMESPACE
18
19
//! Geometry for displaying a wireframe model of the surface with a
20
//! spherical cap indent.
21
class
IMPNPCEXPORT
SlabWithSphericalIndentGeometry
:
public
display::Geometry
{
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
29
IMP_OBJECT_METHODS
(
SlabWithSphericalIndentGeometry
);
30
31
};
32
33
IMPNPC_END_NAMESPACE
34
35
#endif
/* IMPNPC_SLAB_WITH_SPHERICAL_INDENT_GEOMETRY_H */
IMP::display::Geometry
The base class for geometry.
Definition:
declare_Geometry.h:26
IMP_OBJECT_METHODS
#define IMP_OBJECT_METHODS(Name)
Define the basic things needed by any Object.
Definition:
object_macros.h:25
IMP::Vector< IMP::Pointer< Geometry > >
display_macros.h
macros for display classes
IMP::display::Geometry::get_components
virtual Geometries get_components() const
Return a set of geometry composing this one.
Definition:
declare_Geometry.h:48
geometry.h
Backwards compatibility header.
IMP::npc::SlabWithSphericalIndentGeometry
Definition:
SlabWithSphericalIndentGeometry.h:21