IMP logo
IMP Reference Guide  2.16.0
The Integrative Modeling Platform
SlabWithCylindricalPoreGeometry.h
Go to the documentation of this file.
1 /**
2  * \file SlabWithCylindricalPoreGeometry.h
3  * \brief XXXXXXXXXXXXXX
4  *
5  * Copyright 2007-2021 IMP Inventors. All rights reserved.
6  */
7 
8 #ifndef IMPNPCTRANSPORT_SLAB_WITH_CYLINDRICAL_PORE_GEOMETRY_H
9 #define IMPNPCTRANSPORT_SLAB_WITH_CYLINDRICAL_PORE_GEOMETRY_H
10 
11 #include "npctransport_config.h"
12 #include <IMP/display/geometry.h>
14 
15 IMPNPCTRANSPORT_BEGIN_NAMESPACE
16 
17 //! XXXX
18 /** XXXXXX.
19  */
20 class IMPNPCTRANSPORTEXPORT SlabWithCylindricalPoreWireGeometry : public display::Geometry {
21  double height_, radius_, length_;
22 
23  public:
24  //! Slab with specified height from top to bottom, length x length area
25  //! and a cylindrical pore of specified radius
26  SlabWithCylindricalPoreWireGeometry(double height, double radius, double length);
27 
28  //! returns the set of geometric components that comprise this geometry
29  //! (for e.g. storing in RMF format)
31 
33 };
34 
35 class IMPNPCTRANSPORTEXPORT SlabWithCylindricalPoreSurfaceGeometry
37  public:
38  //! Slab with specified height from top to bottom, length x length area
39  //! and a cylindrical pore of specified radius
40  SlabWithCylindricalPoreSurfaceGeometry(double height, double radius, double length);
41 
42  //! returns the set of geometric components that comprise this geometry
43  //! (for e.g. storing in RMF format)
45 
46  private:
47  IMP::algebra::Vector3Ds vertices_;
48  Ints faces_;
49 };
50 
51 IMPNPCTRANSPORT_END_NAMESPACE
52 
53 #endif /* IMPNPCTRANSPORT_SLAB_WITH_CYLINDRICAL_PORE_GEOMETRY_H */
Vector< VectorD< 3 > > Vector3Ds
Definition: VectorD.h:423
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.
virtual IMP::display::Geometries get_components() const
Return a set of geometry composing this one.
Backwards compatibility header.
#define IMP_OVERRIDE
Cause a compile error if this method does not override a parent method.