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

Generates a PerPixelMap from an ITKMesh and a UVMap. More...

#include <vc/graph/texturing.hpp>

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

Public Types

using Shading = PPMGen::Shading
 Pixel normal shading method. More...
 

Public Member Functions

 PPMGeneratorNode ()
 

Public Attributes

smgl::InputPort< ITKMesh::Pointer > mesh
 Input mesh. More...
 
smgl::InputPort< UVMap::PointeruvMap
 Input UVMap. More...
 
smgl::InputPort< Shadingshading
 Pixel normal shading method. More...
 
smgl::OutputPort< PerPixelMap::Pointerppm
 Output PerPixelMap. More...
 

Private Types

using PPMGen = texturing::PPMGenerator
 

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

PPMGen ppmGen_
 
PPMGen::Shading shading_ {PPMGen::Shading::Smooth}
 
PerPixelMap::Pointer ppm_
 

Detailed Description

Generates a PerPixelMap from an ITKMesh and a UVMap.

See also
texturing::PPMGenerator

Definition at line 208 of file texturing.hpp.

Member Typedef Documentation

◆ PPMGen

Generator class type

Definition at line 212 of file texturing.hpp.

◆ Shading

Pixel normal shading method.

See also
PPMGen::Shading

Definition at line 225 of file texturing.hpp.

Constructor & Destructor Documentation

◆ PPMGeneratorNode()

volcart::PPMGeneratorNode::PPMGeneratorNode ( )

Constructor

Member Function Documentation

◆ deserialize_()

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

smgl custom deserialization

◆ serialize_()

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

smgl custom serialization

Member Data Documentation

◆ mesh

smgl::InputPort<ITKMesh::Pointer> volcart::PPMGeneratorNode::mesh

Input mesh.

Definition at line 227 of file texturing.hpp.

◆ ppm

smgl::OutputPort<PerPixelMap::Pointer> volcart::PPMGeneratorNode::ppm

Output PerPixelMap.

Definition at line 233 of file texturing.hpp.

◆ ppm_

PerPixelMap::Pointer volcart::PPMGeneratorNode::ppm_
private

Output PPM

Definition at line 218 of file texturing.hpp.

◆ ppmGen_

PPMGen volcart::PPMGeneratorNode::ppmGen_
private

Generator

Definition at line 214 of file texturing.hpp.

◆ shading

smgl::InputPort<Shading> volcart::PPMGeneratorNode::shading

Pixel normal shading method.

Definition at line 231 of file texturing.hpp.

◆ shading_

PPMGen::Shading volcart::PPMGeneratorNode::shading_ {PPMGen::Shading::Smooth}
private

Shading method

Definition at line 216 of file texturing.hpp.

◆ uvMap

smgl::InputPort<UVMap::Pointer> volcart::PPMGeneratorNode::uvMap

Input UVMap.

Definition at line 229 of file texturing.hpp.


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