IMP logo
IMP Reference Guide  develop.7482b7c7af, 2026/12/05
The Integrative Modeling Platform
model_interaction.h
Go to the documentation of this file.
1/**
2 * \file IMP/em2d/model_interaction.h
3 * \brief operations implying interaction of models and the EM module
4 *
5 * Copyright 2007-2022 IMP Inventors. All rights reserved.
6*/
7
8#ifndef IMPEM2D_MODEL_INTERACTION_H
9#define IMPEM2D_MODEL_INTERACTION_H
10
11#include <IMP/em2d/em2d_config.h>
12#include "IMP/em/DensityMap.h"
17#include "IMP/atom/pdb.h"
18#include "IMP/atom/Hierarchy.h"
19#include "IMP/atom/Chain.h"
20#include "IMP/atom/Residue.h"
21#include "IMP/atom/Atom.h"
22#include "IMP/core/XYZ.h"
23#include "IMP/core.h"
24#include "IMP/Pointer.h"
25#include "IMP.h"
26#include <typeinfo>
27
28IMPEM2D_BEGIN_NAMESPACE
29
30//! Generate a PDB file from a set of Vector2D (all the points are C-alpha) and
31//! the Z coordinate is set to 0.
32/*!
33 \note This version deals with the problem of having more than 10000 points
34*/
35IMPEM2DEXPORT void write_vectors_as_pdb(const algebra::Vector2Ds vs,
36 const String filename);
37
38IMPEM2DEXPORT void write_vectors_as_pdb(const algebra::Vector3Ds vs,
39 const String filename);
40
41IMPEM2D_END_NAMESPACE
42
43#endif /* IMPEM2D_MODEL_INTERACTION_H */
Simple atom decorator.
Store the chain ID.
Class for handling density maps.
Include all non-deprecated headers in IMP.
An abstract class for reading a map.
A nullptr-initialized pointer to an IMP Object.
A decorator for Residues.
Sampled density map.
Simple 2D vector class.
Simple XYZ decorator.
Simple 3D vector class.
Decorator for helping deal with a hierarchy of molecules.
Include all non-deprecated headers in IMP.core.
void write_vectors_as_pdb(const algebra::Vector2Ds vs, const String filename)
Vector< VectorD< 3 > > Vector3Ds
Definition VectorD.h:409
Vector< VectorD< 2 > > Vector2Ds
Definition VectorD.h:405
std::string String
Basic string value.
Definition types.h:43
Functions to read PDBs.