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

Calculate the L2 and LInf stretch between a 2D and 3D mesh. More...

#include <vc/graph/texturing.hpp>

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

Public Member Functions

 FlatteningErrorNode ()
 

Public Attributes

smgl::InputPort< ITKMesh::Pointer > mesh3D
 Input mesh (3D) More...
 
smgl::InputPort< ITKMesh::Pointer > mesh2D
 Input mesh (2D) More...
 
smgl::OutputPort< Metricserror
 Calculated error metrics. More...
 

Private Types

using Metrics = texturing::LStretchMetrics
 

Private Member Functions

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

Private Attributes

ITKMesh::Pointer mesh3D_ {nullptr}
 
ITKMesh::Pointer mesh2D_ {nullptr}
 
Metrics error_ {}
 

Detailed Description

Calculate the L2 and LInf stretch between a 2D and 3D mesh.

See also
texturing::LStretch()

Definition at line 117 of file texturing.hpp.

Member Typedef Documentation

◆ Metrics

Metrics type alias

Definition at line 121 of file texturing.hpp.

Constructor & Destructor Documentation

◆ FlatteningErrorNode()

volcart::FlatteningErrorNode::FlatteningErrorNode ( )

Constructor

Member Function Documentation

◆ deserialize_()

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

smgl custom deserialization

◆ serialize_()

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

smgl custom serialization

Member Data Documentation

◆ error

smgl::OutputPort<Metrics> volcart::FlatteningErrorNode::error

Calculated error metrics.

Definition at line 135 of file texturing.hpp.

◆ error_

Metrics volcart::FlatteningErrorNode::error_ {}
private

Resulting error metrics

Definition at line 127 of file texturing.hpp.

◆ mesh2D

smgl::InputPort<ITKMesh::Pointer> volcart::FlatteningErrorNode::mesh2D

Input mesh (2D)

Definition at line 133 of file texturing.hpp.

◆ mesh2D_

ITKMesh::Pointer volcart::FlatteningErrorNode::mesh2D_ {nullptr}
private

Input 2D mesh

Definition at line 125 of file texturing.hpp.

◆ mesh3D

smgl::InputPort<ITKMesh::Pointer> volcart::FlatteningErrorNode::mesh3D

Input mesh (3D)

Definition at line 131 of file texturing.hpp.

◆ mesh3D_

ITKMesh::Pointer volcart::FlatteningErrorNode::mesh3D_ {nullptr}
private

Input 3D mesh

Definition at line 123 of file texturing.hpp.


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