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

Generate a Texture of layered images. More...

#include <vc/graph/texturing.hpp>

Inheritance diagram for volcart::LayerTextureNode:
[legend]
Collaboration diagram for volcart::LayerTextureNode:
[legend]

Public Member Functions

 LayerTextureNode ()
 

Public Attributes

smgl::InputPort< PerPixelMap::Pointerppm
 Input PerPixelMap. More...
 
smgl::InputPort< Volume::Pointervolume
 Input Volume. More...
 
smgl::InputPort< Generatorgenerator
 Neighborhood generator. More...
 
smgl::OutputPort< ImageListtexture
 Generated texture image. More...
 

Private Types

using ImageList = std::vector< cv::Mat >
 
using TAlgo = texturing::LayerTexture
 
using Generator = NeighborhoodGenerator::Pointer
 

Private Member Functions

auto serialize_ (bool useCache, const filesystem::path &cacheDir) -> smgl::Metadata override
 
void deserialize_ (const smgl::Metadata &meta, const filesystem::path &cacheDir) override
 

Private Attributes

TAlgo textureGen_
 
ImageList texture_
 

Detailed Description

Generate a Texture of layered images.

See also
texturing::LayerTexture

Definition at line 550 of file texturing.hpp.

Member Typedef Documentation

◆ Generator

Generator class type

Definition at line 558 of file texturing.hpp.

◆ ImageList

using volcart::LayerTextureNode::ImageList = std::vector<cv::Mat>
private

Image list type

Definition at line 554 of file texturing.hpp.

◆ TAlgo

Algorithm class type

Definition at line 556 of file texturing.hpp.

Constructor & Destructor Documentation

◆ LayerTextureNode()

volcart::LayerTextureNode::LayerTextureNode ( )

Constructor

Member Function Documentation

◆ deserialize_()

void volcart::LayerTextureNode::deserialize_ ( const smgl::Metadata &  meta,
const filesystem::path &  cacheDir 
)
overrideprivate

smgl custom deserialization

◆ serialize_()

auto volcart::LayerTextureNode::serialize_ ( bool  useCache,
const filesystem::path &  cacheDir 
) -> smgl::Metadata
overrideprivate

smgl custom serialization

Member Data Documentation

◆ generator

smgl::InputPort<Generator> volcart::LayerTextureNode::generator

Neighborhood generator.

Exceptions
std::runtime_errorIf the provided generator is not a LineGenerator.

Definition at line 575 of file texturing.hpp.

◆ ppm

smgl::InputPort<PerPixelMap::Pointer> volcart::LayerTextureNode::ppm

Input PerPixelMap.

Definition at line 566 of file texturing.hpp.

◆ texture

smgl::OutputPort<ImageList> volcart::LayerTextureNode::texture

Generated texture image.

Definition at line 577 of file texturing.hpp.

◆ texture_

ImageList volcart::LayerTextureNode::texture_
private

Output layer images

Definition at line 562 of file texturing.hpp.

◆ textureGen_

TAlgo volcart::LayerTextureNode::textureGen_
private

Texturing algorithm

Definition at line 560 of file texturing.hpp.

◆ volume

smgl::InputPort<Volume::Pointer> volcart::LayerTextureNode::volume

Input Volume.

Definition at line 568 of file texturing.hpp.


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