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

Write a PerPixelMap to disk. More...

#include <vc/graph/core.hpp>

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

Public Member Functions

 WritePPMNode ()
 

Public Attributes

smgl::InputPort< filesystem::path > path
 Output file. More...
 
smgl::InputPort< PerPixelMap::Pointerppm
 Output PerPixelMap. More...
 
smgl::InputPort< bool > cacheArgs
 Include the saved file in the graph cache. 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_ {}
 
PerPixelMap::Pointer ppm_ {}
 
bool cacheArgs_ {false}
 

Detailed Description

Write a PerPixelMap to disk.

See also
PerPixelMap::WritePPM()

Definition at line 662 of file core.hpp.

Constructor & Destructor Documentation

◆ WritePPMNode()

volcart::WritePPMNode::WritePPMNode ( )

Constructor

Member Function Documentation

◆ deserialize_()

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

smgl custom deserialization

◆ serialize_()

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

smgl custom serialization

Member Data Documentation

◆ cacheArgs

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

Include the saved file in the graph cache.

Definition at line 678 of file core.hpp.

◆ cacheArgs_

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

Include the saved file in the graph cache

Definition at line 670 of file core.hpp.

◆ path

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

Output file.

Definition at line 674 of file core.hpp.

◆ path_

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

File path

Definition at line 666 of file core.hpp.

◆ ppm

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

Output PerPixelMap.

Definition at line 676 of file core.hpp.

◆ ppm_

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

PPM

Definition at line 668 of file core.hpp.


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