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

Read a mesh from a file. More...

#include <vc/graph/core.hpp>

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

Public Member Functions

 LoadMeshNode ()
 

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< ITKMesh::Pointer > mesh
 Loaded mesh. More...
 
smgl::OutputPort< UVMap::PointeruvMap
 Loaded UV map. More...
 
smgl::OutputPort< cv::Mat > texture
 Loaded texture image. 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}
 
MeshReaderResult loaded_ {}
 

Detailed Description

Read a mesh from a file.

See also
ReadMesh()

Definition at line 252 of file core.hpp.

Constructor & Destructor Documentation

◆ LoadMeshNode()

volcart::LoadMeshNode::LoadMeshNode ( )

Constructor

Member Function Documentation

◆ deserialize_()

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

smgl custom deserialization

◆ serialize_()

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

smgl custom serialization

Member Data Documentation

◆ cacheArgs

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

Include the loaded file in the graph cache.

Definition at line 266 of file core.hpp.

◆ cacheArgs_

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

Include the loaded file in the graph cache

Definition at line 258 of file core.hpp.

◆ loaded_

MeshReaderResult volcart::LoadMeshNode::loaded_ {}
private

Loaded file(s)

Definition at line 260 of file core.hpp.

◆ mesh

smgl::OutputPort<ITKMesh::Pointer> volcart::LoadMeshNode::mesh

Loaded mesh.

Definition at line 268 of file core.hpp.

◆ path

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

Input path.

Definition at line 264 of file core.hpp.

◆ path_

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

File path

Definition at line 256 of file core.hpp.

◆ texture

smgl::OutputPort<cv::Mat> volcart::LoadMeshNode::texture

Loaded texture image.

Definition at line 272 of file core.hpp.

◆ uvMap

smgl::OutputPort<UVMap::Pointer> volcart::LoadMeshNode::uvMap

Loaded UV map.

Definition at line 270 of file core.hpp.


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