Blender  V3.3
Typedefs | Variables
Freestyle::Nature Namespace Reference

Typedefs

typedef unsigned short VertexNature
 
typedef unsigned short EdgeNature
 

Variables

static const VertexNature POINT = 0
 
static const VertexNature S_VERTEX = (1 << 0)
 
static const VertexNature VIEW_VERTEX = (1 << 1)
 
static const VertexNature NON_T_VERTEX = (1 << 2)
 
static const VertexNature T_VERTEX = (1 << 3)
 
static const VertexNature CUSP = (1 << 4)
 
static const EdgeNature NO_FEATURE = 0
 
static const EdgeNature SILHOUETTE = (1 << 0)
 
static const EdgeNature BORDER = (1 << 1)
 
static const EdgeNature CREASE = (1 << 2)
 
static const EdgeNature RIDGE = (1 << 3)
 
static const EdgeNature VALLEY = (1 << 4)
 
static const EdgeNature SUGGESTIVE_CONTOUR = (1 << 5)
 
static const EdgeNature MATERIAL_BOUNDARY = (1 << 6)
 
static const EdgeNature EDGE_MARK = (1 << 7)
 

Detailed Description

Namespace gathering the different possible natures of 0D and 1D elements of the ViewMap

Typedef Documentation

◆ EdgeNature

typedef unsigned short Freestyle::Nature::EdgeNature

Definition at line 32 of file Nature.h.

◆ VertexNature

typedef unsigned short Freestyle::Nature::VertexNature

Definition at line 18 of file Nature.h.

Variable Documentation

◆ BORDER

const EdgeNature Freestyle::Nature::BORDER = (1 << 1)
static

◆ CREASE

const EdgeNature Freestyle::Nature::CREASE = (1 << 2)
static

◆ CUSP

const VertexNature Freestyle::Nature::CUSP = (1 << 4)
static

true for CUSP

Definition at line 30 of file Nature.h.

Referenced by Freestyle::ViewMapBuilder::computeCusps().

◆ EDGE_MARK

const EdgeNature Freestyle::Nature::EDGE_MARK = (1 << 7)
static

true for user-defined edge marks

Definition at line 50 of file Nature.h.

Referenced by Freestyle::FEdgeXDetector::ProcessEdgeMarks(), and Freestyle::ChainSilhouetteIterator::traverse().

◆ MATERIAL_BOUNDARY

const EdgeNature Freestyle::Nature::MATERIAL_BOUNDARY = (1 << 6)
static

true for material boundaries

Definition at line 48 of file Nature.h.

Referenced by Freestyle::FEdgeXDetector::ProcessMaterialBoundaryEdge(), and Freestyle::ChainSilhouetteIterator::traverse().

◆ NO_FEATURE

const EdgeNature Freestyle::Nature::NO_FEATURE = 0
static

◆ NON_T_VERTEX

const VertexNature Freestyle::Nature::NON_T_VERTEX = (1 << 2)
static

◆ POINT

const VertexNature Freestyle::Nature::POINT = 0
static

◆ RIDGE

const EdgeNature Freestyle::Nature::RIDGE = (1 << 3)
static

◆ S_VERTEX

const VertexNature Freestyle::Nature::S_VERTEX = (1 << 0)
static

true for SVertex

Definition at line 22 of file Nature.h.

Referenced by Freestyle::SVertex::getNature().

◆ SILHOUETTE

const EdgeNature Freestyle::Nature::SILHOUETTE = (1 << 0)
static

◆ SUGGESTIVE_CONTOUR

const EdgeNature Freestyle::Nature::SUGGESTIVE_CONTOUR = (1 << 5)
static

◆ T_VERTEX

const VertexNature Freestyle::Nature::T_VERTEX = (1 << 3)
static

true for TVertex

Definition at line 28 of file Nature.h.

Referenced by Freestyle::ViewVertexInternal::edge_iterator_base< Traits >::begin(), Freestyle::ViewMapBuilder::ComputeIntersections(), Freestyle::ViewVertexInternal::edge_iterator_base< Traits >::edge_iterator_base(), Freestyle::ViewVertexInternal::edge_iterator_base< Traits >::end(), Freestyle::CurvePoint::fedge(), Freestyle::SVertex::fedge(), Freestyle::SVertex::getFEdge(), Freestyle::ViewVertexInternal::edge_iterator_base< Traits >::increment(), Freestyle::ViewVertexInternal::orientedViewEdgeIterator::increment(), Freestyle::ViewVertexInternal::orientedViewEdgeIterator::isBegin(), Freestyle::ViewVertexInternal::orientedViewEdgeIterator::isEnd(), Freestyle::SVertex::occluded_shape(), Freestyle::SVertex::occludee(), Freestyle::SVertex::occludee_empty(), Freestyle::SVertex::occluders_begin(), Freestyle::SVertex::occluders_empty(), Freestyle::SVertex::occluders_end(), Freestyle::SVertex::occluders_size(), Freestyle::ViewVertexInternal::orientedViewEdgeIterator::operator!=(), Freestyle::ViewVertexInternal::edge_iterator_base< Traits >::operator!=(), Freestyle::ViewVertexInternal::edge_iterator_base< Traits >::operator*(), Freestyle::ViewVertexInternal::orientedViewEdgeIterator::operator*(), Freestyle::ViewVertexInternal::orientedViewEdgeIterator::orientedViewEdgeIterator(), Freestyle::SVertex::qi(), Freestyle::ChainSilhouetteIterator::traverse(), Freestyle::ViewShape::ViewShape(), and Freestyle::SVertex::z_discontinuity().

◆ VALLEY

const EdgeNature Freestyle::Nature::VALLEY = (1 << 4)
static

true for valleys

Definition at line 44 of file Nature.h.

Referenced by Freestyle::FEdgeXDetector::ProcessRidgeFace(), and Freestyle::ChainSilhouetteIterator::traverse().

◆ VIEW_VERTEX

const VertexNature Freestyle::Nature::VIEW_VERTEX = (1 << 1)
static

true for ViewVertex

Definition at line 24 of file Nature.h.

Referenced by Freestyle::ViewVertex::ViewVertex().