17 #include <boost/smart_ptr.hpp>
34 const char *
what() const noexcept
override {
return _msg.c_str(); };
74 bool canonOrient =
false,
bool clearConfs =
true,
75 unsigned int nFlipsPerSample = 0,
unsigned int nSamples = 0,
76 int sampleSeed = 0,
bool permuteDeg4Nodes =
false,
bool forceRDKit =
false);
129 bool canonOrient =
true,
bool clearConfs =
true,
double weightDistMat = 0.5,
130 unsigned int nFlipsPerSample = 3,
unsigned int nSamples = 100,
131 int sampleSeed = 25,
bool permuteDeg4Nodes =
true,
bool forceRDKit =
false);
162 bool acceptFailure =
false,
bool forceRDKit =
false);
188 RDKit::ROMol *referencePattern =
nullptr,
bool acceptFailure =
false,
189 bool forceRDKit =
false);
~DepictException() noexcept
const char * what() const noexcept override
DepictException(const char *msg)
DepictException(const std::string msg)
#define RDKIT_DEPICTOR_EXPORT
boost::shared_array< double > DOUBLE_SMART_PTR
RDKIT_DEPICTOR_EXPORT void generateDepictionMatching3DStructure(RDKit::ROMol &mol, const RDKit::ROMol &reference, int confId=-1, RDKit::ROMol *referencePattern=nullptr, bool acceptFailure=false, bool forceRDKit=false)
Generate a 2D depiction for a molecule where all or part of.
RDKIT_DEPICTOR_EXPORT void generateDepictionMatching2DStructure(RDKit::ROMol &mol, const RDKit::ROMol &reference, int confId=-1, RDKit::ROMol *referencePattern=static_cast< RDKit::ROMol * >(nullptr), bool acceptFailure=false, bool forceRDKit=false)
Compute 2D coordinates where a piece of the molecule is.
RDKIT_DEPICTOR_EXPORT unsigned int compute2DCoords(RDKit::ROMol &mol, const RDGeom::INT_POINT2D_MAP *coordMap=nullptr, bool canonOrient=false, bool clearConfs=true, unsigned int nFlipsPerSample=0, unsigned int nSamples=0, int sampleSeed=0, bool permuteDeg4Nodes=false, bool forceRDKit=false)
Generate 2D coordinates (a depiction) for a molecule.
RDKIT_DEPICTOR_EXPORT unsigned int compute2DCoordsMimicDistMat(RDKit::ROMol &mol, const DOUBLE_SMART_PTR *dmat=nullptr, bool canonOrient=true, bool clearConfs=true, double weightDistMat=0.5, unsigned int nFlipsPerSample=3, unsigned int nSamples=100, int sampleSeed=25, bool permuteDeg4Nodes=true, bool forceRDKit=false)
Compute the 2D coordinates such the interatom distances.
RDKIT_DEPICTOR_EXPORT bool preferCoordGen
std::map< int, Point2D > INT_POINT2D_MAP