IMP.bff
Loading...
Searching...
No Matches
Classes | Functions
PathMap.h File Reference
#include <IMP/bff/bff_config.h>
#include <stdlib.h>
#include <limits>
#include <cmath>
#include <algorithm>
#include <unordered_set>
#include <queue>
#include <vector>
#include <utility>
#include <Eigen/Dense>
#include <IMP/Object.h>
#include <IMP/Particle.h>
#include <IMP/core/XYZR.h>
#include <IMP/em/SampledDensityMap.h>
#include <IMP/em/MRCReaderWriter.h>
#include <IMP/em/XplorReaderWriter.h>
#include <IMP/em/EMReaderWriter.h>
#include <IMP/em/SpiderReaderWriter.h>
#include <IMP/bff/PathMapHeader.h>
#include <IMP/bff/PathMapTile.h>
#include <IMP/bff/PathMapTileEdge.h>
Include dependency graph for PathMap.h:

Go to the source code of this file.

Classes

class  PathMap
 

Functions

IMPEMEXPORT void write_path_map (PathMap *m, std::string filename, int value_type, const std::pair< float, float > bounds=std::pair< float, float >(std::numeric_limits< float >::min(), std::numeric_limits< float >::max()), const std::string &feature_name="")
 Writes a path map to a file.
 

Function Documentation

◆ write_path_map()

IMPEMEXPORT void write_path_map ( PathMap m,
std::string  filename,
int  value_type,
const std::pair< float, float >  bounds = std::pair< float, float >(std::numeric_limits< float >::min(), std::numeric_limits< float >::max()),
const std::string &  feature_name = "" 
)

Writes a path map to a file.

Guesses the file type from the file name. The supported file formats are:

  • .mrc/.map
  • .em
  • .vol
  • .xplor
Parameters
mThe PathMap object to write.
filenameThe name of the file to write to.
value_typeThe value type.
boundsThe bounds of the path map.
feature_nameThe name of the feature.