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

Read a PerPixelMap from disk. More...

#include <vc/graph/core.hpp>

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

Public Member Functions

 LoadPPMNode ()
 

Public Attributes

smgl::InputPort< filesystem::path > path
 Input path. More...
 
smgl::InputPort< bool > cacheArgs
 Include the loaded file in the graph cache. More...
 
smgl::OutputPort< PerPixelMap::Pointerppm
 Loaded PerPixelMap. More...
 

Private Member Functions

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

Private Attributes

filesystem::path path_ {}
 
bool cacheArgs_ {false}
 
PerPixelMap::Pointer ppm_ {}
 

Detailed Description

Read a PerPixelMap from disk.

See also
PerPixelMap::ReadPPM()

Definition at line 624 of file core.hpp.

Constructor & Destructor Documentation

◆ LoadPPMNode()

volcart::LoadPPMNode::LoadPPMNode ( )

Constructor

Member Function Documentation

◆ deserialize_()

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

smgl custom deserialization

◆ serialize_()

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

smgl custom serialization

Member Data Documentation

◆ cacheArgs

smgl::InputPort<bool> volcart::LoadPPMNode::cacheArgs

Include the loaded file in the graph cache.

Definition at line 638 of file core.hpp.

◆ cacheArgs_

bool volcart::LoadPPMNode::cacheArgs_ {false}
private

Include the loaded file in the graph cache

Definition at line 630 of file core.hpp.

◆ path

smgl::InputPort<filesystem::path> volcart::LoadPPMNode::path

Input path.

Definition at line 636 of file core.hpp.

◆ path_

filesystem::path volcart::LoadPPMNode::path_ {}
private

File path

Definition at line 628 of file core.hpp.

◆ ppm

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

Loaded PerPixelMap.

Definition at line 640 of file core.hpp.

◆ ppm_

PerPixelMap::Pointer volcart::LoadPPMNode::ppm_ {}
private

Loaded PPM

Definition at line 632 of file core.hpp.


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