Volume Cartographer 2.27.0
CompositeTexture.hpp
Go to the documentation of this file.
1#pragma once
2
6
7namespace volcart::texturing
8{
9
25{
26public:
28 using Pointer = std::shared_ptr<CompositeTexture>;
29
31 static auto New() -> Pointer;
32
34 CompositeTexture() = default;
36 ~CompositeTexture() override = default;
42 auto operator=(const CompositeTexture&) -> CompositeTexture& = default;
45
47 enum class Filter {
49 Minimum = 0,
51 Maximum,
53 Median,
55 Mean,
57 MedianAverage
58 };
59
67
78 auto compute() -> Texture override;
81private:
84
87};
88} // namespace volcart::texturing
std::shared_ptr< NeighborhoodGenerator > Pointer
Generate a texture image using a variety of composite volume filters.
@ Maximum
Select the maximum intensity value.
NeighborhoodGenerator::Pointer gen_
std::shared_ptr< CompositeTexture > Pointer
CompositeTexture(CompositeTexture &&)=default
void setGenerator(NeighborhoodGenerator::Pointer g)
Set the Neighborhood generator.
CompositeTexture(CompositeTexture &)=default
auto compute() -> Texture override
Compute the Texture.
void setFilter(Filter f)
Set the filtering method.
static auto New() -> Pointer
auto operator=(const CompositeTexture &) -> CompositeTexture &=default
auto operator=(CompositeTexture &&) -> CompositeTexture &=default
Texturing and parameterization algorithms and utilities library.