Volume Cartographer 2.27.0
LineGenerator.hpp
Go to the documentation of this file.
1#pragma once
2
6
7namespace volcart
8{
9
16{
17public:
19 using Pointer = std::shared_ptr<LineGenerator>;
20
24
26 static Pointer New() { return std::make_shared<LineGenerator>(); }
30 Neighborhood::Extent extents() const override;
45 const Volume::Pointer& v,
46 const cv::Vec3d& pt,
47 const std::vector<cv::Vec3d>& axes) override;
49};
50
51} // namespace volcart
Class for generating line-like neighborhoods from a point in a Volume.
LineGenerator()
Default Constructor.
std::shared_ptr< LineGenerator > Pointer
Neighborhood::Extent extents() const override
Get the size of the neighborhood returned by this class.
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.
Definition: NDArray.hpp:29
std::vector< IndexType > Extent
Definition: NDArray.hpp:36
Base class for neighborhood generating classes.
std::shared_ptr< Volume > Pointer
Definition: Volume.hpp:42
Volume Cartographer library