9 #ifndef IMPALGEBRA_GAUSSIAN3D_H
10 #define IMPALGEBRA_GAUSSIAN3D_H
12 #include <IMP/algebra/algebra_config.h>
17 #include <IMP/algebra/eigen3/Eigen/Dense>
19 IMPALGEBRA_BEGIN_NAMESPACE
34 : tr_(tr), variances_(variances) {}
37 const Vector3D &get_variances()
const {
return variances_; }
60 IMPALGEBRA_END_NAMESPACE
#define IMP_SHOWABLE_INLINE(Name, how_to_show)
Declare the methods needed by an object that can be printed.
DenseGrid3D< float > get_rasterized(const Gaussian3Ds &gmm, const Floats &weights, double cell_width, const BoundingBox3D &bb)
Rasterize the Gaussians to a grid.
IMP_Eigen::Matrix3d get_covariance(const Gaussian3D &g)
A Gaussian distribution in 3D.
#define IMP_VALUES(Name, PluralName)
Define the type for storing sets of values.
Base class for geometric types.
const Transformation3D & get_transformation_to() const
Gaussian3D get_gaussian_from_covariance(const IMP_Eigen::Matrix3d &covariance, const Vector3D ¢er)
Return a Gaussian centered at the origin from a covariance matrix.
All grids that are in the Python API should be defined here.