Jet  v1.3.3
grid_point_generator3.h
Go to the documentation of this file.
1 // Copyright (c) 2018 Doyub Kim
2 //
3 // I am making my contributions/submissions to this project solely in my
4 // personal capacity and am not conveying any rights to any intellectual
5 // property of any third parties.
6 
7 #ifndef INCLUDE_JET_GRID_POINT_GENERATOR3_H_
8 #define INCLUDE_JET_GRID_POINT_GENERATOR3_H_
9 
10 #include <jet/point_generator3.h>
11 
12 namespace jet {
13 
17 class GridPointGenerator3 final : public PointGenerator3 {
18  public:
27  const BoundingBox3D& boundingBox,
28  double spacing,
29  const std::function<bool(const Vector3D&)>& callback) const;
30 };
31 
33 typedef std::shared_ptr<GridPointGenerator3> GridPointGenerator3Ptr;
34 
35 } // namespace jet
36 
37 #endif // INCLUDE_JET_GRID_POINT_GENERATOR3_H_
jet::BoundingBox< T, 3 >
3-D axis-aligned bounding box class.
Definition: bounding_box3.h:41
jet::PointGenerator3
Abstract base class for 3-D point generator.
Definition: point_generator3.h:25
jet
Definition: advection_solver2.h:18
jet::GridPointGenerator3Ptr
std::shared_ptr< GridPointGenerator3 > GridPointGenerator3Ptr
Shared pointer type for the GridPointGenerator3.
Definition: grid_point_generator3.h:33
point_generator3.h
jet::GridPointGenerator3
3-D regular-grid point generator.
Definition: grid_point_generator3.h:17
jet::Vector< T, 3 >
3-D vector class.
Definition: vector3.h:25
jet::GridPointGenerator3::forEachPoint
void forEachPoint(const BoundingBox3D &boundingBox, double spacing, const std::function< bool(const Vector3D &)> &callback) const
Invokes callback function for each regular grid points inside boundingBox.