Volume Cartographer 2.27.0
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Modules Pages
Public Types | Public Member Functions | Public Attributes | Private Types | Private Member Functions | Private Attributes | List of all members
volcart::NeighborhoodGeneratorNode Class Reference

Configure a NeighborhoodGenerator for use by a texturing algorithm. More...

#include <vc/graph/texturing.hpp>

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

Public Types

enum class  Shape { Line = 0 , Cuboid }
 Neighborhood shape. More...
 

Public Member Functions

 NeighborhoodGeneratorNode ()
 

Public Attributes

smgl::InputPort< Shapeshape
 Neighborhood shape. More...
 
smgl::InputPort< cv::Vec3d > radius
 3D neighborhood radius More...
 
smgl::InputPort< double > interval
 Sampling rate along the radius. More...
 
smgl::InputPort< Directiondirection
 Sampling direction. More...
 
smgl::OutputPort< Generator::Pointergenerator
 Configured neighborhood generator. More...
 

Private Types

using Generator = NeighborhoodGenerator
 

Private Member Functions

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

Private Attributes

Shape shape_ {Shape::Line}
 
cv::Vec3d radius_ {1, 1, 1}
 
double interval_ {1}
 
Direction dir_ {Direction::Bidirectional}
 
Generator::Pointer gen_
 

Detailed Description

Configure a NeighborhoodGenerator for use by a texturing algorithm.

Definition at line 294 of file texturing.hpp.

Member Typedef Documentation

◆ Generator

Generator class type

Definition at line 307 of file texturing.hpp.

Member Enumeration Documentation

◆ Shape

Neighborhood shape.

Enumerator
Line 
See also
LineGenerator
Cuboid 
See also
CuboidGenerator

Definition at line 298 of file texturing.hpp.

Constructor & Destructor Documentation

◆ NeighborhoodGeneratorNode()

volcart::NeighborhoodGeneratorNode::NeighborhoodGeneratorNode ( )

Constructor

Member Function Documentation

◆ deserialize_()

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

smgl custom deserialization

◆ serialize_()

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

smgl custom serialization

Member Data Documentation

◆ dir_

Direction volcart::NeighborhoodGeneratorNode::dir_ {Direction::Bidirectional}
private

Sampling direction

Definition at line 315 of file texturing.hpp.

◆ direction

smgl::InputPort<Direction> volcart::NeighborhoodGeneratorNode::direction

Sampling direction.

See also
Direction

Definition at line 330 of file texturing.hpp.

◆ gen_

Generator::Pointer volcart::NeighborhoodGeneratorNode::gen_
private

Generator

Definition at line 317 of file texturing.hpp.

◆ generator

smgl::OutputPort<Generator::Pointer> volcart::NeighborhoodGeneratorNode::generator

Configured neighborhood generator.

Definition at line 332 of file texturing.hpp.

◆ interval

smgl::InputPort<double> volcart::NeighborhoodGeneratorNode::interval

Sampling rate along the radius.

Definition at line 325 of file texturing.hpp.

◆ interval_

double volcart::NeighborhoodGeneratorNode::interval_ {1}
private

Sampling interval

Definition at line 313 of file texturing.hpp.

◆ radius

smgl::InputPort<cv::Vec3d> volcart::NeighborhoodGeneratorNode::radius

3D neighborhood radius

Definition at line 323 of file texturing.hpp.

◆ radius_

cv::Vec3d volcart::NeighborhoodGeneratorNode::radius_ {1, 1, 1}
private

3D neighborhood radius

Definition at line 311 of file texturing.hpp.

◆ shape

smgl::InputPort<Shape> volcart::NeighborhoodGeneratorNode::shape

Neighborhood shape.

Definition at line 321 of file texturing.hpp.

◆ shape_

Shape volcart::NeighborhoodGeneratorNode::shape_ {Shape::Line}
private

Neighborhood shape

Definition at line 309 of file texturing.hpp.


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