Volume Cartographer 2.27.0
Public Types | Public Member Functions | Static Public Member Functions | Private Attributes | List of all members
volcart::texturing::LayerTexture Class Reference

Generate a Texture of layered images. More...

#include <vc/texturing/LayerTexture.hpp>

Inheritance diagram for volcart::texturing::LayerTexture:
[legend]
Collaboration diagram for volcart::texturing::LayerTexture:
[legend]

Public Types

using Pointer = std::shared_ptr< LayerTexture >
 
- Public Types inherited from volcart::texturing::TexturingAlgorithm
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...
 
- Public Member Functions inherited from volcart::texturing::TexturingAlgorithm
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

- Public Attributes inherited from volcart::IterationsProgress
Signal progressStarted
 
Signal< std::size_t > progressUpdated
 
Signal progressComplete
 
- Protected Member Functions inherited from volcart::texturing::TexturingAlgorithm
 TexturingAlgorithm ()=default
 
 TexturingAlgorithm (TexturingAlgorithm &)=default
 
 TexturingAlgorithm (TexturingAlgorithm &&)=default
 
auto operator= (const TexturingAlgorithm &) -> TexturingAlgorithm &=default
 
auto operator= (TexturingAlgorithm &&) -> TexturingAlgorithm &=default
 
- Protected Attributes inherited from volcart::texturing::TexturingAlgorithm
PerPixelMap::Pointer ppm_
 
Volume::Pointer vol_
 
Texture result_
 

Detailed Description

Generate a Texture of layered images.

Author
Seth Parker
Date
11/24/2016

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.

Member Typedef Documentation

◆ Pointer

Pointer type

Definition at line 30 of file LayerTexture.hpp.

Constructor & Destructor Documentation

◆ LayerTexture() [1/3]

volcart::texturing::LayerTexture::LayerTexture ( )
default

Default constructor

◆ ~LayerTexture()

volcart::texturing::LayerTexture::~LayerTexture ( )
overridedefault

Default destructor

◆ LayerTexture() [2/3]

volcart::texturing::LayerTexture::LayerTexture ( LayerTexture )
default

Default copy constructor

◆ LayerTexture() [3/3]

volcart::texturing::LayerTexture::LayerTexture ( LayerTexture &&  )
default

Default move constructor

Member Function Documentation

◆ compute()

auto volcart::texturing::LayerTexture::compute ( ) -> Texture
overridevirtual

Compute the Texture.

Implements volcart::texturing::TexturingAlgorithm.

◆ New()

static auto volcart::texturing::LayerTexture::New ( ) -> Pointer
static

Make shared pointer

◆ operator=() [1/2]

auto volcart::texturing::LayerTexture::operator= ( const LayerTexture ) -> LayerTexture &=default
default

Default copy operator

◆ operator=() [2/2]

auto volcart::texturing::LayerTexture::operator= ( LayerTexture &&  ) -> LayerTexture &=default
default

Default move operator

◆ setGenerator()

void volcart::texturing::LayerTexture::setGenerator ( LineGenerator::Pointer  g)
inline

Set the Neighborhood generator.

This class only supports LineGenerator

Definition at line 53 of file LayerTexture.hpp.

Member Data Documentation

◆ gen_

LineGenerator::Pointer volcart::texturing::LayerTexture::gen_
private

Neighborhood Generator

Definition at line 61 of file LayerTexture.hpp.


The documentation for this class was generated from the following file: