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

Write image to the specified path. More...

#include <vc/graph/core.hpp>

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

Public Member Functions

 WriteImageNode ()
 

Public Attributes

smgl::InputPort< filesystem::path > path
 Output file. More...
 
smgl::InputPort< cv::Mat > image
 Output image. More...
 
smgl::InputPort< WriteImageOptsoptions
 Image writer options. 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_ {}
 
cv::Mat image_ {}
 
WriteImageOpts opts_
 
bool cacheArgs_ {false}
 

Detailed Description

Write image to the specified path.

See also
WriteImage()

Definition at line 538 of file core.hpp.

Constructor & Destructor Documentation

◆ WriteImageNode()

volcart::WriteImageNode::WriteImageNode ( )

Constructor

Member Function Documentation

◆ deserialize_()

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

smgl custom deserialization

◆ serialize_()

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

smgl custom serialization

Member Data Documentation

◆ cacheArgs

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

Include the saved file in the graph cache.

Definition at line 558 of file core.hpp.

◆ cacheArgs_

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

Include the saved file in the graph cache

Definition at line 548 of file core.hpp.

◆ image

smgl::InputPort<cv::Mat> volcart::WriteImageNode::image

Output image.

Definition at line 554 of file core.hpp.

◆ image_

cv::Mat volcart::WriteImageNode::image_ {}
private

Image

Definition at line 544 of file core.hpp.

◆ options

smgl::InputPort<WriteImageOpts> volcart::WriteImageNode::options

Image writer options.

Definition at line 556 of file core.hpp.

◆ opts_

WriteImageOpts volcart::WriteImageNode::opts_
private

Image writer options

Definition at line 546 of file core.hpp.

◆ path

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

Output file.

Definition at line 552 of file core.hpp.

◆ path_

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

File path

Definition at line 542 of file core.hpp.


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