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

Set/Retrieve Volume properties (voxel size, bounds, etc.) More...

#include <vc/graph/core.hpp>

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

Public Member Functions

 VolumePropertiesNode ()
 

Public Attributes

smgl::InputPort< Volume::PointervolumeIn
 Input Volume. More...
 
smgl::InputPort< std::size_t > cacheMemory
 Set the maximum size of the cache in bytes. More...
 
smgl::OutputPort< Volume::Boundsbounds
 Get the bounding box. More...
 
smgl::OutputPort< double > voxelSize
 Get the voxel size (in microns) More...
 
smgl::OutputPort< Volume::PointervolumeOut
 Output Volume. More...
 

Private Member Functions

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

Private Attributes

Volume::Pointer volume_ {nullptr}
 
std::size_t cacheMem_ {2'000'000'000}
 

Detailed Description

Set/Retrieve Volume properties (voxel size, bounds, etc.)

Definition at line 125 of file core.hpp.

Constructor & Destructor Documentation

◆ VolumePropertiesNode()

volcart::VolumePropertiesNode::VolumePropertiesNode ( )

Constructor

Member Function Documentation

◆ deserialize_()

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

smgl custom deserialization

◆ serialize_()

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

smgl custom serialization

Member Data Documentation

◆ bounds

smgl::OutputPort<Volume::Bounds> volcart::VolumePropertiesNode::bounds

Get the bounding box.

Definition at line 140 of file core.hpp.

◆ cacheMem_

std::size_t volcart::VolumePropertiesNode::cacheMem_ {2'000'000'000}
private

Volume cache size (in bytes)

Definition at line 131 of file core.hpp.

◆ cacheMemory

smgl::InputPort<std::size_t> volcart::VolumePropertiesNode::cacheMemory

Set the maximum size of the cache in bytes.

Definition at line 137 of file core.hpp.

◆ volume_

Volume::Pointer volcart::VolumePropertiesNode::volume_ {nullptr}
private

Input volume

Definition at line 129 of file core.hpp.

◆ volumeIn

smgl::InputPort<Volume::Pointer> volcart::VolumePropertiesNode::volumeIn

Input Volume.

Definition at line 135 of file core.hpp.

◆ volumeOut

smgl::OutputPort<Volume::Pointer> volcart::VolumePropertiesNode::volumeOut

Output Volume.

Warning
After update, volumeIn and volumeOut are pointers to the same Volume object.

Definition at line 149 of file core.hpp.

◆ voxelSize

smgl::OutputPort<double> volcart::VolumePropertiesNode::voxelSize

Get the voxel size (in microns)

Definition at line 142 of file core.hpp.


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