20 #ifndef MIRTK_PointSamples_H 21 #define MIRTK_PointSamples_H 23 #include "mirtk/PointSet.h" 37 void *_RandomNumberGenerator;
59 int nx,
int ny,
int nz);
63 double dx,
double dy,
double dz);
66 void SampleGrid(
double x1,
double y1,
double z1,
67 double x2,
double y2,
double z2,
68 int nx,
int ny,
int nz);
71 void SampleGrid(
double x1,
double y1,
double z1,
72 double x2,
double y2,
double z2,
73 double dx,
double dy,
double dz);
107 void SampleSphere(
double cx,
double cy,
double cz,
double r);
118 double rx,
double ry,
double rz);
163 double rx,
double ry,
double rz);
208 double rx,
double ry,
double rz);
255 double sx,
double sy,
double sz);
262 #endif // MIRTK_PointSamples_H void SampleRegularSphere(double r=1.0)
Add regular spherical point samples.
PointSamples(int n=0, int seed=0)
void SampleSphere(double r=1.0)
Add uniform spherical point samples.
void SampleRegularHalfSphere(double r=1.0)
Add regular spherical point samples.
void SampleGaussian(double s=1.0)
virtual ~PointSamples()
Destructor.
void SampleGrid(const Point &p1, const Point &p2, int nx, int ny, int nz)
Sample axes-aligned uniform grid.