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

Scale an ITKMesh by a linear scale factor. More...

#include <vc/graph/meshing.hpp>

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

Public Member Functions

 ScaleMeshNode ()
 

Public Attributes

smgl::InputPort< ITKMesh::Pointer > input
 Input mesh. More...
 
smgl::InputPort< double > scaleFactor
 Linear scale factor. More...
 
smgl::OutputPort< ITKMesh::Pointer > output
 Scaled output mesh. More...
 

Private Member Functions

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

Private Attributes

ITKMesh::Pointer input_
 
double scaleFactor_ {1}
 
ITKMesh::Pointer output_
 

Detailed Description

Scale an ITKMesh by a linear scale factor.

Uniform scaling of an ITKMesh by a linear scale factor (not an area scale factor). Initializes a new ITKMesh.

See also
meshing::ScaleMesh(const ITKMesh::Pointer&, double)

Definition at line 63 of file meshing.hpp.

Constructor & Destructor Documentation

◆ ScaleMeshNode()

volcart::ScaleMeshNode::ScaleMeshNode ( )

Constructor

Member Function Documentation

◆ deserialize_()

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

smgl custom deserialization

◆ serialize_()

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

smgl custom serialization

Member Data Documentation

◆ input

smgl::InputPort<ITKMesh::Pointer> volcart::ScaleMeshNode::input

Input mesh.

Definition at line 75 of file meshing.hpp.

◆ input_

ITKMesh::Pointer volcart::ScaleMeshNode::input_
private

Input mesh

Definition at line 67 of file meshing.hpp.

◆ output

smgl::OutputPort<ITKMesh::Pointer> volcart::ScaleMeshNode::output

Scaled output mesh.

Definition at line 79 of file meshing.hpp.

◆ output_

ITKMesh::Pointer volcart::ScaleMeshNode::output_
private

Output mesh

Definition at line 71 of file meshing.hpp.

◆ scaleFactor

smgl::InputPort<double> volcart::ScaleMeshNode::scaleFactor

Linear scale factor.

Definition at line 77 of file meshing.hpp.

◆ scaleFactor_

double volcart::ScaleMeshNode::scaleFactor_ {1}
private

Linear scale factor

Definition at line 69 of file meshing.hpp.


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