19 using Pointer = std::shared_ptr<CuboidGenerator>;
26 static Pointer New() {
return std::make_shared<CuboidGenerator>(); }
50 const std::vector<cv::Vec3d>& axes)
override;
Class for generating box-like neighborhoods from a point in a Volume.
std::shared_ptr< CuboidGenerator > Pointer
Neighborhood::Extent extents() const override
Get the size of the neighborhood returned by this class.
CuboidGenerator()
Default Constructor.
Neighborhood compute(const Volume::Pointer &v, const cv::Vec3d &pt, const std::vector< cv::Vec3d > &axes) override
Compute a neighborhood centered on a point.
Dynamically-allocated N-Dimensional Array.
std::vector< IndexType > Extent
Base class for neighborhood generating classes.
std::shared_ptr< Volume > Pointer
Volume Cartographer library