Volume Cartographer 2.27.0
LayerTexture.hpp
Go to the documentation of this file.
1#pragma once
2
6
8
9namespace volcart::texturing
10{
27{
28public:
30 using Pointer = std::shared_ptr<LayerTexture>;
31
33 static auto New() -> Pointer;
34
36 LayerTexture() = default;
38 ~LayerTexture() override = default;
44 auto operator=(const LayerTexture&) -> LayerTexture& = default;
46 auto operator=(LayerTexture&&) -> LayerTexture& = default;
47
53 void setGenerator(LineGenerator::Pointer g) { gen_ = std::move(g); }
54
57 auto compute() -> Texture override;
59private:
62};
63
64} // namespace volcart::texturing
std::shared_ptr< LineGenerator > Pointer
Generate a Texture of layered images.
auto operator=(const LayerTexture &) -> LayerTexture &=default
std::shared_ptr< LayerTexture > Pointer
auto operator=(LayerTexture &&) -> LayerTexture &=default
LayerTexture(LayerTexture &)=default
auto compute() -> Texture override
Compute the Texture.
~LayerTexture() override=default
LineGenerator::Pointer gen_
void setGenerator(LineGenerator::Pointer g)
Set the Neighborhood generator.
LayerTexture(LayerTexture &&)=default
static auto New() -> Pointer
Texturing and parameterization algorithms and utilities library.