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

Load a VolumetricMask from a .vcps file. More...

#include <vc/graph/core.hpp>

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

Public Member Functions

 LoadVolumetricMaskNode ()
 

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< VolumetricMask::PointervolumetricMask
 Loaded VolumetricMask. 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}
 
VolumetricMask::Pointer mask_ {}
 

Detailed Description

Load a VolumetricMask from a .vcps file.

Given file must be of type=int, dim=3.

Definition at line 727 of file core.hpp.

Constructor & Destructor Documentation

◆ LoadVolumetricMaskNode()

volcart::LoadVolumetricMaskNode::LoadVolumetricMaskNode ( )

Constructor

Member Function Documentation

◆ deserialize_()

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

smgl custom deserialization

◆ serialize_()

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

smgl custom serialization

Member Data Documentation

◆ cacheArgs

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

Include the loaded file in the graph cache.

Definition at line 741 of file core.hpp.

◆ cacheArgs_

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

Include the loaded file in the graph cache

Definition at line 733 of file core.hpp.

◆ mask_

VolumetricMask::Pointer volcart::LoadVolumetricMaskNode::mask_ {}
private

Loaded VolumetricMask

Definition at line 735 of file core.hpp.

◆ path

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

Input path.

Definition at line 739 of file core.hpp.

◆ path_

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

Input file

Definition at line 731 of file core.hpp.

◆ volumetricMask

smgl::OutputPort<VolumetricMask::Pointer> volcart::LoadVolumetricMaskNode::volumetricMask

Loaded VolumetricMask.

Definition at line 743 of file core.hpp.


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