Volume Cartographer 2.27.0
|
Generate a Texture of layered images. More...
#include <vc/texturing/LayerTexture.hpp>
Public Types | |
using | Pointer = std::shared_ptr< LayerTexture > |
![]() | |
using | Pointer = std::shared_ptr< TexturingAlgorithm > |
using | Texture = std::vector< cv::Mat > |
Public Member Functions | |
LayerTexture ()=default | |
~LayerTexture () override=default | |
LayerTexture (LayerTexture &)=default | |
LayerTexture (LayerTexture &&)=default | |
auto | operator= (const LayerTexture &) -> LayerTexture &=default |
auto | operator= (LayerTexture &&) -> LayerTexture &=default |
void | setGenerator (LineGenerator::Pointer g) |
Set the Neighborhood generator. More... | |
auto | compute () -> Texture override |
Compute the Texture. More... | |
![]() | |
virtual | ~TexturingAlgorithm ()=default |
void | setPerPixelMap (PerPixelMap::Pointer ppm) |
Set the input PerPixelMap. | |
void | setVolume (Volume::Pointer vol) |
Set the input Volume. | |
virtual auto | compute () -> Texture=0 |
Compute the Texture. More... | |
auto | getTexture () -> Texture |
Get the generated Texture. | |
auto | progressIterations () const -> std::size_t override |
Returns the maximum progress value. More... | |
virtual std::size_t | progressIterations () const =0 |
Static Public Member Functions | |
static auto | New () -> Pointer |
Private Attributes | |
LineGenerator::Pointer | gen_ |
Additional Inherited Members | |
![]() | |
Signal | progressStarted |
Signal< std::size_t > | progressUpdated |
Signal | progressComplete |
![]() | |
TexturingAlgorithm ()=default | |
TexturingAlgorithm (TexturingAlgorithm &)=default | |
TexturingAlgorithm (TexturingAlgorithm &&)=default | |
auto | operator= (const TexturingAlgorithm &) -> TexturingAlgorithm &=default |
auto | operator= (TexturingAlgorithm &&) -> TexturingAlgorithm &=default |
![]() | |
PerPixelMap::Pointer | ppm_ |
Volume::Pointer | vol_ |
Texture | result_ |
Generate a Texture of layered images.
The Texture generated by this class contains multiple texture images. Each image is the projection of the mesh some distance through the Volume along each point's surface normal. For well-formed meshes and parameterizations, this amounts to resampling the Volume into a flattened subvolume with the segmentation mesh forming a straight line at its center.
Definition at line 26 of file LayerTexture.hpp.
using volcart::texturing::LayerTexture::Pointer = std::shared_ptr<LayerTexture> |
Pointer type
Definition at line 30 of file LayerTexture.hpp.
|
default |
Default constructor
|
overridedefault |
Default destructor
|
default |
Default copy constructor
|
default |
Default move constructor
|
overridevirtual |
Compute the Texture.
Implements volcart::texturing::TexturingAlgorithm.
|
static |
Make shared pointer
|
default |
Default copy operator
|
default |
Default move operator
|
inline |
Set the Neighborhood generator.
This class only supports LineGenerator
Definition at line 53 of file LayerTexture.hpp.
|
private |
Neighborhood Generator
Definition at line 61 of file LayerTexture.hpp.