BccLatticePointGenerator.h
Go to the documentation of this file.
1 /*************************************************************************
2 > File Name: BccLatticPointGenerator.h
3 > Project Name: CubbyFlow
4 > Author: Chan-Ho Chris Ohk
5 > Purpose: Body-centered lattice points generator.
6 > Created Time: 2017/06/05
7 > Copyright (c) 2018, Chan-Ho Chris Ohk
8 *************************************************************************/
9 #ifndef CUBBYFLOW_BCC_LATTICE_POINT_GENERATOR_H
10 #define CUBBYFLOW_BCC_LATTICE_POINT_GENERATOR_H
11 
13 
14 namespace CubbyFlow
15 {
23  {
24  public:
32  void ForEachPoint(const BoundingBox3D& boundingBox, double spacing,
33  const std::function<bool(const Vector3D&)>& callback) const override;
34  };
35 
37  using BccLatticePointGeneratorPtr = std::shared_ptr<BccLatticePointGenerator>;
38 }
39 
40 #endif
3-D vector class.
Definition: Vector3.h:26
std::shared_ptr< BccLatticePointGenerator > BccLatticePointGeneratorPtr
Shared pointer type for the BccLatticePointGenerator.
Definition: BccLatticePointGenerator.h:37
Body-centered lattice points generator.
Definition: BccLatticePointGenerator.h:22
void ForEachPoint(const BoundingBox3D &boundingBox, double spacing, const std::function< bool(const Vector3D &)> &callback) const override
Invokes callback function for each BCC-lattice points inside boundingBox.
Definition: pybind11Utils.h:24
3-D axis-aligned bounding box class.
Definition: BoundingBox3.h:44
Abstract base class for 3-D point generator.
Definition: PointGenerator3.h:26