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

Orient vertex normals towards a reference point. More...

#include <vc/graph/meshing.hpp>

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

Public Types

using ReferenceMode = OrientNormals::ReferenceMode
 Reference point mode. More...
 

Public Member Functions

 OrientNormalsNode ()
 

Public Attributes

smgl::InputPort< ITKMesh::Pointer > input
 Input mesh. More...
 
smgl::InputPort< ReferenceModereferenceMode
 Set reference point mode. More...
 
smgl::InputPort< cv::Vec3d > referencePoint
 Set manual reference point. More...
 
smgl::OutputPort< ITKMesh::Pointer > output
 Output mesh. More...
 

Private Types

using OrientNormals = meshing::OrientNormals
 

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

OrientNormals orientNormals_ {}
 
ITKMesh::Pointer output_ {nullptr}
 

Detailed Description

Orient vertex normals towards a reference point.

See also
meshing::OrientNormals

Definition at line 273 of file meshing.hpp.

Member Typedef Documentation

◆ OrientNormals

Orient Normals class type

Definition at line 277 of file meshing.hpp.

◆ ReferenceMode

Reference point mode.

Definition at line 285 of file meshing.hpp.

Constructor & Destructor Documentation

◆ OrientNormalsNode()

volcart::OrientNormalsNode::OrientNormalsNode ( )

Constructor

Member Function Documentation

◆ deserialize_()

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

smgl custom deserialization

◆ serialize_()

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

smgl custom serialization

Member Data Documentation

◆ input

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

Input mesh.

Definition at line 288 of file meshing.hpp.

◆ orientNormals_

OrientNormals volcart::OrientNormalsNode::orientNormals_ {}
private

Orient normals compute

Definition at line 279 of file meshing.hpp.

◆ output

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

Output mesh.

Definition at line 294 of file meshing.hpp.

◆ output_

ITKMesh::Pointer volcart::OrientNormalsNode::output_ {nullptr}
private

Output mesh

Definition at line 281 of file meshing.hpp.

◆ referenceMode

smgl::InputPort<ReferenceMode> volcart::OrientNormalsNode::referenceMode

Set reference point mode.

Determines which automatically calculated reference point to use. See ReferenceMode for more details.

Definition at line 290 of file meshing.hpp.

◆ referencePoint

smgl::InputPort<cv::Vec3d> volcart::OrientNormalsNode::referencePoint

Set manual reference point.

If provided, automatically sets the reference mode to ReferenceMode::Manual.

Definition at line 292 of file meshing.hpp.


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