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

Write a mesh to a file. More...

#include <vc/graph/core.hpp>

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

Public Member Functions

 WriteMeshNode ()
 

Public Attributes

smgl::InputPort< filesystem::path > path
 Output file. More...
 
smgl::InputPort< ITKMesh::Pointer > mesh
 Mesh. More...
 
smgl::InputPort< UVMap::PointeruvMap
 UV map. More...
 
smgl::InputPort< cv::Mat > texture
 Texture image. 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_ {}
 
ITKMesh::Pointer mesh_ {nullptr}
 
UVMap::Pointer uv_ {}
 
cv::Mat texture_ {}
 
bool cacheArgs_ {false}
 

Detailed Description

Write a mesh to a file.

See also
WriteMesh()

Definition at line 294 of file core.hpp.

Constructor & Destructor Documentation

◆ WriteMeshNode()

volcart::WriteMeshNode::WriteMeshNode ( )

Constructor

Member Function Documentation

◆ deserialize_()

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

smgl custom deserialization

◆ serialize_()

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

smgl custom serialization

Member Data Documentation

◆ cacheArgs

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

Include the saved file in the graph cache.

Definition at line 318 of file core.hpp.

◆ cacheArgs_

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

Include the saved file in the graph cache

Definition at line 306 of file core.hpp.

◆ mesh

smgl::InputPort<ITKMesh::Pointer> volcart::WriteMeshNode::mesh

Mesh.

Definition at line 312 of file core.hpp.

◆ mesh_

ITKMesh::Pointer volcart::WriteMeshNode::mesh_ {nullptr}
private

Mesh

Definition at line 300 of file core.hpp.

◆ path

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

Output file.

Definition at line 310 of file core.hpp.

◆ path_

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

File path

Definition at line 298 of file core.hpp.

◆ texture

smgl::InputPort<cv::Mat> volcart::WriteMeshNode::texture

Texture image.

Definition at line 316 of file core.hpp.

◆ texture_

cv::Mat volcart::WriteMeshNode::texture_ {}
private

Texture image

Definition at line 304 of file core.hpp.

◆ uv_

UVMap::Pointer volcart::WriteMeshNode::uv_ {}
private

UV map

Definition at line 302 of file core.hpp.

◆ uvMap

smgl::InputPort<UVMap::Pointer> volcart::WriteMeshNode::uvMap

UV map.

Definition at line 314 of file core.hpp.


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