Blender V4.3
Freestyle::OGF::NormalCycle Class Reference

#include <normal_cycle.h>

Public Member Functions

void begin ()
 
void end ()
 
void accumulate_dihedral_angle (const Vec3r &edge, real angle, real neigh_area=1.0)
 
const Vec3reigen_vector (int i) const
 
real eigen_value (int i) const
 
const Vec3rN () const
 
const Vec3rKmax () const
 
const Vec3rKmin () const
 
real n () const
 
real kmax () const
 
real kmin () const
 

Detailed Description

NormalCycle evaluates the curvature tensor in function of a set of dihedral angles and associated vectors. Reference: Restricted Delaunay Triangulation and Normal Cycle, D. Cohen-Steiner and J.M. Morvan, SOCG 2003

Definition at line 47 of file normal_cycle.h.

Member Function Documentation

◆ accumulate_dihedral_angle()

void Freestyle::OGF::NormalCycle::accumulate_dihedral_angle ( const Vec3r & edge,
real angle,
real neigh_area = 1.0 )
inline

NOTE: the specified edge vector needs to be pre-clipped by the neighborhood.

Definition at line 109 of file normal_cycle.h.

References beta(), and Freestyle::VecMat::Vec< T, N >::norm().

Referenced by Freestyle::OGF::compute_curvature_tensor(), and Freestyle::OGF::compute_curvature_tensor_one_ring().

◆ begin()

void Freestyle::OGF::NormalCycle::begin ( )

Definition at line 20 of file normal_cycle.cpp.

Referenced by Freestyle::FEdgeXDetector::computeCurvatures().

◆ eigen_value()

real Freestyle::OGF::NormalCycle::eigen_value ( int i) const
inline

Definition at line 61 of file normal_cycle.h.

Referenced by kmax(), kmin(), and n().

◆ eigen_vector()

const Vec3r & Freestyle::OGF::NormalCycle::eigen_vector ( int i) const
inline

Definition at line 56 of file normal_cycle.h.

Referenced by Kmax(), Kmin(), and N().

◆ end()

◆ Kmax()

const Vec3r & Freestyle::OGF::NormalCycle::Kmax ( ) const
inline

Definition at line 71 of file normal_cycle.h.

References eigen_vector().

Referenced by Freestyle::FEdgeXDetector::computeCurvatures().

◆ kmax()

real Freestyle::OGF::NormalCycle::kmax ( ) const
inline

Definition at line 86 of file normal_cycle.h.

References eigen_value().

Referenced by Freestyle::FEdgeXDetector::computeCurvatures().

◆ Kmin()

const Vec3r & Freestyle::OGF::NormalCycle::Kmin ( ) const
inline

Definition at line 76 of file normal_cycle.h.

References eigen_vector().

Referenced by Freestyle::FEdgeXDetector::computeCurvatures().

◆ kmin()

real Freestyle::OGF::NormalCycle::kmin ( ) const
inline

Definition at line 91 of file normal_cycle.h.

References eigen_value().

Referenced by Freestyle::FEdgeXDetector::computeCurvatures().

◆ N()

const Vec3r & Freestyle::OGF::NormalCycle::N ( ) const
inline

Definition at line 66 of file normal_cycle.h.

References eigen_vector().

◆ n()

real Freestyle::OGF::NormalCycle::n ( ) const
inline

Definition at line 81 of file normal_cycle.h.

References eigen_value().


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